Logged In: YES
user_id=246687
No. To be more exact: I usually install new programs to
/opt/prgname-version, so the example was a little bit unusual for me.
As you suggested I executed as root:
ldconfig -n /opt/Python-2.3c2/lib
This should update the link, but not the ldso.cache (as stated in the
man-page). But it does not work.
Maybe, the SONAME of this library is too detailed:
objdump -p /opt/Python-2.3c2/lib/libpython2.3.so.1.0|grep SONAME
SONAME libpython2.3.so.1.0
Ok, I've changed soname (-Wl,-soname=libpython2.3.so) and now the link
appears!
ldconfig -vn /opt/Python-2.3c2/lib
/opt/Python-2.3c2/lib:
libpython2.3.so -> libpython2.3.so.1.0 (changed)
One (hard)link is set in the build-directory. But it is not copied to the install
directory.
My suggestion is to change the Makefile:
1) -Wl,-soname should give the short name
2) Set a link or run ldconfig -n $(LIBDIR)
|