Installing library

Sebastien Deligny sdeligny at tele2.fr
Thu Apr 8 23:00:12 PDT 2004


Le Vendredi 9 Avril 2004 00:19, John Gay a écrit :
> On Thu 08 Apr 2004 22:07, Sébastien Deligny wrote:
> > I misunderstood this phrase:
> >
> > As with most libraries, there is no configuration to do, save
> > that the library directory i.e. /opt/lib or /usr/local/lib
> > should appear in /etc/ld.so.conf so that ldd can find the
> > shared libraries.
>
> These are general instructions concerning the use of libraries.
> For the system to access them, /etc/ld.so.conf needs to have the
> locations for all libs that might need to be accessed. Most libs
> go in /usr/lib, and this is already catered for. But if you
> choose to install them in a non-standard place, like /opt/lib or
> /usr/local/lib then you need to add these locations to
> /etc/ld.so.conf so that ldd can find them when needed.
>
> > And my library are installed in /usr/lib!
>
> This is the normal location for most libs, and you don't need to
> change /etc/ld.so.conf, but you may need to run ldconfig to
> update the settings.
>
> > Seb
>
> I hope this clears things up for you. Building a system from
> scratch is a major learning experience. I would suggest
> re-reading parts of the LFS book to help get your head around
> the finer points. It's brief, but contains lots of info that is
> easily missed the first few times through. I still go back to it
> for insights.
>
> Cheers,
>
> 	JOhn Gay

Ok, thanks for this text explanation for a french man!

Seb




More information about the blfs-support mailing list