You are not logged in.
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 directoryI 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
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
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
@OP:
Could you provide the result of the following?
pacman -Q poppler inkscapewhich inkscapeldd $(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
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.
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.
@OP:
Could you provide the result of the following?pacman -Q poppler inkscapewhich inkscapeldd $(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-3which inkscape
/usr/local/bin/inkscapeldd $(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
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
Givralix wrote:which inkscape /usr/local/bin/inkscapeThat 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
mcmillan wrote:Givralix wrote:which inkscape /usr/local/bin/inkscapeThat 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