Le dim 30/05/2004 à 15:42, Steven M. Christensen a écrit : > After successfully compiling and installing > > fontconfig-2.2.0 > freetype-2.1.8 > glib-2.4.1 > atk-1.6.0 > pango-1.4.0 > > with gcc 3.3.2 on a SPARC/Solaris 8 machine, and then > after ./configure in gtk+-2.4.0 or 2.4.1, I get after > make, the output > > then mv -f ".deps/gdk-pixbuf-csource.Tpo" ".deps/gdk-pixbuf-csource.Po"; \ > else rm -f ".deps/gdk-pixbuf-csource.Tpo"; exit 1; \ > fi > /usr/bin/ksh ../libtool --mode=link gcc -g -O2 -Wall -R/usr/lib -L/usr/lib -R/usr/openwin/lib -L/usr/openwin/lib -R/usr/local/lib -L/usr/local/lib -L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib -R/usr/local/ssl/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/lib -L/usr/openwin/lib -L/usr/local/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib ./.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 -lm -R/usr/local/lib -R/usr/lib -R/usr/openwin/lib -R/usr/local/BerkeleyDB.4.2/lib -R/usr/local/ssl/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 > make[4]: Leaving directory `/usr2/SOURCES/S8/GTK2/gtk+-2.4.0/gdk-pixbuf' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/usr2/SOURCES/S8/GTK2/gtk+-2.4.0/gdk-pixbuf' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/usr2/SOURCES/S8/GTK2/gtk+-2.4.0/gdk-pixbuf' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr2/SOURCES/S8/GTK2/gtk+-2.4.0' > make: *** [all] Error 2 > > > ngettext does exist in /usr/local/bin. This did not occur in gtk+-2.2.4. > What is the solution? Seems that ld search the symbol ngettext in libraries and does not find it. On my linux box, in libgdk_pixbuf-2.0, there are only references to dcngettext which exists in /usr/lib/libgettextsrc.so You should run objdump -T .libs/libgdk_pixbuf-2.0.so|grep gettext to check what is the symbol and search if you find it in one of the libgettext*.so installed on your machine.
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=