Anothai
:3
[read -llua5.1 -lboost_thread -lgmp -lmysqlclient -lboost_regex -lsqlite3 -llua5.1-sql-mysql -llua5.1-sql-sqlite -ldl -lboost_system
/usr/bin/ld: cannot find -lboost_system
collect2: ld returned 1 exit status
make: *** [theforgottenserver] Error 1]
Ok I just figured out! :]
Make sure that you are Root
1) Download those and extrack it anywhere in your desktop or somewhere....
http://downloads.sourceforge.net/asio/boost_asio_0_3_8.tar.gz
http://downloads.sourceforge.net/boost/boost_1_34_1.tar.gz
2) write this code below in terminal
3) Now try to compile your server again and it SHOULD work :]] :wub::wub:
/usr/bin/ld: cannot find -lboost_system
collect2: ld returned 1 exit status
make: *** [theforgottenserver] Error 1]
Ok I just figured out! :]
Make sure that you are Root
1) Download those and extrack it anywhere in your desktop or somewhere....
http://downloads.sourceforge.net/asio/boost_asio_0_3_8.tar.gz
http://downloads.sourceforge.net/boost/boost_1_34_1.tar.gz
2) write this code below in terminal
Code:
cp boost_asio_0_3_8/boost /usr/local/include -r
Code:
cp boost_asio_0_3_8/libs boost_1_34_1 -r
Code:
cd boost_1_34_1/libs/system/src/
Code:
g++ -shared -Wl,-soname,libboost_system.so.1 -o libboost_system.so.1.0.1 error_code.cpp -lc -fPIC
Code:
cp libboost_system.so.1.0.1 /usr/local/lib
Code:
ln -s /usr/local/lib/libboost_system.so.1.0.1 /usr/local/lib/libboost_system.so
Code:
ldconfig
3) Now try to compile your server again and it SHOULD work :]] :wub::wub:
Last edited: