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

Cannot find -lprotobuf-lite #30

Open
ghost opened this issue Jan 15, 2021 · 1 comment
Open

Cannot find -lprotobuf-lite #30

ghost opened this issue Jan 15, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 15, 2021

clang++ -fPIC -std=c++11 -m32 -DNDEBUG -DEMU_RELEASE_BUILD -Ofast -c -o dll/steam_matchmaking_servers.o dll/steam_matchmaking_servers.cpp
126 warnings generated.
clang++ -fPIC -std=c++11 -m32 -DNDEBUG -DEMU_RELEASE_BUILD -Ofast -c -o dll/net.pb.o dll/net.pb.cc
127 warnings generated.
clang++ -fPIC -std=c++11 -m32 -DNDEBUG -DEMU_RELEASE_BUILD -Ofast -o libsteam_api.so dll/network.o dll/steam_video.o dll/steam_musicremote.o dll/steam_parental.o dll/steam_gameserverstats.o dll/steam_http.o dll/base.o dll/settings.o dll/item_db_loader.o dll/steam_music.o dll/steam_apps.o dll/steam_applist.o dll/dll.o dll/steam_screenshots.o dll/steam_client.o dll/settings_parser.o dll/local_storage.o dll/flat.o dll/steam_gameserver.o dll/steam_matchmaking_servers.o dll/net.pb.o -shared -lprotobuf-lite -Wl,--no-undefined -m32 -lpthread
/usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libprotobuf-lite.so when searching for -lprotobuf-lite
/usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libprotobuf-lite.a when searching for -lprotobuf-lite
/usr/bin/ld: cannot find -lprotobuf-lite
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:47: libsteam_api.so] Error 1
+./install:8> exit 2
+./install_copy:11> exit 2

What is this?
I've installed these libs below, but still cant find that.

libprotobuf-c1/stable,now 1.3.1-1+b1 amd64 [installed,automatic]
libprotobuf-dev/stable,now 3.6.1.3-2 amd64 [installed]
libprotobuf-lite17/stable,now 3.6.1.3-2 amd64 [installed,automatic]
libprotobuf17/stable,now 3.6.1.3-2 amd64 [installed,automatic]
protobuf-compiler/stable,now 3.6.1.3-2 amd64 [installed]

I'm using this on Debian 10.

@mysoundmagic
Copy link

hi, we had same issue
I've tried the solution from this closed bug

make sure you already installed libprotobuf-dev protobuf-compiler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant