Hi,
I'm trying to compile
https://github.com/komashchenko/PTaH with AMBuild2. Works quite well on Windows and also compiles flawlessly on Linux.
Sadly, when trying to load, I get the following error:
Code:
[08] <FAILED> file "PTaH.ext.2.csgo.so": ......./addons/sourcemod_test/extensions/PTaH.ext.2.csgo.so: undefined symbol: Warning
The reason seems to be that libtier0 and libvstdlib does not get linked.
ldd output of the original binary from original author:
Code:
linux-gate.so.1 (0xedb43000)
libvstdlib.so => not found
libtier0.so => not found
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xed84a000)
libm.so.6 => /lib32/libm.so.6 (0xed804000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xed7e7000)
libc.so.6 => /lib32/libc.so.6 (0xed639000)
/lib/ld-linux.so.2 (0xedb44000)
ldd output of my build:
Code:
linux-gate.so.1 (0xf10f5000)
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf0fce000)
libc.so.6 => /lib32/libc.so.6 (0xf0e21000)
libm.so.6 => /lib32/libm.so.6 (0xf0ddb000)
/lib/ld-linux.so.2 (0xf10f6000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf0dbe000)
Can somebody tell me what is wrong? I used the original AMBuild script out of the repository. I literally changed nothing.
Thank you!