Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Fabian Schreyer
perhaps you should look what ldd server_i486.so tells you? On 12/22/05, Stephen Micheals [EMAIL PROTECTED] wrote: i have been trying to find out what exactly is wrong the server binary seem to compile perfectly without errors or any warnings but it seems to build a invalid binary. im using

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Stephen Micheals
i get this: srcds # ldd hostiletest/bin/server_i486.so linux-gate.so.1 = (0xe000) libm.so.6 = /lib/libm.so.6 (0xb72d3000) libdl.so.2 = /lib/libdl.so.2 (0xb72ce000) /opt/srcds/bin/tier0_i486.so (0xb72a) /opt/srcds/bin/vstdlib_i486.so (0xb728b000)

RE: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Scott Loyd
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Micheals Sent: Thursday, December 22, 2005 1:10 AM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Linux binary compiles fine but fails to load. i get this: srcds # ldd hostiletest/bin/server_i486.so linux-gate.so.1

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Fabian Schreyer
Change it to LDFLAGS=-lm -ldl tier0_i486.so vstdlib_i486.so -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Micheals Sent: Thursday, December 22, 2005 1:10 AM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Linux binary compiles

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Stephen Micheals
actually i just made those changes you suggested a few moments before i noticed your reply and then deleted the server_i486.so to have it relink the binary and the binary is still not working in the server but i did get this from ldd: srcds # ldd hostiletest/bin/server_i486.so

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Jeff Fearn
On 12/22/05, Stephen Micheals [EMAIL PROTECTED] wrote: tier0_i486.so = not found vstdlib_i486.so = not found You have not exported your library path, it can't find the HL libraries. export LD_LIBRARY_PATH=/path/to/hlds:$LD_LIBRARY_PATH Jeff

RE: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Scott Loyd
To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Linux binary compiles fine but fails to load. On 12/22/05, Stephen Micheals [EMAIL PROTECTED] wrote: tier0_i486.so = not found vstdlib_i486.so = not found You have not exported your library path, it can't find the HL libraries

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Stephen Micheals
And when you do ldd, first cd to your srcds directory (where you find all of these run scripts) and then try it this way: ldd yourmod/bin/server_i486.so i have been doing that actually. When I compiled the linux server for my mod, I tried a lot of things (had the same problem like you), but

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Stephen Micheals
so i have to set this before compiling the serverbinary or i have to set it before runing the server? this is all a bit confusing to me, please forgive my stupidity everyone. On 12/22/05, Jeff Fearn [EMAIL PROTECTED] wrote: You have not exported your library path, it can't find the HL

RE: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Scott Loyd
@list.valvesoftware.com Subject: Re: [hlcoders] Linux binary compiles fine but fails to load. so i have to set this before compiling the serverbinary or i have to set it before runing the server? this is all a bit confusing to me, please forgive my stupidity everyone. On 12/22/05, Jeff Fearn [EMAIL PROTECTED

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Stephen Micheals
compile is done the thing compiles fine but still the thing refused to get loaded by the server. this is driving me insane. heres some items from the console: srcds # ldd hostiletest/bin/server_i486.so linux-gate.so.1 = (0xe000) libm.so.6 = /lib/libm.so.6 (0xb72d3000)

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Jeff Fearn
On 12/22/05, Stephen Micheals [EMAIL PROTECTED] wrote: compile is done the thing compiles fine but still the thing refused to get loaded by the server. this is driving me insane. Realise that you had at least two problems and you have overcome one. :) heres some items from the console:

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Fabian Schreyer
Perhaps you could find the error by doing a strace ./srcds_run -game hostiletest -insecure +maxplayers 12 +map hi_test On 12/22/05, Stephen Micheals [EMAIL PROTECTED] wrote: compile is done the thing compiles fine but still the thing refused to get loaded by the server. this is driving me

Re: [hlcoders] Linux binary compiles fine but fails to load.

2005-12-22 Thread Stephen Micheals
is that really needed is that not redundant since these: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.1/libstdc++.a /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.1/libgcc_eh.a are already linked in? also just tryed adding it anyways it did not work. On 12/22/05, Jeff Fearn [EMAIL PROTECTED] wrote: Realise