Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193872 - dev-ruby/rmagick can't be loaded - shared object cannot be dlopen()ed
Summary: dev-ruby/rmagick can't be loaded - shared object cannot be dlop...
Status: RESOLVED DUPLICATE of bug 193737
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2007-09-26 14:08 UTC by Cheba
Modified: 2009-01-29 16:34 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Cheba 2007-09-26 14:08:39 UTC
RMagick installs, but when loaded throws an exception.

LoadError: shared object cannot be dlopen()ed - /usr/lib/ruby/site_ruby/1.8/i686-linux/
        from /usr/lib/ruby/site_ruby/1.8/i686-linux/
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /usr/lib/ruby/site_ruby/1.8/RMagick.rb:11
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from (irb):2

Reproducible: Always

Steps to Reproduce:
echo "require 'RMagick'" | irb
Actual Results:  

LoadError: shared object cannot be dlopen()ed - /usr/lib/ruby/site_ruby/1.8/i686-linux/
        from /usr/lib/ruby/site_ruby/1.8/i686-linux/
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /usr/lib/ruby/site_ruby/1.8/RMagick.rb:11
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from (irb):1

Expected Results:  
RMagick loaded and can be used in code.

-=>> emerge --info
Portage (default-linux/x86/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r6 i686)
System uname: 2.6.22-gentoo-r6 i686 Intel(R) Core(TM)2 CPU T5200 @ 1.60GHz
Timestamp of tree: Wed, 26 Sep 2007 09:31:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.9999
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0_rc4-r1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
CFLAGS="-march=native -msse3 -mfpmath=sse -O2 -fomit-frame-pointer -pipe -ggdb"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -msse3 -mfpmath=sse -O2 -fomit-frame-pointer -pipe -ggdb"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
LINGUAS="en en_GB ru uk"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/gentoo-china /usr/local/portage/layman/java-experimental /usr/local/portage/che"
USE="X X509 a52 aac aalib acl acpi administrator alsa amr apache2 applet asx avcodec avi bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo caps cdaudio cdr chm chroot cli contrarius cracklib cran crypt ctype cups curl daap dbus directfb disk-partition diskwrite djvu dlloader dmx dri dts dvd dvdnav dvdr dvdread eds emboss emerald enca encode eq esd etcproposals evo exif extrafilters fam fame fastbuild fastcgi fat fbcon fbsplash ffmpeg flac ftp fuse galago gd gdbm gdl gedit gif gimp glibc-omitfp glitz glsa gnome gnutls gpm gs gsf gstreamer gtk gtkhtml gucharmap hal hfs hpn iconv idn imagemagick imap imlib inkjar inquisitio intlclock ipod ipv6 isdnlog java jbig jpeg json kerberos keyring kqemu lame lastfm lcms ldap libburn libedit libg++ libnotify libsexy libssui logrotate lzo mad midi mikmod mjpeg mmap mms mmx mmxext mng modplug mono mozdevelop mp2 mp3 mp4 mpeg mplayer mpm-worker mudflap musepack mysql nas nautilus ncurses network nls nptl nptlonly nsplugin ntfs nvtv objc++ objc-gc ofa ogg ole openal opengl openmp oss pam pccts pcmcia pcre pdf pdflib pdo perl pidgin plugin png portage ppds pppd prediction python qa qt3support query-browser quicktime rar readline real reflection reiserfs resolvconf rss rtc ruby samba sdl session shout slab slang slp smp soap sockets socks5 speex spell spl sqlite srt sse sse2 ssl startup-notification svg svga syslog tcpd theora threads thumbnailing tidy tiff totem tracker truetype truetype-fonts type1-fonts ucs2 udev unicode upnp usb userpriv v4l v4l2 vcd vim vim-syntax vorbis wacom wavpack win32codecs workbench x264 x86 xanim xext xforms xine xinetd xml xmlreader xmlrpc xmlwriter xorg xscreensaver xsl xspf xulrunner xv xvid xvmc zip zlib zvbi" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CROSSCOMPILE_OPTS="headers-only" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB ru uk" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev vesa"

-=>> ruby --version
ruby 1.8.6 (2007-06-07 patchlevel 36) [i686-linux]

-=>> gcc --version
gcc (GCC) 4.2.0 (Gentoo 4.2.0 p1.4)
Comment 1 Cheba 2007-09-26 14:10:21 UTC
Here is dicussion of the same problem on CentOS:
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-09-26 14:12:44 UTC

*** This bug has been marked as a duplicate of bug 193737 ***

*** This bug has been marked as a duplicate of bug 193737 ***