FS#44055 - [octave] imread() fails to find shared library

Attached to Project: Arch Linux
Opened by Ian Sage (ian11213) - Thursday, 05 March 2015, 10:56 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 06 March 2015, 04:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Gaetan Bisson (vesath)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Attempted use of image package imread function to load an image, gives error:
failed to load: libGraphicsMagick++.so.3: cannot open shared object file: No such file or directory

Additional info:
Octave 3.3.2; packages general-1.3.2, control-2.6.1, specfun-1.1.0, signal-1.2.2 and image-2.0.0 installed locally by commands:
pkg install -forge <package-name>

graphicsmagick-1.3.21-1 is installed and libGraphicsMagick++.so.3 is present in /usr/lib

Steps to reproduce:
octave:1> pkg load image
octave:2> img=imread('lena.png');

Same error with .jpg image.

Full error response:
error: default_formats: /usr/lib/octave/3.8.2/oct/x86_64-unknown-linux-gnu/__magick_read__.oct: failed to load: libGraphicsMagick++.so.3: cannot open shared object file: No such file or directory
error: called from:
error: /usr/share/octave/3.8.2/m/image/imformats.m at line 255, column 11
error: /usr/share/octave/3.8.2/m/image/imformats.m at line 78, column 3
error: /usr/share/octave/3.8.2/m/image/private/imageIO.m at line 60, column 7
error: /usr/share/octave/3.8.2/m/image/imread.m at line 107, column 30
This task depends upon

Closed by  Gaetan Bisson (vesath)
Friday, 06 March 2015, 04:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  octave-3.8.2-5 in [extra]
Comment by Doug Newgard (Scimmia) - Thursday, 05 March 2015, 13:46 GMT
Looks like an soname bump without a todo list. The current lib is actually libGraphicsMagick++.so.11, you were probably looking at libGraphicsMagick.so.3 when you thought it was present.
Comment by Gaetan Bisson (vesath) - Thursday, 05 March 2015, 19:36 GMT
This should be fixed with octave-3.8.2-5, currently uploading to [extra]. Could you confirm that?
Comment by Ian Sage (ian11213) - Thursday, 05 March 2015, 22:53 GMT
That fixed it for me. Many thanks for the rapid response.

Loading...