Open yehia opened 4 years ago
Have you tried to compile with 64 bits Ubuntu? I did and I had the same message.
Same error here, I'm using Mint 19, which is based on Ubuntu.
I find a solution at https://github.com/edubart/otclient/pull/987
sudo apt-get install libncurses5-dev sudo apt-get install mercurial hg clone -r stable-3.0 http://hg.icculus.org/icculus/physfs/ cd physfs sudo mkdir build cd build sudo cmake .. sudo make sudo make install sudo mv /usr/local/lib/libphysfs.a /usr/lib/x86_64-linux-gnu/.
Hello, i have this error in ubuntu 18.04...
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libogg.a(framing.o): relocalização R_X86_64_32S contra ".rodata" não pode ser usada ao fazer um objecto PIE; recompilar com -fPIC /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libogg.a(bitwise.o): relocalização R_X86_64_32S contra ".rodata" não pode ser usada ao fazer um objecto PIE; recompilar com -fPIC /usr/bin/ld: vinculação final falhou: Seção não representável na saída collect2: error: ld returned 1 exit status CMakeFiles/otclient.dir/build.make:3857: recipe for target 'otclient' failed make[2]: *** [otclient] Error 1 CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/otclient.dir/all' failed make[1]: *** [CMakeFiles/otclient.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2