Cannot find -lprotobuf-lite
opened this issue · comments
Deleted user commented
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.
cupang_salto commented
hi, we had same issue
I've tried the solution from this closed bug
make sure you already installed libprotobuf-dev protobuf-compiler