Newbie Question - LD_LIBRARY_PATH

Will Clifton wclifton at cox.net
Thu Jan 29 17:44:35 UTC 2004


Thank you Alexander.

>Do not do what you did!

OK, I removed those entries from my profile.

>What is the exact error message you get? Did you run configure without
>error message? The error occurs during make? You have all necessary
>libraries installed for you compilation?

Here is sample output of the install. I received no errors of failed
dependencies, all necessary libraries seemed to be installed. I just
continue to get the following error message pertaining to LIBDIR. All of
the necessary library paths are in my ld.so.conf file, I just want to
know how to resolve this error message. My apologies if I'm not giving
you the information you ask, tell me what else you need me to provide.

-------------------------------
Libraries have been installed in:
/usr/local/lib

To link against installed libraries in a given directory, LIBDIR,
you must use the `-LLIBDIR' flag during linking.

You will also need to do one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable during
execution
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
----------------------------------

---original message---

> When compiling some software from source, I get an error message
> complaining that the make process cannot find my LIBDIR path. So, in
> /etc/profile I added the following under the HISTSIZE:1000 entry:
> 
> LD_LIBRARY_PATH=`/usr/lib:/usr/local/lib`
> 
> Then added LD_LIBRARY_PATH to the export line.
> 
> I still get the same complaints, so apparently I need to do more. Can
> anyone tell me how to set my LIBDIR path in my profile? 

---original message---






More information about the fedora-list mailing list