Re: Compiling Gnome under Slackware 3.5



Andrew White wrote:

> 
> make[3]: Entering directory
> `/usr/local/src/gnome-utils-0.30/mini-utils/gpenguin'
> /bin/sh ../../libtool
> --mode=link gcc -g -O2  -o gpenguin  gpenguin.o -rdynamic -L/usr/local/lib
> -L/usr/X11R6/lib -rdynamic -lgnomeui -lgdk_imlib -ljpeg -ltiff -lgif -lpng
> -lz -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lm -lgnome
> -lgnomesupport -ldb -lglib -ldl -lshadow -lm
> gcc -g -O2 -o gpenguin
> gpenguin.o -rdynamic -L/usr/local/lib -L/usr/X11R6/lib -rdynamic -lgnomeui
> -lgdk_imlib -ljpeg -ltiff -lgif -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule
> -lXext -lX11 -lm -lgnome -lgnomesupport -ldb -lglib -ldl -lshadow
> -lm
> /usr/local/lib/libgnomeui.so: undefined reference to
> `dgettext'
> /usr/local/lib/libgnomeui.so: undefined reference to
> `gettext'
> /usr/local/lib/libgnome.so: undefined reference to
> `bindtextdomain'
> collect2: ld returned 1 exit status

> 
> As far a I can tell libgnomeui.so has
> a problem with gettext, yet gettext compiled with no errors and I ran
> ldconfig after each package I installed. So Im at a bit of a loss.
> 
> if anyone could help me with this I would be very pleased..
> 
> Thanks
> Andrew
> 

It looks like -lintl is not getting linked in. I have the same problem
with Slak 3.4. My solution (probably not the best) is to run configure
with --with-included-gettext. This works, and everything compiles fine.
There should be a better fix, I guess...

Max Watson <redline@intrex.net>



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