Link glib

ForumsFor GEGL developers (read-only) ► Link glib

Sent: 2010-01-16 09:22:01 UTC (about 2 years ago)

From: hce

Link glib

Hi,

Sorry for asking an off topic question. While I was building
gegl-0.1.0 on an old Debian 4.0 box with default glib version 2.12 on
/usr/lib, it was an error for old glib version. I installed glib2.20
in a local directory and set it by pkg-config and ldconfig. I could
not remove the glib2.12 as it The pkg-config and ldconfig now include
both glib2.12 and glib2.20 and build gegl failed link as the glib2.12
took first. Has anyone

_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

Sent: 2010-01-16 10:22:49 UTC (about 2 years ago)

From: hce

Link glib

Sorry, my web mail crashed and sending a mess message. Let me try it again:

I could not build gegl-0.1.0 on Debian 4.0 with the glib version 2.12
in /usr/lib. So, I built glib2.20 in a local directory and set it up
in pkg-config and ldconfig. But I could not remove /usr/lib/glib2.12
version as many dependant gnome applications would also be removed. It
ended up with both versions of glib in pkg-config and ldcondig.

It was fine to run the gegl configure, it picked up glib2.20, but it
failed in make although both glib2.12 in /usr/lib/libglib-2.0.so and
glib2.20 were included in libtool link command:

../gegl/.libs/libgegl-0.0.so: undefined reference to `g_dgettext'

I checked Makefile and thought if I could remove glib2.12 /usr/lib
path manually from GLIB_LIBS in Makefile it would ok, but the
GLIB_LIBS does not include glib2.12, it actually only included
glib2.20 path in the Makefile. Now I confused, if the
/usr/lib/libglib-2.0.so is not in the Makefile, where the link
/usr/lib/libglib-2.0.so came from? Please advice.

Alternatively, it might better to manually link glib2.20 in ldconfig,
I know there is a command ldconfig -l, but I've never done it, if
anyone knows how to do it, appreciate your help.

Thank you.

Kind Regards,

Jupiter

_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

Sent: 2010-01-17 12:35:59 UTC (about 2 years ago)

From: Martin Nordholts

Link glib

hce wrote:
> I could not build gegl-0.1.0 on Debian 4.0 with the glib version 2.12
> in /usr/lib. So, I built glib2.20 in a local directory and set it up
> in pkg-config and ldconfig. But I could not remove /usr/lib/glib2.12
> version as many dependant gnome applications would also be removed. It
> ended up with both versions of glib in pkg-config and ldcondig.
>
> It was fine to run the gegl configure, it picked up glib2.20, but it
> failed in make although both glib2.12 in /usr/lib/libglib-2.0.so and
> glib2.20 were included in libtool link command:

You don't need to manually bother with environment variables if you
follow the advice here:
http://www.chromecode.com/2009/12/best-way-to-keep-up-with-gimp-from-git_26.html

You use the same prefix for both GLib and GEGL and the other
dependencies you have

If libtool still refuses to link correctly you can try to remove (or
better, move away) the *.la files in /usr/lib and $gegl_prefix/lib, iirc
this sometimes fixes the weird problems.

Regards,
Martin

--

My GIMP Blog:
http://www.chromecode.com/
"Best way to keep up with GIMP from git"
_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

Welcome!


Lost password?

Not a member? Sign up!

Random tutorials | Latest tutorials

  1. Creating the Che Guevara Effect Creating the Che Guevara Effect 8
  2. Creating a bloody splatter texture Creating a bloody splatter texture 36
  3. Vexel Simulation on Photos Vexel Simulation on Photos 9
  4. Extreme colors for your photos Extreme colors for your photos 3

Latest comments

But I just have 1 more prob (bear with me) I am really having troub... (about 24 hours ago in [AVATAR] Become a real Na'Vi using GIMP!)

I got it to work :) I had to close the image and restart it. I thin... (1 day ago in Create cool rifts with translucent lights!)

there was a second and 3rd release of 2.6.12. we included the lates... (1 day ago in Last stable 2.6 release: 2.6.12 has arrived)

Poll

Is GIMP an adequate application for you to create printed graphics like flyers, advertisments etc?

Latest forum activities

Your Ad Here

facts & numbers

gimpusers.com RSS feed

48 identi.ca followers
750 Twitter followers

powered by bitfire it services