.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > IvPBot
IvPBot Another PODBot's evil descendance by KaCaT Counter-Strike

Reply
 
Thread Tools
ivpbot using i386 file on linux ded. server?
Old
  (#1)
Percival
Guest
 
Status:
Posts: n/a
Default ivpbot using i386 file on linux ded. server? - 25-02-2004

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?
  
Reply With Quote
Re: ivpbot using i386 file on linux ded. server?
Old
  (#2)
KaCaT
Moderator
 
Status: Offline
Posts: 55
Join Date: Dec 2003
Default Re: ivpbot using i386 file on linux ded. server? - 27-02-2004

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.


IvPBot - Improved version of Podbot

Last edited by KaCaT; 27-02-2004 at 07:11..
  
Reply With Quote
Re: ivpbot using i386 file on linux ded. server?
Old
  (#3)
Percival
Guest
 
Status:
Posts: n/a
Default Re: ivpbot using i386 file on linux ded. server? - 27-02-2004

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.
  
Reply With Quote
Re: ivpbot using i386 file on linux ded. server?
Old
  (#4)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: ivpbot using i386 file on linux ded. server? - 27-02-2004

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.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: ivpbot using i386 file on linux ded. server?
Old
  (#5)
telston
Guest
 
Status:
Posts: n/a
Default Re: ivpbot using i386 file on linux ded. server? - 27-02-2004

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!
  
Reply With Quote
Re: ivpbot using i386 file on linux ded. server?
Old
  (#6)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: ivpbot using i386 file on linux ded. server? - 27-02-2004

hmmm, it rather looks like a missing library on your system then.

What does "ldd ivpbot_i386.so" say ?



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: ivpbot using i386 file on linux ded. server?
Old
  (#7)
telston
Guest
 
Status:
Posts: n/a
Default Re: ivpbot using i386 file on linux ded. server? - 27-02-2004

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!
  
Reply With Quote
Re: ivpbot using i386 file on linux ded. server?
Old
  (#8)
Percival
Guest
 
Status:
Posts: n/a
Default Re: ivpbot using i386 file on linux ded. server? - 27-02-2004

Yes!
That did it

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
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.
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com