• 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] Compiling Issues - libvorbis

Otfan125

Well-Known Member
Joined
Mar 1, 2008
Messages
169
Solutions
1
Reaction score
55
Location
Thais
sigh
I did not want to make this thread because I've been trying really hard to look for the solution, but this is the first time I've encountered this error and, since I'm in a brand new computer, not sure what the problem is.

I'm running Ubuntu 20.4, newest version.
I get this error when I try to compile OTClient following every step from:


Bash:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libvorbis.a(psy.o): in function `setup_tone_curves':
(.text+0x11e2): undefined reference to `__log_finite'
/usr/bin/ld: (.text+0x122e): undefined reference to `__log_finite'
/usr/bin/ld: (.text+0x1406): undefined reference to `__exp_finite'
/usr/bin/ld: (.text+0x1434): undefined reference to `__exp_finite'
/usr/bin/ld: (.text+0x15c7): undefined reference to `__exp_finite'
/usr/bin/ld: (.text+0x15f5): undefined reference to `__exp_finite'
/usr/bin/ld: (.text+0x1744): undefined reference to `__exp_finite'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libvorbis.a(psy.o):(.text+0x1870): more undefined references to `__exp_finite' follow
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libvorbis.a(psy.o): in function `_vp_psy_init':
(.text+0x1dee): undefined reference to `__log_finite'
/usr/bin/ld: (.text+0x1ea5): undefined reference to `__log_finite'
/usr/bin/ld: (.text+0x1f1e): undefined reference to `__log_finite'
/usr/bin/ld: (.text+0x2048): undefined reference to `__exp_finite'
/usr/bin/ld: (.text+0x24a3): undefined reference to `__log_finite'
/usr/bin/ld: (.text+0x2577): undefined reference to `__log_finite'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libvorbis.a(sharedbook.o): in function `_float32_pack':
(.text+0xd6): undefined reference to `__log_finite'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libvorbis.a(sharedbook.o): in function `_book_maptype1_quantvals':
(.text+0x444): undefined reference to `__pow_finite'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libvorbis.a(mdct.o): in function `mdct_init':
(.text+0xd01): undefined reference to `__log_finite'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libvorbis.a(lsp.o): in function `vorbis_lsp_to_curve':
(.text+0x5ff): undefined reference to `__exp_finite'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libvorbis.a(lsp.o): in function `vorbis_lpc_to_lsp':
(.text+0xa48): undefined reference to `__acosf_finite'
/usr/bin/ld: (.text+0xa78): undefined reference to `__acosf_finite'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/otclient.dir/build.make:2260: otclient] Error 1
make[1]: *** [CMakeFiles/Makefile2:104: CMakeFiles/otclient.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

I have googled so much and found a few threads here in otland, though none have worked for me... thank you
Post automatically merged:

I should add that this occurs after compiling reaches 100%
Post automatically merged:

Nevermind, fixed it... follow this tutorial

pm me if you have problems, I can help you out
 
Last edited:
Back
Top