Re: [gtk-list] Glib-Warning: getpwuid ?
- From: john giorgio hart bbk ac uk
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Glib-Warning: getpwuid ?
- Date: Mon, 12 Jul 1999 14:58:21 +0100
Marc Gloor wrote:
>After compiling and linking my application statically against Gtk, Gdk and
>Glib, there are some problems with glib if I run the binary.
This has bitten me too, I now make a static binary like this:
LIBS = -Wl,-Bstatic -ltiff -lz -ljpeg -lXm -lXpm -lXt -lXmu \
-L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib \
-Wl,-Bdynamic -ldl -Wl,-Bstatic -lXext -lX11 -lm -lSM -lICE -Wl,-Bdynamic
So static against everything but libc, libdl and /lib/ld-linux. Unless I make
libc dynamic, dlopen() stops working :( This also means I can't use
Does anyone have a better solution?
>Does anybody can help me?
:) Don't post html mail :)
John Cupitt, firstname.lastname@example.org, +44 (0)171 930 2108
VASARI Lab, The National Gallery, Trafalgar Square, London, WC2N 5DN
] [Thread Prev