Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237987 - app-i18n/prime: cause libsary.so.10: undefined symbol: g_strconcat
Summary: app-i18n/prime: cause libsary.so.10: undefined symbol: g_strconcat
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: CJK Team
URL: http://pub.ne.jp/anraku/?entry_id=150...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-18 07:43 UTC by Atsushi Kobayashi
Modified: 2008-09-23 00:40 UTC (History)
0 users

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 Atsushi Kobayashi 2008-09-18 07:43:57 UTC
cannot execute prime
$ prime
ruby: symbol lookup error: /usr/lib/libsary.so.10: undefined symbol: g_strconcat
$ ldd /usr/lib/libsary.so
        linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/libc.so.6 (0xb7e35000)
        /lib/ld-linux.so.2 (0x80000000)
$ ldd /usr/lib/ruby/site_ruby/1.8/i686-linux/sary.so
        linux-gate.so.1 =>  (0xffffe000)
        libruby18.so.1.8 => /usr/lib/libruby18.so.1.8 (0xb7e6e000)
        libsary.so.10 => /usr/lib/libsary.so.10 (0xb7e65000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7e34000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7e30000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7e02000)
        libm.so.6 => /lib/libm.so.6 (0xb7ddc000)
        libc.so.6 => /lib/libc.so.6 (0xb7c9a000)
        /lib/ld-linux.so.2 (0x80000000)

it seems libsary.so not linked with libglib-2.0.so.*



Reproducible: Always

Steps to Reproduce:
1.$ emerge app-i18n/prime
2.$ prime <CR>
3.




LDFLAGS=`pkg-config --libs sary` emerge -1 sary-ruby
resolve this problem temp.

I think sary-ruby-1.2.0.ebuild is currently wrong.
Comment 1 Wormo (RETIRED) gentoo-dev 2008-09-18 23:47:08 UTC
Are you using --as-needed perhaps...? 
Please post your 'emerge --info' output, it can help in reproducing such problems.
Comment 2 Atsushi Kobayashi 2008-09-19 00:11:03 UTC
 # emerge --info 
Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 Intel(R) Celeron(R) CPU 420 @ 1.60GHz
Timestamp of tree: Fri, 12 Sep 2008 01:45:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache digest distcc distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.iij.ad.jp/pub/linux/gentoo/ ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO ftp://ftp.jaist.ac.jp/pub/Linux/Gentoo/ "
LANG="ja_JP.eucJP"
LDFLAGS="-Wl,-O1"
LINGUAS="ja en en_GB"
MAKEOPTS="-j7"
PKGDIR="/var/tmp/portage-pkg"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gentoojp /usr/portage/local/layman/desktop-effects /usr/local/portage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="X aac aalib acl acpi alsa amd64 anthy asf avahi bash-completion berkdb bzip2 cddb cdr chroot cjk clamav cli cracklib crypt cups dbus dga directfb divx4linux dmx dri dvd dvdr emacs encode esd faad fam fbcon ffmpeg firefox font-server fortran freetype gd gdbm gif gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv imap imlib imlib2 ipv6 isdnlog java jpeg leim libnotify m17n-lib maildir matroska memlimit midi migemo mmx mp3 mp4 mpeg mudflap mule multilib ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp oss pam pccts pcre perl png ppds pppd pulseaudio python readline reflection rrdtool samba sasl sdl session slang softquota spell spl sqlite sqlite3 sse sse2 ssl sysfs tcltk tcpd tiff unicode virus-scan vorbis wxwindows x264 xattr xface xforms xine xinerama xml xml2 xorg xprint xulrunner xv zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ja en en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia i810 vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2008-09-23 00:40:17 UTC
dev-ruby/sary-ruby-1.2.0-r1 in cvs. thanks.