[lug] libraries...linking...learning...

Anders Knudsen aknudsen.96 at alum.mines.edu
Tue Jul 25 20:49:55 MDT 2000


At 11:26 AM 7/25/00 -0600, Hugh wrote:
>ldconfig is what tells the system which paths to look in for libraries and 
>it also sets up the
>right links for things, so make sure your /etc/ldconfig.conf (I think 
>that's the file). has an
>entry for /usr/local/lib (if that's where your libraries will be)
>
>You might also run the configure script with --prefix=/usr instead of 
>letting it default to
>/usr/local

Yes! I thought of that some moments after posting my question, thanks for 
the "reconfirm."
Basically I did a rpm -e --nodeps of zlib, libpng, and libjpeg.
Then I configured each with --prefix=/usr, and --enable-shared (or 
similar). That did it.
Now, hopefully I did not break anything by removing old libs and replacing 
with new ones. So far it looks good.

-Anders.





More information about the LUG mailing list