-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, Jul 12, 2003 at 09:48:03AM -0400, Michael Fisher wrote: > I am compiling the Ricochet dll with minor changes. I first compiled on > Windows, tested > it and then prepared to port it over to Linux. After compiling the ricochet > dll and putting it on my own linux server, it worked fine. Next, I put it on > a friend's hosted server running on a machine with SuSE 7.3. Upon game > startup he received the following error message: > > L 07/07/2003 - 09:05:37: [META] ERROR: dll: Couldn't load game DLL > /home/hlserv2/hlds_l/ricochet/dlls/ricochet_i386.so: /lib/libc.so.6: > version `GLIBC_2.3' not found > (required by /home/hlserv2/hlds_l/ricochet/dlls/ricochet_i386.so) > L 07/07/2003 - 09:05:37: [META] ERROR: Failure to load game DLL; exiting... >
Your .so is linked against glibc 2.3 and the server has an older version. You need to find what in the code is being linked against 2.3 and remove it. You can do this as follows(here is how I fixed it): This will tell you what symbols are using glibc 2.3: [EMAIL PROTECTED]:~/dpbcode/dlls$ objdump -T pb_i686.so |grep '2\.3' 00000000 DF *UND* 00000069 GLIBC_2.3 __ctype_toupper_loc 00000000 DF *UND* 00000069 GLIBC_2.3 __ctype_b_loc Now find out which object files are using this symbol: [EMAIL PROTECTED]:~/dpbcode/dlls$ grep __ctype_ *.o Binary file pm_shared.o matches At the top of pm_shared.c there is a #include<ctype.h>. This header is apparently unneccesary, and removing it(or putting it in #ifdef _WIN32 since I haven't checked if it's required for windows) will remove the references to the ctype stuff. Do this for every reference to 2.3 you found in the first command(this is the only one I had), and then it will run properly on 2.2 systems. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/EaPFflGtzWCyItURAmfCAKC2H6wnSWf2FCO7jDLP9GygvZK+TACeOdYC 3V9rEZTJztNv25QRTR5Iels= =DcPm -----END PGP SIGNATURE----- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

