i have the infamous "unable to load" problem. after searching the forums, it seems the problem disappears once `ldd -d serverplugin_empty_i486.so` properly sees tier0_i486.so and vstdlib_i486.so. well, aside from this warning upon compiling:
Quote:
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
|
i get no other error messages.
Quote:
cyko@xxx ~/plugins/serverplugin_sample $ ldd -d serverplugin_empty_i486.so
linux-gate.so.1 => (0xffffe000)
libm.so.6 => /lib/libm.so.6 (0xb7edb000)
libdl.so.2 => /lib/libdl.so.2 (0xb7ed7000)
tier0_i486.so => ./tier0_i486.so (0xb7ea9000)
vstdlib_i486.so => ./vstdlib_i486.so (0xb7e94000)
libc.so.6 => /lib/libc.so.6 (0xb7d7f000)
/lib/ld-linux.so.2 (0x80000000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7d2c000)
undefined symbol: _Z12MathLib_Initfffibbbb (./serverplugin_empty_i486.so)
undefined symbol: _Z10Bot_RunAllv (./serverplugin_empty_i486.so)
|
as you can see, it does see tier0/vstdlib_i486.so fine but yet it complains about these undefined symbols. i grep'd through the sdk folder to find where the header MathLib_Init was defined at (which was mathlib.h) and added that to the serverplugin_empty.cpp and that didn't make a bit of difference. i get the same ldd output.
any suggestions on what else to try?