You are not logged in.

#1 2012-05-05 17:57:29

hidefromkgb
Member
Registered: 2009-08-03
Posts: 148

[SOLVED] GIMP 2.8.0-1 dependencies

Hello.
Several minutes ago I tried to upgrade to GIMP 2.8.0-1.
The package (extra/gimp, not gimp-devel) downloading and installation went OK, but there were no GEGL and BABL dependencies included in it, so it crashed at first.

I installed newest GEGL and BABL manually, but I`m still having an issue:

$ gimp
GEGL-geglmodule.c-Message: Ошибка загрузки модуля '/usr/lib/gegl-0.2/path.so': /usr/lib/gegl-0.2/path.so: undefined symbol: g_mutex_unlock
GEGL-geglmodule.c-Message: Ошибка загрузки модуля '/usr/lib/gegl-0.2/vector-stroke.so': /usr/lib/gegl-0.2/vector-stroke.so: undefined symbol: g_mutex_unlock
GEGL-geglmodule.c-Message: Ошибка загрузки модуля '/usr/lib/gegl-0.2/vector-fill.so': /usr/lib/gegl-0.2/vector-fill.so: undefined symbol: g_mutex_unlock
gimp: symbol lookup error: gimp: undefined symbol: g_mutex_new
$

where «Ошибка загрузки модуля» means «Module load error».

What can be the cause?

Last edited by hidefromkgb (2012-05-05 19:42:47)

Offline

#2 2012-05-05 18:06:52

hidefromkgb
Member
Registered: 2009-08-03
Posts: 148

Re: [SOLVED] GIMP 2.8.0-1 dependencies

Well, I googled a bit and found out that the missing functions are included in core/glib2.
But still, GIMP continues to crash, now due to libffi (core/libffi):

$ gimp
gimp: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory
$

[UPD:]
Now, after upgrading libffi, the problem is solved.


A note to maintainers: please update the dependency list!
These packages are required for GIMP to work:

core/glib2
core/libffi
extra/gegl
extra/babl

Last edited by hidefromkgb (2012-05-05 18:08:16)

Offline

#3 2012-05-05 19:10:59

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: [SOLVED] GIMP 2.8.0-1 dependencies

Second level deps... gimp depends on dbus-glib, which depends on glib2 which depends on libffi. That's why they weren't there. I'm surprised you were able to install gimp without those.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#4 2012-05-05 19:30:12

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [SOLVED] GIMP 2.8.0-1 dependencies

after upgrading libffi, the problem is solved.

Out of curiosity, when's the last time you ran -Syu?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2012-05-05 19:34:03

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: [SOLVED] GIMP 2.8.0-1 dependencies

You have to do a "pacman -Syu" and not just a "pacman -S gimp".

gegl and babl are both listed as deps, but no versioned deps. gimp has dbus-glib as dependency and don't need glib2, because dbus-glib depends on it. And glib2 depends on libffi, so no need to add it to dependency.

Offline

#6 2012-05-05 19:42:14

hidefromkgb
Member
Registered: 2009-08-03
Posts: 148

Re: [SOLVED] GIMP 2.8.0-1 dependencies

Hm.
Thank you for the explanation!
Marked the topic as [SOLVED].

Last edited by hidefromkgb (2012-05-06 18:52:55)

Offline

#7 2012-05-05 19:51:41

hidefromkgb
Member
Registered: 2009-08-03
Posts: 148

Re: [SOLVED] GIMP 2.8.0-1 dependencies

BTW:
WorMzy, circa 2 weeks ago.
Now I`ve got no regular Internet connection, relying on GPRS.
So, it`s not a good time for a full upgrade.

Offline

#8 2012-05-05 21:10:54

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [SOLVED] GIMP 2.8.0-1 dependencies

In that case, I recommend that you avoid installing new software until you've got a stable internet connection again.

If you didn't -Syu just now either, be aware that you might experience problems with other applications, e.g. anything that requires libffi.so.5. If that happens, downgrade libffi, if possible (check in /var/cache/packman/pkg for old packages), or run -Syu asap.

Arch is a fast moving distro, it's not suitable for running partial updates on.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB