[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: symlink problem ifort



On Tue, Jan 23, 2007 at 02:00:38AM -0800, Francesco Pietra wrote:
> /opt/intel/fce/9.1.036/bib/lib/libmf.so
> appears as shared library. Naively I created a
> symlink:
> 
> #ls -s /optintel/fce/9.1.036/bin/lib/libimf.so
> /usr/lib/libimf.so
> 
> however, the properties of the link tell (Type: link
> (broken). Of course, the library is not provided to
> the application that needs it.

If the link is broken you must have created it wrong?
(Maybe you meant /opt/intel instead of /optintel.)

Please send the output of

ls -l /opt/intel/fce/9.1.036/bin/lib/libimf.so
ls -l /usr/lib/libimf.so

> The problem was not solved by adding
> 
> /opt/intel/fce/9.1.036/bin/lib/
> to
> /etc/ld.so.conf

You must run ldconfig after doing this.

> adding to my .bashrc
> PATH="/opt/intel/fce/9.1.036/bin/:$PATH; export path
> rebooting and commanding

You could also try setting
LD_LIBRARY_PATH=/opt/intel/fce/9.1.036/bin/lib.


I think this is a good question for debian-user rather than
debian-amd64, as it is not amd64 specific.


Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>



Reply to: