LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-28-2023, 08:46 AM   #1
amikoyan
Member
 
Registered: Mar 2021
Distribution: Slackware64 -current
Posts: 316

Rep: Reputation: 169Reputation: 169
gimp and libexiv2.so.27


I am using an up to date -current. When I tried to open gimp I got this:

Code:
bash-5.2$ gimp --version
gimp: error while loading shared libraries: libexiv2.so.27: cannot open shared object file: No such file or directory
A search came up with this:

https://www.linuxquestions.org/quest...rs-4175725112/

and my machine has:

Code:
ls /var/lib/pkgtools/packages/exiv*
/var/lib/pkgtools/packages/exiv2-0.28.0-x86_64-1
So my question is, to fix this do I downgrade to exiv2-0.27.6?

I use slackpkg to manage updates, so if I did downgrade would I need to blacklist exiv2 ?
 
Old 10-28-2023, 09:09 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
normally for minor mismatches like this i make a symlink to the minor version


Code:
ln -s libexiv2.so.28 libexiv2.so.27

mosst of the time this fixes the issue with Gimp
 
1 members found this post helpful.
Old 10-28-2023, 09:22 AM   #3
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by amikoyan View Post

So my question is, to fix this do I downgrade to exiv2-0.27.6?

I use slackpkg to manage updates, so if I did downgrade would I need to blacklist exiv2 ?
First I would try creating a symlink as suggested by @John VV

I've done this on numerous occasions to fix issues like this and it generally works fine until a update/patch is released


However if this does not help, to answer your questions:

Quote:
So my question is, to fix this do I downgrade to exiv2-0.27.6?
Unless you want to wait for a update / patch, yes. Though I don't know if there would be dependency issues elsewhere because of it.

Quote:
if I did downgrade would I need to blacklist exiv2
Yes, or it will update the next time you run slackpkg.
But I would blacklist the version
Code:
env2-0\.28\.0-x86_64-1
and not just the full package
Code:
env2
This way you won't (as long as my string is correct ) download the current file, but will (should) download updates / patches
 
Old 10-28-2023, 09:36 AM   #4
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,370

Rep: Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086
you have 2 options in the meantime:

- downgrade exiv2
- recompile and install gexiv2
http://ftp.slackware.com/pub/slackwa...urce/l/gexiv2/
 
1 members found this post helpful.
Old 10-28-2023, 09:46 AM   #5
amikoyan
Member
 
Registered: Mar 2021
Distribution: Slackware64 -current
Posts: 316

Original Poster
Rep: Reputation: 169Reputation: 169
Quote:
Originally Posted by marav View Post
you have 2 options in the meantime:

- downgrade exiv2
- recompile and install gexiv2
http://ftp.slackware.com/pub/slackwa...urce/l/gexiv2/
Sorry marav, by 2 options do you mean pick one of these, or first downgrade exiv2 and then recompile and install gexiv2?
 
Old 10-28-2023, 09:55 AM   #6
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,370

Rep: Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086
Quote:
Originally Posted by amikoyan View Post
Sorry marav, by 2 options do you mean pick one of these, or first downgrade exiv2 and then recompile and install gexiv2?
One of these
 
1 members found this post helpful.
Old 10-28-2023, 10:04 AM   #7
amikoyan
Member
 
Registered: Mar 2021
Distribution: Slackware64 -current
Posts: 316

Original Poster
Rep: Reputation: 169Reputation: 169
Quote:
Originally Posted by marav View Post
One of these
Thank you. I recompiled and installed gexiv2.
Gimp working fine now.
 
Old 10-28-2023, 10:08 AM   #8
amikoyan
Member
 
Registered: Mar 2021
Distribution: Slackware64 -current
Posts: 316

Original Poster
Rep: Reputation: 169Reputation: 169
Quote:
Originally Posted by John VV View Post
normally for minor mismatches like this i make a symlink to the minor version


Code:
ln -s libexiv2.so.28 libexiv2.so.27

mosst of the time this fixes the issue with Gimp
Thanks John VV, I wasn't sure where libexiv2.so.27 is on my system to make the symlink.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] gimp ufraw-gimp plugin missing libexiv2 shared library dependency rkomar Slackware 2 08-10-2023 02:08 PM
vtown upgraded from ktown: mismatch gwenview - libexiv2 fsauer Slackware 7 11-07-2020 11:08 AM
[SOLVED] error while loading shared libraries: libexiv2.so.26 BW-userx Slackware 2 11-19-2018 04:26 PM
LXer: GIMP Painter And GIMP Paint Studio Transform GIMP Into The Ultimate Painting Tool LXer Syndicated Linux News 0 02-08-2011 05:40 PM
gimp (1.3.21) and gimp-perl - need help installing gimp-perl keex Slackware 0 10-22-2003 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration