When I compiled the linux server for my mod, I tried a lot of things
(had the same problem like you), but finally I found out it's quite
easy.

You have to set the GAME_DIR in your makefile to "./"

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
On 12/22/05, Scott Loyd <[EMAIL PROTECTED]> wrote:
> Also, after reading your earlier post, it looks like you are symbolically
> linking it okay, but this is your problem:
>
> LDFLAGS="-lm -ldl /opt/srcds/bin/tier0_i486.so
> /opt/srcds/bin/vstdlib_i486.so"
>
> 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: [email protected]
> 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 =>  (0xffffe000)
>        libm.so.6 => /lib/libm.so.6 (0xb72d3000)
>        libdl.so.2 => /lib/libdl.so.2 (0xb72ce000)
>        /opt/srcds/bin/tier0_i486.so (0xb72a0000)
>        /opt/srcds/bin/vstdlib_i486.so (0xb728b000)
>        libc.so.6 => /lib/libc.so.6 (0xb7173000)
>        /lib/ld-linux.so.2 (0x80000000)
>        libpthread.so.0 => /lib/libpthread.so.0 (0xb7121000)
>        tier0_i486.so => not found
>
> On 12/22/05, Fabian Schreyer <[EMAIL PROTECTED]> wrote:
> > perhaps you should look what
> > ldd server_i486.so
> > tells you?
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to