Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with protobuf at start stratum under asterfusion switch #1102

Open
aosorih opened this issue Oct 19, 2023 · 1 comment
Open

Problem with protobuf at start stratum under asterfusion switch #1102

aosorih opened this issue Oct 19, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@aosorih
Copy link

aosorih commented Oct 19, 2023

Hi everyone

I build stratum using "Method 3: Pre-build the SDE, then build Stratum locally" over an asterfusion switch X532P-T-S 4.14.151-OpenNetworkLinux, the compilation works fine but at the moment of the start stratum i got the next error:

"[libprotobuf FATAL external/com_google_protobuf/src/google/protobuf/stubs/common.cc:87] This program was compiled against version 3.6.1 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.15.8)"

My current version of protobuf-cpp is: 3.6.1, but also i upgrade to protobuf-cpp_3.15.8 but don't work.

Could someone help me find the solution?

bazel version: Build label: 4.2.3

Switch:
cat /etc/onl/platform: x86-64-asterfusion-x532p-r0
uname -a: Linux asterfusion 4.14.151-OpenNetworkLinux #1 SMP Mon Mar 13 06:02:25 UTC 2023 x86_64 GNU/Linux
lsmod:
Module Size Used by
bf_kdrv 28672 0
cgosdrv 28672 0
pmbus 16384 0
pmbus_core 28672 1 pmbus
x86_pkg_temp_thermal 16384 0

I attach the installation log.

Thank you
[stratum_install.txt](https://github.com/stratum/stratum/files/13046015/stratum_install.txt)


@aosorih aosorih added the bug Something isn't working label Oct 19, 2023
@pudelkoM
Copy link
Member

The protobuf libs should be complied and linked in statically. The locally installed one might interfere here. Can you:

  • run ldd on the stratum binary
  • uninstall all protobuf shared libs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants