You are not logged in.

#1 2015-02-16 11:13:59

Givralix
Member
Registered: 2014-06-24
Posts: 10

[Solved] Inkscape: error while loading shared libraries

Hi! A few days ago, Inkscape started giving me this error whenever I try to launch it:

inkscape: error while loading shared libraries: libpoppler.so.48: cannot open shared object file: No such file or directory

I reinstalled both poppler and Inkscape, but it didn't change anything. Does anyone know why it happened and how to fix it, please?

Last edited by Givralix (2015-02-16 18:23:12)

Offline

#2 2015-02-16 12:11:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Inkscape: error while loading shared libraries

We're using /usr/lib/libpoppler.so.49 and inkscape 0.91-3 currently and inkscape works for me on my 32-bit Arch with [testing] repos enabled.
Check if you have the correct package versions and if /usr/lib/libpoppler.so.49 is present on your system.

Last edited by karol (2015-02-16 12:12:04)

Offline

#3 2015-02-16 12:17:37

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [Solved] Inkscape: error while loading shared libraries

Givralix wrote:

I reinstalled both poppler and Inkscape, but it didn't change anything.

Really, it didn't change *anything*?  How did you reinstall them?  Did you do a full upgrade (pacman -Syu), or did you just reinstalled the cached package file?  If you updated inkscape with pacman and get that exact same error message, then your mirror is horribly out of date - and apparently even out of sync with itself.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2015-02-16 14:08:51

mpan
Member
Registered: 2012-08-01
Posts: 1,584
Website

Re: [Solved] Inkscape: error while loading shared libraries

@OP:
Could you provide the result of the following?

pacman -Q poppler inkscape
which inkscape
ldd $(which inkscape) | fgrep libpoppler

?

As with Karol's case, my inkscape (0.93-3, x86_64) links to libpoppler.so.49...

Last edited by mpan (2015-02-16 14:10:15)


Paperclips in avatars? | Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#5 2015-02-16 17:59:49

Givralix
Member
Registered: 2014-06-24
Posts: 10

Re: [Solved] Inkscape: error while loading shared libraries

karol wrote:

We're using /usr/lib/libpoppler.so.49 and inkscape 0.91-3 currently and inkscape works for me on my 32-bit Arch with [testing] repos enabled.
Check if you have the correct package versions and if /usr/lib/libpoppler.so.49 is present on your system.

/usr/lib/libpoppler.so.49 is present and I do have inkscape 0.91-3. And the poppler package is in 0.30.0-1.

Trilby wrote:

Really, it didn't change *anything*?  How did you reinstall them?  Did you do a full upgrade (pacman -Syu), or did you just reinstalled the cached package file?  If you updated inkscape with pacman and get that exact same error message, then your mirror is horribly out of date - and apparently even out of sync with itself.

I did a few full upgrades since the problem appeared and I used "pacman -Rcsn poppler" to remove all of its dependencies (including Inkscape) at once (probably useless, but it's too late now) and installed everything again afterwards.

mpan wrote:

@OP:
Could you provide the result of the following?

pacman -Q poppler inkscape
which inkscape
ldd $(which inkscape) | fgrep libpoppler

?

As with Karol's case, my inkscape (0.93-3, x86_64) links to libpoppler.so.49...

pacman -Q poppler inkscape
poppler 0.30.0-1
inkscape 0.91-3
which inkscape
/usr/local/bin/inkscape
ldd $(which inkscape) | fgrep libpoppler
libpoppler.so.48 => not found
libpoppler-glib.so.8 => /usr/lib/libpoppler-glib.so.8 (0x00007fc9b67d0000)
libpoppler.so.49 => /usr/lib/libpoppler.so.49 (0x00007fc9af851000)

By the way, my Arch is in 64-bit ^^.

Offline

#6 2015-02-16 18:11:22

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: [Solved] Inkscape: error while loading shared libraries

Givralix wrote:
which inkscape
/usr/local/bin/inkscape

That looks like you've built your own version of inkscape which is coming up first in your path rather than the package version which should be in /usr/bin/inkscape. What else do you have in /usr/local ?

Offline

#7 2015-02-16 18:22:36

Givralix
Member
Registered: 2014-06-24
Posts: 10

Re: [Solved] Inkscape: error while loading shared libraries

mcmillan wrote:
Givralix wrote:
which inkscape
/usr/local/bin/inkscape

That looks like you've built your own version of inkscape which is coming up first in your path rather than the package version which should be in /usr/bin/inkscape. What else do you have in /usr/local ?

I totally forgot that as soon as Inkscape 0.91 was released, I built it myself...
And there's also Inkview in there.
And the Inkscape in /usr/bin works just fine, so I guess that's solved.
Thank to you all!

Offline

#8 2015-02-16 19:49:30

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: [Solved] Inkscape: error while loading shared libraries

Givralix wrote:
mcmillan wrote:
Givralix wrote:
which inkscape
/usr/local/bin/inkscape

That looks like you've built your own version of inkscape which is coming up first in your path rather than the package version which should be in /usr/bin/inkscape. What else do you have in /usr/local ?

I totally forgot that as soon as Inkscape 0.91 was released, I built it myself...
And there's also Inkview in there.
And the Inkscape in /usr/bin works just fine, so I guess that's solved.
Thank to you all!

For future reference,  if you want to build your own version it's better to modify a PKGBUILD and install that way to avoid situation like this

Offline

Board footer

Powered by FluxBB