On Friday 21 Dec 2001 21:02, Keith Antoine wrote: > On Thursday 20 December 2001 15:43, Tony Alfrey enunciated: > > I got this the other day and didn't know exactly what you meant. Add > > the path to the library that rpm doesn't know about?? > > yes, exactly......... > > > The library is in /lib along with 10 gazillion libraries. > > if it is then add /lib
You don't have to add /lib. ldconfig automatically looks there. If your library is in /lib/somedir then add /lib/somedir to /etc/ld.so.conf. > > > 1. Do I add JUST /lib/<missing-lib> or the whole nine yards of /lib > > ?? > > see above > > > 2. How the f#$k does anything know about the libraries in /lib if > > they are not included in this /ld.so.conf file? > > Each distro differs in where the PATH is set to.Ypu download a foreign > rpm and the libs may get put in a different area. > > > 3. If I add the path, then run ldconfig -v, then install the rpm, > > can I then undo what I did to /ld.so.conf ?? > > No it does no harm its just a path to be checked, also if you did > delete it what heppens when you do another which needs that path. > > > This is a useful trick if it works since I'm sure I'll run into this > > problem again with some other rpm. > > Thats all i do when i have the lib but its not seen. Also remember to > call ldconfig -v when you have installed new libs. > > > Thanks -- Peter Ruskin, Wrexham, Wales. Registered Linux User No. 219434 ( see http://counter.li.org/ ). Mandrake Linux release 8.1 (Vitamin) for i586 Kernel 2.4.8-34.1mdk-win4lin, XFree86 4.1.0, patch level 21mdk. KDE: 2.2.2. Qt: 2.3.2. Uptime 10 hours 2 minutes. ------------------------------------------------------------------ _______________________________________________ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users