Re: [Gimp-developer] Gimp "make install" fails with undefined references to fresh-built gegl

I got all of the dependencies (except WebKit) and GIMP 2.10.20 to build on
To make a very long  story short, each dependency, and GIMP, is best built
with no traces of previous builds or out-of-date dependencies. "make clean"
and re-configuring  are inadequate. It's easiest just to re-clone each
repository, or delete each extracted source directory.
Each dependency needs to be installed into whatever build-prefix is
configured, and then the next dependency may be built. Sometimes, Iterating
over multiple versions of a dependency is required. In that case,
delete/uninstall the older version after you have built what needed it, and
then build the newer version.

I simply gave up for webkit. Webkit is gigantic, and has a wilderness of
dependencies. It easier just to use an external browser to access GIMP help.

-----Original Message-----
From: gimp-developer-list [mailto:gimp-developer-list-bounces gnome org] On
Behalf Of Charles Hymes
Sent: Tuesday, June 16, 2020 3:53 PM
To: gimp-developer-list gnome org
Subject: [Gimp-developer] Gimp "make install" fails with undefined
references to fresh-built gegl

I built gimp 2.10.18 on CentOS 7 last year on another host, but on a new
host with gimp 2.10.20, I'm stuck with undefined reference errors for GEGL.
I'm not a c++ developer, so this is all a foreign language to me :(


CentOS 7 libraries are all very old, so I built them, including latest GEGL
(0.4_24) and configured it with -prefix=/opt/gimp2.10

I deleted all gegl files before rebuilding, and now when I look in the lib64
dir I see the new libs:


ls -1 /opt/gimp-2.10/lib64/libgegl-* 


ls -1 /opt/gimp-2.10/lib64/pkgconfig/gegl-*


I set LD_LIBRARY_PATH and PKG_CONFIG_PATH to include my fresh libraries:



But when I try to build gimp, ld fails. The errors start with:


make[3]: Entering directory

CCLD gimp-2.10

display/libappdisplay.a(gimpdisplay.o): In function

gimpdisplay.c:(.text+0x130c): undefined reference to


gimp-gegl-utils.c:(.text+0xc7e): undefined reference to

collect2: error: ld returned 1 exit status

make[3]: *** [Makefile:1010: gimp-2.10] Error 1



Is this a gegl mis-configuration or a gimp one?

How should I fix?






gimp-developer-list mailing list
List address:    gimp-developer-list gnome org
List membership:
List archives:

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