[SLE] wild cards in symbolic links
Hi AS some of the programs I need , and have to compile, are looking for their libs in /usr/lib , where as the gnome libs are in /opt/gnome/lib. Is it possible to use a symlink with wildcard to point from /usr/lib to/opt/gnome/lib for anything starting with libgn ?? Trying to get gpredict to build. TIA Richard -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Saturday 29 July 2006 15:25, richard bown wrote:
AS some of the programs I need , and have to compile, are looking for their libs in /usr/lib , where as the gnome libs are in /opt/gnome/lib. Is it possible to use a symlink with wildcard to point from /usr/lib to/opt/gnome/lib for anything starting with libgn ?? Trying to get gpredict to build.
A symlink can't point to more than one destination, but you can of course create a number of symlinks easily: cd /usr/lib for i in /opt/gnome/lib/libgn*.so; do ln -s $i .; done Also, you might just try adding /opt/gnome/lib to the file /etc/ld.so.conf OR to your $LD_LIBRARY_PATH evironment variable. -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
Hi AS some of the programs I need , and have to compile, are looking for their libs in /usr/lib , where as the gnome libs are in /opt/gnome/lib. Is it possible to use a symlink with wildcard to point from /usr/lib to/opt/gnome/lib for anything starting with libgn ?? Trying to get gpredict to build.
If you have the pkgconfig files for gnome installed, the make scripts of gpredict should use them. Jan Engelhardt -- -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (3)
-
Jan Engelhardt
-
richard bown
-
stephan beal