octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: imread(): libGraphicsMagick++.so.3: cannot open shared object file:


From: cpikou
Subject: Re: imread(): libGraphicsMagick++.so.3: cannot open shared object file: No such file or directory
Date: Sat, 25 Jul 2015 05:25:17 +0000 (UTC)

The "imread()" problem was solved with defining:
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/.../graphics_magick-1.3.21_g++_5.1/lib/pkgconfig
and rebuilding octave from source.

thanks,
chris
 




 





On Monday, 20 July 2015, 15:04, "address@hidden" <address@hidden> wrote:


Following the bug #45569 report, I was asked to email in the help mailing list about the problem for running "imread".

I have installed octave-4.0.0 (with g++5.1) from source with the distros "GraphicsMagick" (from binary rpm based on g++4.4.7).
Then built image-2.4.0 (with g++5.1). After the octave build, because of the " D_GLIBCXX_USE_CXX11_ABI" issue, I installed "GraphicsMagick" from source with g++5.1 (
added the path in LD_LIBRARY_PATH) and removed the distro "GraphicsMagick". Then the "imread" call gives the error:

a=imread(fname)

error: default_formats: /usr/.../octave-4.0.0_g++_5.1/lib/octave/4.0.0/oct/i686-pc-linux-gnu/__magick_read__.oct: failed to load: libGraphicsMagick++.so.3: cannot open shared object file: No such file or directory
error: called from
imformats>default_formats at line 256 column 11
imformats at line 79 column 3
imageIO at line 106 column 11
imread at line 106 column 30

with the following information:

ldd /usr/.../lib/octave/4.0.0/oct/i686-pc-linux-gnu/__magick_read__.oct| grep -i magick
libGraphicsMagick++.so.3 => not found
libGraphicsMagick.so.3 => /usr/.../graphics_magick-1.3.21_g++_5.1/lib/libGraphicsMagick.so.3 (0x001b3000)

The folder "/usr/.../graphics_magick-1.3.21_g++_5.1/lib" contains the following libs:

libGraphicsMagick++.so.11.0.0
libGraphicsMagick++.la
libGraphicsMagick.la
libGraphicsMagick.so -> libGraphicsMagick.so.3.13.0
libGraphicsMagick++.so.11 -> libGraphicsMagick++.so.11.0.0
libGraphicsMagickWand.so.2 -> libGraphicsMagickWand.so.2.7.1
libGraphicsMagickWand.so -> libGraphicsMagickWand.so.2.7.1
libGraphicsMagick.so.3 -> libGraphicsMagick.so.3.13.0
libGraphicsMagick++.so -> libGraphicsMagick++.so.11.0.0
libGraphicsMagickWand.so.2.7.1
libGraphicsMagickWand.la
libGraphicsMagick.so.3.13.0

If I add a link into the folder "/usr/.../graphics_magick-1.3.21_g++_5.1/lib":
libGraphicsMagick++.so.3 -> libGraphicsMagick++.so (pointing to: libGraphicsMagick++.so.11.0.0)

octave gives the error:

>> a=imread(fname)

error: _imread_: /usr/.../octave/4.0.0/oct/i686-pc-linux-gnu/__magick_read__.oct: failed to load: /usr/.../octave/4.0.0/oct/i686-pc-linux-gnu/__magick_read__.oct: undefined symbol: _ZN6Magick5ColorC1Ehhh
error: called from
_imread_ at line 86 column 10
imageIO at line 117 column 26
imread at line 106 column 30

thank you,
chris





 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]