I think gcc doesn't care about ld.so.conf (although it would be a nice
feature).
This is only for dynamic linker to find the shared libs.

> -----Urspr�ngliche Nachricht-----
> Von:  Georg Zetzsche [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Mittwoch, 14. Juli 1999 12:52
> An:   Raju K. V.
> Cc:   [EMAIL PROTECTED]
> Betreff:      Re: adding directory paths for default libraries
> 
> "Raju K. V." wrote:
> > 
> > hi,
> > 
> > I have some libraries in nonstandard paths. So every time I call gcc and
> > use one of these libraries, I have to use the -L option. Is there any
> way
> > by which I can add these paths so that gcc looks at these paths also by
> > default.
> > 
> > Thanks,
> > Raju
> 
> Write all the directorys into /etc/ld.so.conf . Then run ldconfig.
> So if your libs are in /home/user/libs add the line '/home/user/lib'
> to /etc/ld.so.conf
> -- 
> Georg Zetzsche <[EMAIL PROTECTED]>

Reply via email to