How to develop SDL_net

Hello,
I’m having some trouble to develop SDL_net.
I’m running a Linux Kerner version 2.4 with debian woody.

I downloaded the SDL_net source code, and modiffied it so that it don’t
send any UDP packets.
(Only beacause this is an easy way to test if the modiffied lib is
installed.)
Then I run wrom the SDL_SDL_net-1.2.4 directory:

1)If I run:
apt-get remove libsdl-net1.2
apt-get install libsdl-net1.2-dev
./configure
make clean
make
make install

Then I run a simple application test, but it sucess to send UDP packets.

  1. If I run

apt-get remove libsdl-net1.2
./configure
make clean
make
make install

Then my application test says:
application: error while loading shared libraries: libSDL_net-1.2.so.0:
cannot open shared object file: No such file or directory

How to do install the modiffied version ?
Or where is it any doc about it ?

Thanks for any help!

Luc-Olivier de Charri?re

nuage wrote:

I’m having some trouble to develop SDL_net.
I’m running a Linux Kerner version 2.4 with debian woody.

[…]

Then I run a simple application test, but it sucess to send UDP
packets.

[…]

application: error while loading shared libraries:
libSDL_net-1.2.so.0: cannot open shared object file: No such file or
directory

first remove the old lib. make sure, you do not have it around somewhere
(like /usr/lib or /usr/local/lib). then install the new one and execute
"ldconfig". check, if the directory, which SDL_net was installed into,
is listed in “/etc/ld.so.conf”.

HTH …
clemens

nuage wrote:

I’m having some trouble to develop SDL_net.
I’m running a Linux Kerner version 2.4 with debian woody.

[…]

What’s “debian woody”? Also, where might I find SDL_net? I hunted around
and found a lot of stale links…

–>Neil-------------------------------------------------------------------------------
Neil Bradley In the land of the blind, the one eyed man is not
Synthcom Systems, Inc. king - he’s a prisoner.
ICQ #29402898

nuage wrote:

I’m having some trouble to develop SDL_net.
I’m running a Linux Kerner version 2.4 with debian woody.

[…]

What’s “debian woody”?

It’s the “Woody” release (3.0, the current ‘stable’ branch) of the Debian
GNU/Linux distribution.

http://www.debian.org/

Also, where might I find SDL_net? I hunted around
and found a lot of stale links…

Did this page not work for you!?!?

http://www.libsdl.org/projects/SDL_net/

-bill!On Sun, Oct 27, 2002 at 11:11:10PM -0800, Neil Bradley wrote:

s?n, 2002-10-27 kl. 20:55 skrev nuage:

1)If I run:
apt-get remove libsdl-net1.2
apt-get install libsdl-net1.2-dev
This might be where things go wrong, libsdl-net1.2-dev depends on the
package you just removed so you just got nowhere.
The -dev package doesn’t contain anything that the commands below
doesn’t install.> ./configure
make clean
make
make install


There are only 10 kinds of people in this world; those who know binary
and
those who don’t.

Best Regards/Venlig Hilsen
Rasmus Toftdahl Olesen
System Udvikler, Pohl Data I/S
http://halfdans.net
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dette er en digitalt underskrevet brevdel
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20021028/e19cf77a/attachment.pgp

Rasmus Toftdahl Olesen wrote:

1)If I run:
apt-get remove libsdl-net1.2
apt-get install libsdl-net1.2-dev

This might be where things go wrong, libsdl-net1.2-dev depends on the
package you just removed so you just got nowhere.
The -dev package doesn’t contain anything that the commands below
doesn’t install.

I did execute the below commands inside the sources.>>./configure

make clean
make
make install

OK, it took me a while to find this out.
Simply edit file
/etc/ld.so.conf
and if it’s not already in, add line
/usr/local/lib