[plug] Getgui

Adrian Chadd adrian at creative.net.au
Tue Nov 6 15:13:05 WST 2007


And don't forget that by default the X11 development packages aren't
installed..



Adrian

On Tue, Nov 06, 2007, Russell wrote:
> On 11/5/07, David Dartnall <darts at dialix.com.au> wrote:
> ...
> > XLIBS = -L/usr/X11R6/lib -lX11
> > XINCLUDEDIR = /usr/X11R6/include
> >
> > Neither path exists in Ubuntu Gutsy, and I can't find 'lX11'.
> > What is the significance of the '-L' at the start of the XLIBS path and
> > the '-' preceding the 'lX11'? How should this line read in Gutsy?
> 
> -Ldirname means "look for libraries in dirname, in addition to the
> default set of directories".  -lfoo means "link with a library called
> libfoo.a."  libfoo.a will be searched for in all the directories
> specified with -L plus the default directories.
> 
> So with the XLIBS above, the linker is being told to look for
> /usr/X11R6/lib/libX11.a, or /usr/lib/libX11.a, or /lib/libX11.a, and
> possibly some others, using whichever it finds first.
> 
> To get the correct directory name, try running "locate libX11.a" and
> using the directory name of the file that command shows you, if any.
> 
> 
> 
> -- 
> Virus found in this message.
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -



More information about the plug mailing list