• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux Missing old libraries

seleo

Active Member
Joined
Jun 6, 2012
Messages
498
Reaction score
33
Location
Egypt
Hiho
I have a problem when i try to start TFS 0.4 in Ubuntu 13.4 because of missing old boost libraries

here is the error
Code:
./theforgottenserver: error while loading shared libraries: libboost_filesystem.so.1.46.1: cannot open shared object file: No such file or directory

i tried to install the boost libraries manually but i failed and when i was trying to install 1.46.1 using apt-get install i failed also to add the missing libraries
anyone have idea about how to fix that ?
 
I was able to install the boost 1.46.1 manually but the problem is even after i installed it the engine keep giving me the error
even while i have the correct boost filesystem installed
can someone tell me please how i can link it or where exactly i added the boost files
im using
Code:
Linux vmi23301.contabo.net 3.8.0-35-generic #50-Ubuntu SMP Tue Dec 3 01:24:59 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
 
Code:
apt-get install subversion autoconf build-essential pkg-config libboost-dev libgmp3-dev libxml2-dev liblua5.1-0-dev libmysqlclient-dev ccache libboost-filesystem-dev libboost-regex-dev libboost-system-dev libboost-thread-dev screen libssl-dev libcrypto++-dev
Code:
chmod -R 777 autogen.sh
chmod -R 777 build.sh
./autogen.sh
./configure --enable-mysql --enable-root-permission --enable-server-diag && ./build.sh
 
Code:
apt-get install subversion autoconf build-essential pkg-config libboost-dev libgmp3-dev libxml2-dev liblua5.1-0-dev libmysqlclient-dev ccache libboost-filesystem-dev libboost-regex-dev libboost-system-dev libboost-thread-dev screen libssl-dev libcrypto++-dev
Code:
chmod -R 777 autogen.sh
chmod -R 777 build.sh
./autogen.sh
./configure --enable-mysql --enable-root-permission --enable-server-diag && ./build.sh

boost thread error :(
Code:
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__    -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT actions.o -MD -MP -MF .deps/actions.Tpo -c -o actions.o actions.cpp
In file included from /usr/local/include/boost/thread/detail/platform.hpp:17:0,
                from /usr/local/include/boost/thread/thread.hpp:12,
                from /usr/local/include/boost/thread.hpp:13,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/config/requires_threads.hpp:29:4: error: #error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
In file included from /usr/local/include/boost/thread/thread.hpp:12:0,
                from /usr/local/include/boost/thread.hpp:13,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no boost threads are available for this platform."
In file included from /usr/local/include/boost/thread.hpp:13:0,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/thread.hpp:19:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread/detail/thread.hpp:13:0,
                from /usr/local/include/boost/thread/thread.hpp:22,
                from /usr/local/include/boost/thread.hpp:13,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread/detail/thread.hpp:15:0,
                from /usr/local/include/boost/thread/thread.hpp:22,
                from /usr/local/include/boost/thread.hpp:13,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/detail/thread_heap_alloc.hpp:19:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread/detail/thread_group.hpp:9:0,
                from /usr/local/include/boost/thread/thread.hpp:24,
                from /usr/local/include/boost/thread.hpp:13,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/shared_mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread.hpp:14:0,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/condition_variable.hpp:18:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread.hpp:17:0,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/once.hpp:18:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread.hpp:18:0,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/recursive_mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread/detail/thread.hpp:14:0,
                from /usr/local/include/boost/thread/thread.hpp:22,
                from /usr/local/include/boost/thread.hpp:13,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
/usr/local/include/boost/thread/xtime.hpp:23:5: error: expected ق}ق before numeric constant
/usr/local/include/boost/thread/xtime.hpp:23:5: error: expected unqualified-id before numeric constant
/usr/local/include/boost/thread/xtime.hpp:46:14: error: expected type-specifier before قsystem_timeق
In file included from /usr/local/include/boost/thread/detail/thread.hpp:14:0,
                from /usr/local/include/boost/thread/thread.hpp:22,
                from /usr/local/include/boost/thread.hpp:13,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/xtime.hpp: In function قint xtime_get(xtime*, int)ق:
/usr/local/include/boost/thread/xtime.hpp:73:40: error: قget_system_timeق was not declared in this scope
/usr/local/include/boost/thread/xtime.hpp:73:40: note: suggested alternative:
In file included from /usr/local/include/boost/thread/xtime.hpp:14:0,
                from /usr/local/include/boost/thread/detail/thread.hpp:14,
                from /usr/local/include/boost/thread/thread.hpp:22,
                from /usr/local/include/boost/thread.hpp:13,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/thread_time.hpp:19:24: note:  قboost::get_system_timeق
In file included from /usr/local/include/boost/thread/detail/thread.hpp:14:0,
                from /usr/local/include/boost/thread/thread.hpp:22,
                from /usr/local/include/boost/thread.hpp:13,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/xtime.hpp: At global scope:
/usr/local/include/boost/thread/xtime.hpp:88:1: error: expected declaration before ق}ق token
make[1]: *** [actions.o] Error 1
make[1]: Leaving directory `/var/12'
make: *** [all] Error 2
the same as before :(
 
Back
Top