LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   scripts can't find path (https://www.linuxquestions.org/questions/linux-general-1/scripts-cant-find-path-228239/)

corbis_demon 09-08-2004 01:02 PM

scripts can't find path
 
Hi,
Every so often a while trying to install a program,the configure script throws up an error saying it couldn't locate a certain library even though it is installed and in the PATH.Other programs have no such problems.Why option can be passed to such scripts so that they're able to probe for the specified libraries?Please advise

Tinkster 09-08-2004 02:06 PM

That may well be a problem with the ./configure
itself - I've had problems with some in the past
(can't for the life of me think of any programs
name) and had to edit them to get them working
because their version-check on certain libs was
too restrictive, wouldn't accept newer versions
than the one the author had used even though
they worked perfectly well.


Cheers,
Tink

amf57 09-08-2004 06:11 PM

If you are talking about a shared library, the system assumes that all libraries are in /lib. However, you will have a file named /etc/ld.so.conf that will specify where other libraries are located. You may need to create an entry in that file and then run the command
ldconfig

All should be ok after that.
Post back if that works for you.


All times are GMT -5. The time now is 09:56 AM.