question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

libMagickCore.so.5 and libcfitsio.so.3 missing on upgrade to Ubuntu 15.04

See original GitHub issue

When trying to use sharp on Ubuntu 15.04, I get errors about the absence of libMagickCore.so.5 and libcfitsio.so.3 (maybe because libmagickcore5 isn’t available in 15.04?)

Anyway, I was only able to get it working by linking to the libraries like so:

cd /usr/lib/x86_64-linux-gnu
sudo ln -sf libMagickCore-6.Q16.so libMagickCore.so.5
sudo ln -sf libcfitsio.so libcfitsio.so.3

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:19 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
binarykitchencommented, Aug 16, 2015

yeah, fixing $PKG_CONFIG_PATH was the solution.

1reaction
binarykitchencommented, Aug 16, 2015

i managed it to crack that problem myself with this:

# michael-heuberger at M1 in ~/binarykitchen/code/videomail.io on git:staging x [18:16:18]
$ echo $PKG_CONFIG_PATH                                                                                                                                     staging 


# michael-heuberger at M1 in ~/binarykitchen/code/videomail.io on git:staging x [18:16:20]
$ locate Wand.pc                                                                                                                                            staging 
/usr/lib/x86_64-linux-gnu/pkgconfig/MagickWand.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/Wand.pc

# michael-heuberger at M1 in ~/binarykitchen/code/videomail.io on git:staging x [18:16:26]
$ export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig/                                                                                               staging 

# michael-heuberger at M1 in ~/binarykitchen/code/videomail.io on git:staging x [18:17:42]
$ echo $PKG_CONFIG_PATH                                                                                                                                     staging 
/usr/lib/x86_64-linux-gnu/pkgconfig/

# michael-heuberger at M1 in ~/binarykitchen/code/videomail.io on git:staging x [18:17:45]
$ npm i                                                                                                                                                     staging 
\
> sharp@0.11.1 install /home/michael-heuberger/binarykitchen/code/videomail.io/node_modules/sharp
> node-gyp rebuild

make: Entering directory '/home/michael-heuberger/binarykitchen/code/videomail.io/node_modules/sharp/build'
  CXX(target) Release/obj.target/sharp/src/common.o
  CXX(target) Release/obj.target/sharp/src/metadata.o
  CXX(target) Release/obj.target/sharp/src/operations.o
  CXX(target) Release/obj.target/sharp/src/pipeline.o
  CXX(target) Release/obj.target/sharp/src/sharp.o
  CXX(target) Release/obj.target/sharp/src/utilities.o
  SOLINK_MODULE(target) Release/obj.target/sharp.node
  COPY Release/sharp.node
make: Leaving directory '/home/michael-heuberger/binarykitchen/code/videomail.io/node_modules/sharp/build'
sharp@0.11.1 node_modules/sharp
├── bluebird@2.9.34
├── nan@1.9.0
└── color@0.10.1 (color-convert@0.5.3, color-string@0.3.0)

there is definitely a mess with the pkg configuration …

Read more comments on GitHub >

github_iconTop Results From Across the Web

Imagemagick won't run after upgrade to 15.04 - Ask Ubuntu
When upgrading to 15.04, the imagemagick dependency changed from libMagickCore.so.5 to 6-something. I uninstalled imagemagick, purged it, ...
Read more >
Software Packages in "jammy", Subsection libdevel - Ubuntu
Qt library with support for bookmarks and the XBEL format. libkf5calendarcore-dev (5:5.92.0-0ubuntu1) [universe]: development files for kcalcore ...
Read more >
Compare Packages Between Distributions - DistroWatch.com
accountsservice 22.07.5-2ubuntu1.3 ... indicator-datetime 15.10+21.04.20210304-0ubuntu1 ... libmagickcore-6.q16-6:amd64 8:6.9.11.60+dfsg-1.3build2
Read more >
Debian -- Software Packages in "buster", Subsection libdevel
... files for the Allegro 5 library; liballjoyn-c-dev-1504 (15.04b+dfsg.1-3) ... High speed download utility (Development files); libaribb24-dev (1.0.3-2) ...
Read more >
ChangeLog.openSUSE-Leap-15.4-x86_64-aarch64-ppc64le ...
So do not build for all python3.x flavors, + but only for the main one: + + Use ... with Plasma >= 5.21.3...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found