• 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!

[OTCLIENT] Error on compile linux

lubunttu

New Member
Joined
May 17, 2016
Messages
107
Reaction score
2
I've used this commands
Code:
sudo apt-get install build-essential cmake git-core

Code:
sudo apt-get install libboost-all-dev libphysfs-dev libssl-dev liblua5.1-0-dev

Code:
sudo apt-get install libglew1.6-dev libvorbis-dev libopenal-dev libz-dev

Code:
git clone git://github.com/edubart/otclient.git

Code:
cd otclient

Code:
mkdir build && cd build
cmake ..
make
./otclient

And on last...

Error:
Code:
[100%] Building CXX object CMakeFiles/otclient.dir/src/main.cpp.o
Linking CXX executable otclient
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libphysfs.a: error adding symbols: Aquivo não possui índice; execute ranlib para adicionar um
collect2: error: ld returned 1 exit status
CMakeFiles/otclient.dir/build.make:3702: recipe for target 'otclient' failed
make[2]: *** [otclient] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/otclient.dir/all' failed
make[1]: *** [CMakeFiles/otclient.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
root@lubunttu-DC8CU41:/home/lbunttu/otclient/build#

same problem: http://askubuntu.com/questions/770061/error-when-try-compile-otclient-on-lubuntu
 
I've used this commands
Code:
sudo apt-get install build-essential cmake git-core

Code:
sudo apt-get install libboost-all-dev libphysfs-dev libssl-dev liblua5.1-0-dev

Code:
sudo apt-get install libglew1.6-dev libvorbis-dev libopenal-dev libz-dev

Code:
git clone git://github.com/edubart/otclient.git

Code:
cd otclient

Code:
mkdir build && cd build
cmake ..
make
./otclient

And on last...

Error:
Code:
[100%] Building CXX object CMakeFiles/otclient.dir/src/main.cpp.o
Linking CXX executable otclient
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libphysfs.a: error adding symbols: Aquivo não possui índice; execute ranlib para adicionar um
collect2: error: ld returned 1 exit status
CMakeFiles/otclient.dir/build.make:3702: recipe for target 'otclient' failed
make[2]: *** [otclient] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/otclient.dir/all' failed
make[1]: *** [CMakeFiles/otclient.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
root@lubunttu-DC8CU41:/home/lbunttu/otclient/build#

same problem: http://askubuntu.com/questions/770061/error-when-try-compile-otclient-on-lubuntu

I had something like this a while back.
https://otland.net/threads/otclient-compile.242669/#post-2351630
 
Back
Top