After upgrading Ubuntu to 11.10 I wasn't able to run Arma. In xterm it was crying lack of libprotobuf.so.5 so I linked .7 and this is what I get now:
szopin@????????:/usr/lib$ sudo ln -s libprotobuf.so.7 libprotobuf.so.5
szopin@????????:/usr/lib$ armagetronad
libprotobuf FATAL google/protobuf/stubs/common.cc:72] This program was compiled against version 2.2.0 of the Protocol Buffer runtime library, which is not compatible with the installed version (2.4.0). Contact the program author for an update. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "gAIBase.pb.cc".)
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): This program was compiled against version 2.2.0 of the Protocol Buffer runtime library, which is not compatible with the installed version (2.4.0). Contact the program author for an update. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "gAIBase.pb.cc".)
Aborted
Is anyone else having problem with running this with newer libprotobuf???
EDIT: finally checked out svn and after successful compile:
szopin@?????????:~/dev/armagetronad/armagetronad/trunk/armagetronad/src$ ./armagetronad_main
Internal Error: Internal error in static tLanguage* tLanguage::FindStrict(const tString&) in tools/tLocale.cpp:177 :
Language British English not found.
Please send a Bug report!
I think I somehow got around it when compiling on my phone, so should find a way, but if anyone knows a quickie around it please share, going to sleep for now.
Ubuntu 11.10 and libprotobuf problem
Re: Ubuntu 11.10 and libprotobuf problem
That is not supposed to work. Different .so versions are different because they are incompatible with each other. Never ever do that if you want a stable system.szopin wrote:szopin@????????:/usr/lib$ sudo ln -s libprotobuf.so.7 libprotobuf.so.5
Again, not supposed to work that way. Use 'make run' from the main build directory one level up or 'make install'.szopin wrote:szopin@?????????:~/dev/armagetronad/armagetronad/trunk/armagetronad/src$ ./armagetronad_main
Re: Ubuntu 11.10 and libprotobuf problem
Removed it afterwards, though you would be amazed how often symlinking like that works (especially on maemo, where you're stuck with certain version of libglib/libstdc++/etc..., as Nokia won't release the code to binary blobs).
Thanks, make run made it work (though had ro remove doc directory as it is trying to link ./doc from src subdirectory).
Thanks, make run made it work (though had ro remove doc directory as it is trying to link ./doc from src subdirectory).