Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85599 - rmagick 1.7.3 can't find libMagick
Summary: rmagick 1.7.3 can't find libMagick
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-17 02:12 UTC by Timo Saarinen
Modified: 2005-08-24 09:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Saarinen 2005-03-17 02:12:05 UTC
I have added the following line to the file /etc/portage/package.keywords

    dev-ruby/rmagick

and then emerge rmagick breaks:

[...]
>>> media-gfx/imagemagick-6.2.0.4 merged.

>>> clean: No packages selected for removal.

>>> emerge (2 of 2) dev-ruby/rmagick-1.7.3 to /
>>> md5 src_uri ;-) rmagick-1.7.3.tar.bz2
>>> Unpacking source...
>>> Unpacking rmagick-1.7.3.tar.bz2 to /var/tmp/portage/rmagick-1.7.3/work
>>> Source unpacked.
Configuring RMagick 1.7.3
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ruby... /usr/bin/ruby
checking for Magick-config... Magick-config
checking for InitializeMagick in -lMagick... no
configure: error: Can't install RMagick. Can't find libMagick

!!! ERROR: dev-ruby/rmagick-1.7.3 failed.
!!! Function src_compile, Line 20, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1. add "dev-ruby/rmagick" line to file /etc/portage/package.keywords
2. emerge rmagick


Actual Results:  
The RMagick build broke. 

Expected Results:  
The RMagick should have been built.
Comment 1 Rob Cakebread (RETIRED) gentoo-dev 2005-03-19 23:37:04 UTC
I can't duplicate your error using the same versions. Did you manually install imagemagick previously? Do you just have one Magick-config on your system in /usr/bin, or another in /usr/local/bin maybe?
Comment 2 Timo Saarinen 2005-03-21 02:13:11 UTC
No, I don't have another ImageMagick installed:

    myhost root # updatedb && locate Magick-conf
    /usr/share/man/man1/Magick-config.1.gz
    /usr/bin/Magick-config
    myhost root #     

before installing RMagick and ImageMagick I tried earlier versions of ImageMagick but uninstalled them before build concerning this bug raport.

The weird thing in this bug is that the libMagick.so exists and has the InitializeMagick function:

    myhost lib # strings /usr/lib/libMagick.so | grep InitializeMagick
    InitializeMagick
    InitializeMagickResources
    InitializeMagickList
    myhost lib #  
Comment 3 rob holland (RETIRED) gentoo-dev 2005-08-24 09:19:30 UTC
Can you please test the 1.9.0 ebuild and re-open if things are still broken.