I compiled libupnp by hand like this:
First, i downloaded the tar.bz2 from sourceforge
http://mesh.dl.sourceforge.net/sourceforge/pupnp/libupnp-1.6.6.tar.bz2After uncompressing it, i did this:
./configure --enable-debug
make
sudo make install
Then i compiled amule:
./configure --prefix=/usr --enable-amule-gui --enable-alc --enable-alcc --enable-utf8-systray --enable-debug --disable-optimize --enable-amulecmd --enable-monolithic --enable-amule-daemon --enable-cas --enable-wxcas --enable-webserver --enable-ccache --enable-geoip --enable-remote
No errors, and upnp flag detected in the report
make
sudo make install
All went fine, like allways, but when i launch amule
amule
i get this error:
amule: error while loading shared libraries: libupnp.so.3: cannot open shared object file: No such file or directory
So i did this:
jon@Hardy:~$ locate libupnp.so.3
/home/jon/libupnp-1.6.6/upnp/.libs/libupnp.so.3
/home/jon/libupnp-1.6.6/upnp/.libs/libupnp.so.3.0.5
/home/jon/libupnp-1.6.6/upnp/.libs/libupnp.so.3.0.5T
/usr/local/lib/libupnp.so.3
/usr/local/lib/libupnp.so.3.0.5
And, obviously, amule does not run at all..

The machine is Ubuntu Server 8.04
I need to compile upnp by hand because i want to test it and report some backtraces, because i found some problems with it...
How can i fix this problem??
Thanks!