![]() |
ivpbot using i386 file on linux ded. server?
hi,
I need some help with my linux server. I am running RH 9 with the latest version of steam. When i try to install ivpbot on my dedicated server and try to run it, i get the following error: LoadLibrary failed on ./cstrike/ivpbot/ivpbot_i386.so: ./cstrike/ivpbot/ivpbot_i386.so: cannot open shared object file: No such file or directory Host_Error: Couldn't get DLL API from ./cstrike/ivpbot/ivpbot_i386.so! FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from ./cstrike/ivpbot/ivpbot_i386.so! If i check my liblist.gam it says game "Counter-Strike" url_info "www.counter-strike.net" url_dl "" version "1.6" size "184000000" svonly "0" secure "1" type "multiplayer_only" cldll "1" hlversion "1111" nomodels "1" nohimodel "1" mpentity "info_player_start" gamedll "dlls\mp.dll" gamedll_linux "ivpbot/ivpbot_i486.so" trainmap "tr_1" So why does he try to open ivpbot_i386.so? a file i don'y have? I had metamod and adminmod installed but i disabled it to see if i could get ivpbot to work. No such luck :( Can somebody help me out here? |
Re: ivpbot using i386 file on linux ded. server?
What's your CS and HLDS version? I've saw someone reported this on HPB bot forum before botman closed it but I forgot if there is a solution. You can try this: copy ivpbot_i486.dll to ivpbot_i386.dll in your ivpbot folder and see if it works.
|
Re: ivpbot using i386 file on linux ded. server?
Thnx, i'll try that.
I'm not sure which version of hlds i have but it's not more then a month old (and i keep autoupdating), cs version is 1.6. I'll try the copy tip and i'll let you know if it worked. |
Re: ivpbot using i386 file on linux ded. server?
Nope, it's the way Linux works, and the way the kernel and the shared object dynamic linker are configured. A stock kernel (one compiled to run on all architectures) will run on a 386 ; the system's linker then adapts its behaviour to this. No matter your DLL is optimized for 486 or 586 (or PII or PIII or Athlon or whatever), the linker will want a file called library_name_i386.so (unless explicitly told otherwise, but it's a complicated setup).
So just rename your library to ivpbot_i386.so (or make a symlink with that name) and here you go. All your CPU optimizations will still work, only the linker will find the file it wants. |
Re: ivpbot using i386 file on linux ded. server?
I tried creating a symbolic link named ivpbot_i386.so a link named ivpbot_i386.so and copying the file to ivpbot_i386.so
I've tried loading ivpbot using the liblist.gam file that comes with the ivpbot 1.1.1 installation. I've tried loading it using config.ini with metamod (gamedll ivpbot/ivpbot_i386.dll). I've also tried using it by specifying -dll ivpbot/ivpbot_i386.so in the command line. I've specified the path both relatively (ivpbot/ivpbot_i386.so) and absolutely (/home/hlds_l/cstrike/ivpbot/ivpbot_i386.so). I've also tried replacing the ivpbot .so file from 1.1.1 with the latest wip .so. I always get the following result. I'm running Redhat 9, and the latest Steam release for cstrike (hlds_l). What am I doing wrong, please help! LoadLibrary failed on ./cstrike/ivpbot/ivpbot_i386.so: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory Host_Error: Couldn't get DLL API from ./cstrike/ivpbot/ivpbot_i386.so! FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from ./cstrike/ivpbot/ivpbot_i386.so! |
Re: ivpbot using i386 file on linux ded. server?
hmmm, it rather looks like a missing library on your system then.
What does "ldd ivpbot_i386.so" say ? |
Re: ivpbot using i386 file on linux ded. server?
Good call!
[root@cs2 ivpbot]# ldd ivpbot_i386.so libdl.so.2 => /lib/libdl.so.2 (0x400d5000) libstdc++-libc6.2-2.so.3 => not found libm.so.6 => /lib/libm.so.6 (0x400d8000) libc.so.6 => /lib/libc.so.6 (0x400f9000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) [root@cs2 ivpbot]# Apparently I'm missing the library on the second line (libstdc++....)? I've already installed Realbots WIP #9 while I was waiting for help on this one. Realbots seems to work really well, so I'll probably stick with it for now, but if I do install IVPBot any time soon I'll post whether or not the above worked. Thanks! |
Re: ivpbot using i386 file on linux ded. server?
Yes!
That did it :D I copied the ivpbot_i486.so to ivpbot_i386.so (couldn't remember the copy command for a symbolic link sorry). And after that i got the same error as Telston. I was missing the same library, Probably something RH9 doesn't install with the options i choose (server install). After looking for the right RPM i found this one compat-libstdc++-7.3-2.96.118.i386.rpm (was included on my cd but here's the link for people who don't have it). After installing that the library was there. I tried to start the server after that and it worked :P I even got it running with metamod/adminmod now. Thanks a lot, now we can finally practice on some bots. Thanks again for the solution and the excellent program. |
All times are GMT +2. The time now is 15:00. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.