Re: Why isn't make GTK+2.4.0 finding -lXext



On Mon, 20 Sep 2004 23:53:19 PDT, Seamus Cranley said:

> gcc -shared  .libs/gdk-pixbuf-xlib.o .libs/gdk-pixbuf-xlib-render.o
> .libs/gdk-pixbuf-xlib-drawable.o .libs/gdk-pixbuf-xlibrgb.o  -Wl,--rpath
> -Wl,/usr/src/redhat/SOURCES2/ethereal/gtk+-2.4.0/gdk-pixbuf/.libs
> -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
> -L/usr/local/lib ../../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so
> /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libgobject-2.0.so
> /usr/local/lib/libglib-2.0.so -L/usr/XllR6/lib/libXext.so
> /usr/local/lib/libX11.so -lXext -lm  -Wl,-soname
> -Wl,libgdk_pixbuf_xlib-2.0.so.0 -o
> .libs/libgdk_pixbuf_xlib-2.0.so.0.400.0

Is there some specific reason you're picking up libX11 via the pathname rather
than using "-L /usr/local/lib -lX11"  (similarly for the glib libraries).

More to the point - is there a problem with the system libX11?  If so, then
the fact your system's X11 install is borked probably explains why -lXext isn't
working for you......

Attachment: pgpyVVnJbEHjy.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]