Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139287 - x11-libs/pango-1.12.3 emerge fails - undefined reference to `dlclose'
Summary: x11-libs/pango-1.12.3 emerge fails - undefined reference to `dlclose'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-05 03:58 UTC by Oton V. Mahnič
Modified: 2006-07-19 13:30 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 Oton V. Mahnič 2006-07-05 03:58:41 UTC
Emerge of pango fails with error:

/bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc  -march=athlon-xp -O2 -pipe -msse2 -msse3 -Wall  -Wl,-O1 -o ottest  ottest.o disasm.o libmini-harfbuzz.la -lfreetype -lz -lfontconfig -lexpat   -lfreetype -lz
i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -msse2 -msse3 -Wall -Wl,-O1 -o ottest ottest.o disasm.o  ./.libs/libmini-harfbuzz.a /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so -lm /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so -lz
/usr/lib/libgmodule-2.0.so: undefined reference to `dlclose'
/usr/lib/libgmodule-2.0.so: undefined reference to `dlopen'
/usr/lib/libgmodule-2.0.so: undefined reference to `dlsym'
collect2: ld returned 1 exit status
make[4]: *** [ottest] Error 1
make[4]: Leaving directory `/var/tmp/portage/pango-1.12.3/work/pango-1.12.3/pango/opentype'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/pango-1.12.3/work/pango-1.12.3/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/pango-1.12.3/work/pango-1.12.3/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/pango-1.12.3/work/pango-1.12.3'
make: *** [all] Error 2

!!! ERROR: x11-libs/pango-1.12.3 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  ebuild.sh, line 1254:   Called gnome2_src_compile
  gnome2.eclass, line 64:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant. 




Emerge --info:

Portage 2.1.1_pre2-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r1-k8 i686)
=================================================================
System uname: 2.6.17-gentoo-r1-k8 i686 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE=""
ARCH="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CCACHE_SIZE="2G"
CFLAGS="-march=athlon-xp -O2 -pipe -msse2 -msse3"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
COLORTERM=""
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CVS_RSH="ssh"
CXXFLAGS="-march=athlon-xp -O2 -pipe -msse2 -msse3"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-vFMszVkGZS,guid=a77ba94487e73050fa7f172a7efc3600"
DCOP_YAKUAKE_SESSION="1"
DESKTOP_SESSION="default"
DISPLAY=":0"
DISTDIR="/usr/portage/distfiles"
DM_CONTROL="/var/run/xdmctl"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose --ask"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig ccache confcache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
FETCHCOMMAND="/usr/bin/wget -v -t 10 -S --timeout=30 --passive-ftp --limit-rate=100k ${URI} -P ${DISTDIR}"
GDK_USE_XFT="1"
GENERATION="2"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
GS_LIB="/home/otonvm/.fonts"
GTK2_RC_FILES="/home/otonvm/.gtkrc-2.0"
GTK_RC_FILES="/etc/gtk/gtkrc:/home/otonvm/.gtkrc:/home/otonvm/.kde3.5/share/config/gtkrc"
G_BROKEN_FILENAMES="1"
G_FILENAME_ENCODING="UTF-8"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info"
INPUT_DEVICES="keyboard mouse"
JAVAC="/opt/sun-jdk-1.4.2.12/bin/javac"
JAVA_HOME="/opt/sun-jdk-1.4.2.12"
JDK_HOME="/opt/sun-jdk-1.4.2.12"
KDEDIRS="/usr"
KDE_FULL_SESSION="true"
KDE_MULTIHEAD="false"
KERNEL="linux"
KONSOLE_DCOP="DCOPRef(yakuake,konsole)"
KONSOLE_DCOP_SESSION="DCOPRef(yakuake,session-1)"
LDFLAGS="-Wl,-O1"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="en_GB sl en_US"
LOGNAME="root"
MAKEOPTS="-j2"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/man:
/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man:/opt/sun-jdk-1.4.2.12/man:/etc/java-config/system-vm/man/:
/usr/qt/3/doc/man:/opt/vmware/workstation/man"
NOCOLOR="false"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa x86"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_CALLER="emerge"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_ELOG_CLASSES="info warn error"
PORTAGE_ELOG_MAILFROM="portage"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="15"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
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'"
PORTAGE_RSYNC_RETRIES="5"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise"
PRELINK_PATH=""
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.8"
PWD="/home/otonvm"
PYTHONPATH="/usr/lib/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -v -c -t 10 -S --passive-ftp --limit-rate=100k ${URI} -P ${DISTDIR}"
ROOT="/"
RPMDIR="/usr/portage/rpm"
RSYNC_TIMEOUT="60"
SESSION_MANAGER="local/gentoo:/tmp/.ICE-unix/13231"
SHELL="/bin/bash"
SHLVL="3"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USE="x86 3dnow X a52 aac acpi alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cdinstall cdparanoia cdr cli crypt cups dbus dlloader dri dts dvd dvdr eds emboss encode ffmpeg firefox flac foomaticdb fortran gdbm gif gstreamer gtk gtk2 hal imagemagick imlib isdnlog java jpeg jpeg2k kde libg++ libwww mad matroska mikmod mime mmx motif mp3 mpeg msn ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl pam pcre pdf pdflib perl pic png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl tcpd theora tiff truetype truetype-fonts type1-fonts udev usb videos vorbis win32codecs xcomposite xine xml xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_GB linguas_sl linguas_en_US userland_GNU video_cards_nvidia video_cards_vesa"
USER="root"
USERLAND="GNU"
USE_EXPAND="DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES KERNEL LINGUAS LIRC_DEVICES USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults"
VIDEO_CARDS="nvidia vesa"
VMHANDLE="sun-jdk-1.4"
WINDOWID="27291301"
XARGS="xargs -r"
XAUTHORITY="/root/.xauthrYIlHW"
XCURSOR_THEME="ComixCursors-White-Small-Slim"
XDG_CONFIG_DIRS="/usr/kde/3.5/etc/xdg"
XDG_DATA_DIRS="/usr/kde/3.5/share:/usr/share"
XDM_MANAGED="/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic"
_="/usr/bin/emerge" 

