I linked libs one by one, as a particular program complained about it. Later on I figured out I could simply add my distro lib directories to /etc/ld.so.conf and run ldconfig (not found on bare empeg) to update /etc/ld.so.cache (or put appropriate LD_LIBRARY_PATH into environment).

Dragi "Bonzi" Raos
Zagreb, Croatia
Q#5196, MkII#80000376, 18GB green
_________________________
Dragi "Bonzi" Raos Q#5196 MkII #080000376, 18GB green MkIIa #040103247, 60GB blue