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

Hello Deft,

On Tue, 16 Jun 2020 18:37:09 -0700 "Deft Developer" <dev hymes name> wrote:

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?

I build Gimp 2.8.x and 2.10.x on CentOS 7 (with the almost complete set
of dependencies and dependencies of dependencies and the
cross-dependency hell) too, and didn't face this situation.

Did you build the 2.10.20 sources against the old gegl, then build the
new gegl and rebuild gimp without doing a `make clean`?



Attachment: pgpT2rnNbKWwQ.pgp
Description: OpenPGP digital signature

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