NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libs are not found (LD_LIBRARY_PATH)



[2009-06-03 13:35] Jeremy C. Reed <reed%reedmedia.net@localhost>
> > if I compile programs by hand, then I get errors like:
> > 
> >     Shared object "libX11.so.6" not found
> > 
> > I can solve this by exporting LD_LIBRARY_PATH=/usr/X11R6/lib, but this
> > is no clean solution.

> > How can I solve this?
> 
> Do what pkgsrc does...
> 
> -Wl,-R/usr/X11R6/lib
> 
> (depends on system for pkgsrc)

Thanks, that worked.


meillo

Attachment: signature.asc
Description: Digital signature



Home | Main Index | Thread Index | Old Index