Hi Martin,
I added the missing piece manually and it worked perfectly, the Gimp is up and running. I appreciate the effort you put into finding the cause of the problem. My next question is how did you figure out the problem? I have a really vague idea of how it could be done, but being a *nix newbie I'd like to know how a seasoned user went about doing it. If it's too much trouble, I understand.

Thanks again,
Matt


On Wednesday, November 13, 2002, at 02:46 PM, Martin Costabel wrote:

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



Matt Richardson
Instructional Support Technician
Department of Art
California State University
5500 University Parkway
San Bernardino, CA 92407
(909)880-7727



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners


Reply via email to