Since the error seems related to gnome libraries, I tried revdep-rebuild and reemerging glib and gtk+ with no change in error. I also tried commenting out CFLAGS, LDFLAGS and FEATURES with, again, no difference in result.
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2006-07-05 04:37:16 UTC
at first glance it looks like your missing a -ldl somewhere.

what does:
ldd /usr/lib/libgmodule-2.0.so

say?
Comment 2 Oton V. Mahnič 2006-07-05 12:00:31 UTC
(In reply to comment #1)
> at first glance it looks like your missing a -ldl somewhere.
> 
> what does:
> ldd /usr/lib/libgmodule-2.0.so
> 
> say?
> 

I says:
        linux-gate.so.1 =>  (0xffffe000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7f12000)
        libc.so.6 => /lib/libc.so.6 (0xb7df6000)
        /lib/ld-linux.so.2 (0x80000000)
Comment 3 John N. Laliberte (RETIRED) gentoo-dev 2006-07-05 13:22:30 UTC
looks like your missing the link to libdl there.

1.  can you try re-emerging "glibc" ( note the extra c ), then "glib", then trying "pango" again?

2.  If this still fails, can you attach a build log of "glib"?  
( I'm specifically interested in the configure section )

thanks.
Comment 4 Oton V. Mahnič 2006-07-06 00:56:39 UTC
(In reply to comment #3)
> looks like your missing the link to libdl there.
> 
> 1.  can you try re-emerging "glibc" ( note the extra c ), then "glib", then
> trying "pango" again?
> 
> 2.  If this still fails, can you attach a build log of "glib"?  
> ( I'm specifically interested in the configure section )
> 
> thanks.
> 

Reemerging glibc and then glib did it. I was able to emerge pango. Thank you!
Still want build log?

Comment 5 Jan Kundrát (RETIRED) gentoo-dev 2006-07-19 13:30:08 UTC
Got the same error, fixed by re-emerging glib (not glibc).