.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   E[POD]bot (http://forums.bots-united.com/forumdisplay.php?f=12)
-   -   32-bit EPB breaks on 64-bit Linux (http://forums.bots-united.com/showthread.php?t=6756)

Phorce_Phed 27-04-2008 01:38

32-bit EPB breaks on 64-bit Linux
 
Quote:

[META] ERROR: dll: Failed query plugin '<EPB_i386.so>'; Couldn't open file '/usr/local/games/hlds/hlds_l/cstrike/EPODbot/EPB_i386.so': libstdc++.so.5: cannot open shared object file: No such file or directory
I have libstdc++.so.5 installed however it is (of course) 64-bit. I tried switching the library out for a 32-bit compile but got the same error.

How do I fix this? The 32-bit HLDS, Metamod, AMXX and everything else seem to work fine.

The Storm 27-04-2008 14:11

Re: 32-bit EPB breaks on 64-bit Linux
 
Put the 32 bit version of libstdc++.so.5 in to the main server directory, in your case '/usr/local/games/hlds/hlds_l/', thats it. :)

Phorce_Phed 28-04-2008 04:28

Re: 32-bit EPB breaks on 64-bit Linux
 
Thanks. For anyone else doing this: You will also need to do the same thing with libgcc_s.so.1

The Storm 28-04-2008 16:02

Re: 32-bit EPB breaks on 64-bit Linux
 
Some 64bit distributions have special dir for 32bit libraries, in Ubuntu I think that is in /etc/lib32/, the good is that you put all the 32bit libraries there and the 32bit application runs without a problem and you won't need to copy the library in the same dir as the executable.


All times are GMT +2. The time now is 12:49.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.