Koen van der Drift wrote:
[]
gimp-1.2.3-9/gimp-1.2.3/libgimp/.libs -L/sw/lib -L../../libgimp/.libs
-lgimpui -L/usr/X11R6/lib
-L/sw/src/gimp-1.2.3-9/gimp-1.2.3/plug-ins/libgck/gck/.libs -lgimp
-lgtkxmhtml -lXpm -ljpeg -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lglib
-ldl -lXext -lX11 -lm -lintl -liconv
/usr/bin/ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
/sw/lib/libiconv.dylib(localcharset.lo) definition of _locale_charset
/usr/bin/ld: Undefined symbols:
_strtok_r
OK, I finally got around to boot into 10.1. Here is what I found: The problem comes from gnome-libs. With gnome-libs-1.4.1.7-3 installed, gimp builds correctly. With gnome-libs-1.4.2-1 installed, I get the same error as you.

I am not sure if the reason is really the higher version or if this is one of those chicken-and-egg situations where a package (gnome-libs) does not build correctly when it is already installed.

In any case, the essential difference between the two versions lies in the script /sw/bin/gnome-config.

The gimp build process calls this script as "gnome-config --libs gtkxmhtml". In the correct version for 10.1, the output of this command is

-L/sw/lib -L/usr/X11R6/lib -lgtkxmhtml -lgnomesupport -lXpm -ljpeg -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lglib -ldl -lintl -lXext -lX11 -lm

In the bad version, and this is what you are getting, the "-lgnomesupport" is missing.

Solution of the problem therefore:

Either downgrade gnome-libs to version 1.4.1.7-3 (not guaranteed to work),
Or fix the /sw/bin/gnome-config script by hand: Look up the lines

gtkxmhtml)
the_libs="$the_libs -L${libdir} -lgtkxmhtml -lgnomesupport -lXpm -ljpeg -lpng -lz -lz -lSM -lICE -L/sw/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -ldl -lintl -lXext -lX11 -lm"

and add the "-lgnomesupport" if it is missing.

--
Martin



-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Reply via email to