FrictionalGames / AmnesiaTheDarkDescent

GNU General Public License v3.0
3.49k stars 366 forks source link

Unable to build due to libvorbisfile.so: file format not recognized #13

Open MikeAc77 opened 3 years ago

MikeAc77 commented 3 years ago

Hello, first of all thank you for releasing this source code. I have this issue /usr/bin/ld:/builddir/HPL2/dependencies/lib/linux/lib/libvorbisfile.so: file format not recognized; treating as linker script /usr/bin/ld:/builddir/HPL2/dependencies/lib/linux/lib/libvorbisfile.so:1: syntax error collect2: ld returned 1 exit status make[2]: [MapViewer.bin.x86] Error 1 make[1]: [core2/tools/CMakeFiles/MapViewer.dir/all] Error 2 make: *** [all] Error 2 I think a linker issue

Mudbill commented 3 years ago

The symlinks for those libraries are broken. You must delete it and recreate it.

ln -s libvorbisfile.so libvorbisfile.so.3.3.5

The same must be done with the other libraries.

MikeAc77 commented 3 years ago

it seems it worked but synchronization breaks symlinks

superRaptor911 commented 3 years ago

How to fix it?