Re: 2.4.13 fails to build on solaris 2.6



On Sun, 2004-10-17 at 21:58 +0200, Riccardo Mottola wrote:
> Hello,
> 
> I fail to build gtk 2.4.13 on solaris 2.6 (as was also the case of
> 2.4.9) the problem is always the same, a missing symbol:
> 
> (yes, I have gnu gettext installed in /usr/local)
> 
> /bin/ksh ../libtool --mode=link gcc  -g -O2 -Wall  -R/usr/local/lib
> -L/usr/local/lib -R/usr/lib -L/usr/lib -o gdk-pixbuf-csource 
> gdk-pixbuf-csource.o libgdk_pixbuf-2.0.la 
> gcc -g -O2 -Wall -o .libs/gdk-pixbuf-csource gdk-pixbuf-csource.o 
> -L/usr/local/lib -L/usr/lib ./.libs/libgdk_pixbuf-2.0.so
> /usr/local/lib/libgmodule-2.0.so -L/usr/openwin/lib -ldl
> /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so
> /usr/local/lib/libiconv.so -lm -R/usr/local/lib -R/usr/lib
> Undefined                       first referenced
>  symbol                             in file
> ngettext                            ./.libs/libgdk_pixbuf-2.0.so
> ld: fatal: Symbol referencing errors. No output written to
> .libs/gdk-pixbuf-csource
> collect2: ld returned 1 exit status
> make[4]: *** [gdk-pixbuf-csource] Error 1
> 

Riccardo,

there are two possible reasons for this:

a) the linker doesn't pick up the GNU gettext in /usr/lib, but the
system gettext library

b) the GNU gettext in /usr/lib is old and doesn't have ngettext()

You will have to figure out which of these is the cause of your problem.

Regards, Matthias




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