gentooLTO icon indicating copy to clipboard operation
gentooLTO copied to clipboard

run time error in media-gfx/imagemagick

Open jfikar opened this issue 3 years ago • 4 comments

I've spotted a strange error in media-gfx/imagemagick-7.0.11.12. It is also present in 7.1.0.0. It compiles fine, but a simple command fails:

$ identify some_file.jpg
identify: unable to load module '/usr/lib64/ImageMagick-7.0.11/modules-Q16/coders/jpeg.la': file not found @ error/module.c/OpenModule/1287.
identify: no decode delegate for this image format `JPEG' @ error/constitute.c/ReadImage/572.

The strange think is that the file /usr/lib64/ImageMagick-7.0.11/modules-Q16/coders/jpeg.la is actually present and look OK.

Recompiling imagemagick only with CFLAGS="-O2 -march=native -mtune=native -pipe" does not solve the issue. It must be some of the packages imagemagic depends on.

jfikar avatar Jun 19 '21 07:06 jfikar

I had the same issue but got around it by adding the following inside my package.use media-gfx/imagemagick jpeg xml

haimeh avatar Oct 02 '21 07:10 haimeh

I have tried adding USE=xml, jpeg is already present. It didn't solve the problem.

jfikar avatar Oct 02 '21 22:10 jfikar

try adding jpeg/xml USE to imlib2 iirc that error is from an imagemagik dependency, not the main package

On Sat, Oct 2, 2021, 15:13 jfikar @.***> wrote:

I have tried adding USE=xml, jpeg is already present. It didn't solve the problem.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/InBetweenNames/gentooLTO/issues/761#issuecomment-932827194, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAHXYS6QIMRU6TFQAFCUDTUE57WXANCNFSM466ZGIRA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

wolfwood avatar Oct 03 '21 03:10 wolfwood

imlib21.6.1-r2 isn't installed and it does not have USE=xml. It looks like it is not needed by imagemagick 7.1.0.5

jfikar avatar Oct 03 '21 08:10 jfikar