Subject: Re: gimp-current
To: Lennart Augustsson <lennart@augustsson.net>
From: Steven J. Dovich <dovich@lethe.tiac.net>
List: tech-pkg
Date: 03/01/2000 14:47:24
> Is there any chance that gimp-current will work with ELF  (i386) soon?
> We've had ELF for quite a while now, and it would be nice if the
> packages worked with it...
> 
> This is the message you get if you try to run gimp-current:
> 
> opus% gimp
> Message: Passed serialization test
> 
> /usr/X11R6/lib/gimp/1.1/modules/libcolorsel_gtk.so: Undefined PLT symbol "gim
> p_color_selector_register" (reloc type = 7, symnum = 6)
> 
> ** opus% WARNING **: wire_read: unexpected EOF (plug-in crashed?)

This, and probably most other "PLT symbol" warnings that occur at runtime
can be fixed by adding -Wl,-E to the link of the loading application.

I got gimp-current functional by prepending that option to the LDFLAGS 
assignment in graphics/gimp-current/work/*/app/Makefile, removing gimp
from that directory and invoking make there. The subsequent installation
comes up fine. I haven't taken the time to re-do the patch files for
gimp-current to apply this correctly during patching/configuring.

/sjd