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 08-11-2016, 03:43 PM   #1
przemo
Member
 
Registered: Feb 2016
Location: cork.ie
Distribution: Slackware-current
Posts: 162

Rep: Reputation: Disabled
geeqie


problem with running geeqie

Code:
geeqie 
geeqie: error while loading shared libraries: libjbig.so.0: cannot open shared object file: No such file or directory
 
Old 08-11-2016, 03:58 PM   #2
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
That's weird. Did you install it separately on a non-Full Slackware installation?
What type of install did you do? Are you still on 14.1? Need more info.
 
Old 08-11-2016, 04:12 PM   #3
przemo
Member
 
Registered: Feb 2016
Location: cork.ie
Distribution: Slackware-current
Posts: 162

Original Poster
Rep: Reputation: Disabled
i`ve upgraded to 14.2 from 14.1
 
Old 08-11-2016, 04:32 PM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Out of curiosity, what package do you have installed for it?

Code:
jbhansen@febtober:~$ ls -la /var/log/packages/geeqie*
-rw-r--r-- 1 root root 8631 Jul  2 14:51 /var/log/packages/geeqie-1.3-x86_64-1
Either way, I would reinstall that package. I can run it on my 14.2 installation without having libjbig.so.0 on the filesystem.

Code:
slackpkg reinstall geeqie
 
Old 08-11-2016, 04:35 PM   #5
przemo
Member
 
Registered: Feb 2016
Location: cork.ie
Distribution: Slackware-current
Posts: 162

Original Poster
Rep: Reputation: Disabled
Code:
ls -la /var/log/packages/geeqie*
-rw-r--r-- 1 root root 8602 Aug 11 21:28 /var/log/packages/geeqie-1.3-x86_64-1

solved

https://www.rpmfind.net/linux/rpm2ht...%29%2864bit%29

Last edited by przemo; 08-11-2016 at 05:28 PM.
 
Old 08-11-2016, 05:16 PM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
you probably have some library to which geeqie links to, also indirectly, that, in turns, links to libjbig.so.0.

to find it you can use objdump
Code:
$ objdump -x /usr/bin/geeqie | grep NEEDED
  NEEDED               libgtk-3.so.0
  NEEDED               libgdk-3.so.0
  NEEDED               libpangocairo-1.0.so.0
  NEEDED               libpango-1.0.so.0
  NEEDED               libatk-1.0.so.0
  NEEDED               libcairo-gobject.so.2
  NEEDED               libcairo.so.2
  NEEDED               libgdk_pixbuf-2.0.so.0
  NEEDED               libgio-2.0.so.0
  NEEDED               libgobject-2.0.so.0
  NEEDED               libglib-2.0.so.0
  NEEDED               libgthread-2.0.so.0
  NEEDED               libjpeg.so.62
  NEEDED               libtiff.so.5
  NEEDED               liblcms2.so.2
  NEEDED               libexiv2.so.14
  NEEDED               libstdc++.so.6
  NEEDED               libm.so.6
  NEEDED               libgcc_s.so.1
  NEEDED               libpthread.so.0
  NEEDED               libc.so.6
use objdump on the resulting libraries, and so on until you find what links to libjbig.so.0.

when you find it check which package contains it (grepping /var/log/packages/*) and you most probably will understand why this is happening.

Last edited by ponce; 08-11-2016 at 05:18 PM.
 
1 members found this post helpful.
Old 08-11-2016, 06:03 PM   #7
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by przemo View Post
Code:
ls -la /var/log/packages/geeqie*
-rw-r--r-- 1 root root 8602 Aug 11 21:28 /var/log/packages/geeqie-1.3-x86_64-1

solved

https://www.rpmfind.net/linux/rpm2ht...%29%2864bit%29
How did that solve your problem?
 
Old 08-12-2016, 04:12 PM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by przemo View Post
No wonder you're having problems like this.
 
2 members found this post helpful.
Old 08-12-2016, 04:31 PM   #9
przemo
Member
 
Registered: Feb 2016
Location: cork.ie
Distribution: Slackware-current
Posts: 162

Original Poster
Rep: Reputation: Disabled
re: @dougan
have you better solution???
i know this one wasn`t clean but at least it works.
 
Old 08-12-2016, 05:20 PM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by przemo View Post
re: @dougan
have you better solution???
i know this one wasn`t clean but at least it works.
The best solution would've been to follow ponce's advice and find what is linking to libjbig. If you've installed other programs using rpmfind or another packaging repo, that is probably your issue. You would need to install any dependencies that the rpm was compiled against to prevent other linking issues like this.

But if you at least wanted a better solution than what you did, I would've probably compiled jbigkit from SBo (although, I would've done ponce's route, as that helps you find the installed program that is causing you problems... if it's one you need, then you can recompile it with the dependencies on your computer).

https://slackbuilds.org/repository/1...aries/jbigkit/
 
Old 08-12-2016, 05:52 PM   #11
przemo
Member
 
Registered: Feb 2016
Location: cork.ie
Distribution: Slackware-current
Posts: 162

Original Poster
Rep: Reputation: Disabled
it looks like i will have to spend whole night to find that package.
 
Old 08-12-2016, 06:08 PM   #12
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
You could save the following as a file and then run it. It only checks one level, and has the location hardcoded to /usr/lib64/, but it might be enough to find what is causing your problem (otherwise, I would need to try and find an easy way to loop it further).

Code:
for i in $(objdump -x /usr/bin/geeqie | grep NEEDED | awk '{print $2}'); do
  echo ===== For $i =====
  objdump -x /usr/lib64/$i | grep NEEDED
done
If you save it as something like objdump-check, you could then run sh objdump-check and scroll through the results to see if it finds anything.

NOTE: I tried using a grep on the output of objdump-check, but it broke it (not sure why), but you can redirect the output to a file and then search the file for jbig.
 
  


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] geeqie update for 14.x lazardo Slackware 1 09-17-2015 05:36 PM
geeqie-1.1 is out Thom1b Slackware 1 08-14-2012 08:44 PM
geeqie NULL pointer guanx Slackware 1 05-25-2010 02:52 AM
[SOLVED] geeqie on x86_64 disturbed1 Slackware 2 05-18-2010 02:31 AM
What about geeqie ? Thom1b Slackware 19 03-19-2010 12:09 AM

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

All times are GMT -5. The time now is 11:20 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