Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116478 - xmms-adplug can't find libstc++ via libtool
Summary: xmms-adplug can't find libstc++ via libtool
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-23 04:09 UTC by Alexander Jenisch
Modified: 2006-08-21 09:54 UTC (History)
1 user (show)

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


Attachments
libadplugxmms.la (libadplugxmms.la,1.03 KB, application/octet-stream)
2006-01-11 00:56 UTC, Alexander Jenisch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Jenisch 2005-12-23 04:09:09 UTC
*** Warning: linker path does not have real file for library -lstdc++.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libstdc++ and none of the candidates passed a file format test
*** using a file magic. Last file checked: libstdc++.so.5.0.7

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libadplugxmms.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.

it still gets installed, but i can't use it with xmms. don't know why, it's just not appearing in the plugins list.

root@enti $ emerge info
Portage 2.1_pre1 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-nitro2 x86_64)
=================================================================
System uname: 2.6.14-nitro2 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre12
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://213.186.33.38/gentoo-distfiles/ ftp://213.186.33.37/gentoo-distfiles/ http://213.186.33.37/gentoo-distfiles/ ftp://213.186.33.38/gentoo-distfiles/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LC_ALL="en_GB.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cdda crypt ctype curl dga divx4linux dts dvd dvdread eds emboss encode ethereal exif expat fam ffmpeg flac fortran freetype ftp gd gdbm gif glut gmp gphoto2 gpm gstreamer gtk gtk2 hal icq idn imagemagick imap imlib ipv6 ithreads java javascript jpeg jpeg2k junit kde kdeenablefinal lcms libwww lm_sensors logitech-mouse lprng lua lzw lzw-tiff mad maildir matroska mhash mikmod mime mmap mng mp3 mpeg musicbrainz mysql ncurses nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl oss pam pcre pdflib perl png posix python qt quicktime rdesktop readline real recode rtc ruby samba sasl sdl slp sndfile sockets spamassassin spell sqlite ssl stream swat symlink tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales videos vorbis wxwindows xine xml xml2 xmms xosd xpm xv xvid zeroconf zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2005-12-24 15:53:06 UTC
Could you please do the following:

1) Paste the output of `ldd /usr/bin/python`
2) Paste the output of `gcc-config -l`
3) Try resetting your gcc profile (set it to another profile, and then back to the one you were using) and building xmms-adplug.
4) If the above doesn't help, try temporarily changing your gcc profile to another one (if you have another gcc profile, that is) and building xmms-adplug.
Comment 2 Alexander Jenisch 2005-12-25 23:50:37 UTC
root@enti $ ldd /usr/bin/python
        libpython2.4.so.1.0 => /usr/lib/libpython2.4.so.1.0 (0x00002aaaaabc1000)        libpthread.so.0 => /lib/libpthread.so.0 (0x00002aaaaadea000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002aaaaaf00000)
        libutil.so.1 => /lib/libutil.so.1 (0x00002aaaab003000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/libstdc++.so.6 (0x00002aaaab106000)
        libm.so.6 => /lib/libm.so.6 (0x00002aaaab2f7000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/libgcc_s.so.1 (0x00002aaaab47d000)
        libc.so.6 => /lib/libc.so.6 (0x00002aaaab588000)
        /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)

root@enti $ gcc-config -l
 [1] x86_64-pc-linux-gnu-3.4.4 *
 [2] x86_64-pc-linux-gnu-3.4.4-hardened
 [3] x86_64-pc-linux-gnu-3.4.4-hardenednopie
 [4] x86_64-pc-linux-gnu-3.4.4-hardenednopiessp
 [5] x86_64-pc-linux-gnu-3.4.4-hardenednossp

i've tried to set it to [2] (and back) but that did nothing really.
Comment 3 Michal Januszewski (RETIRED) gentoo-dev 2005-12-31 02:24:48 UTC
Do you have the following two files?
  /usr/lib/xmms/Input/libadplugxmms.la
  /usr/lib/xmms/Input/libadplugxmms.so

If you do (and you should), please attach libadplugxmms.la and paste the output of `ldd /usr/lib/xmms/Input/libadplugxmms.so`.
Comment 4 Alexander Jenisch 2006-01-01 08:15:24 UTC
nt@enti $ slocate libadplug
/usr/share/info/libadplug.info-2.gz
/usr/share/info/libadplug.info.gz
/usr/share/info/libadplug.info-1.gz
/usr/lib64/xmms/Input/libadplugxmms.la
/usr/lib64/xmms/Input/libadplugxmms.a
/usr/lib64/libadplug-1.5.1.so.0
/usr/lib64/libadplug.so
/usr/lib64/libadplug-1.5.1.so.0.0.0
/usr/lib64/libadplug.la
/usr/lib64/libadplug.a
Comment 5 Michal Januszewski (RETIRED) gentoo-dev 2006-01-07 08:59:50 UTC
Could you please attach your /usr/lib64/xmms/Input/libadplugxmms.la?
Comment 6 Alexander Jenisch 2006-01-11 00:56:57 UTC
Created attachment 76818 [details]
libadplugxmms.la
Comment 7 Michal Januszewski (RETIRED) gentoo-dev 2006-05-14 05:54:08 UTC
Is this still an issue, or was it automagically fixed by some new version of gcc/something else?
Comment 8 Alexander Jenisch 2006-05-14 11:05:17 UTC
honestly, i didn't try any longer and i'm using audacious now.
Comment 9 Michal Januszewski (RETIRED) gentoo-dev 2006-05-14 15:56:44 UTC
OK, I'm going to close this bug as 'NEEDINFO' then. We'll reopen it if you/someone else has a similar problem with xmms-adplug.
Comment 10 Thomas Petersen 2006-08-16 07:04:18 UTC
xmms-adplug doesn't work here either.
Please see bug 76652.
It might be an amd64 issue.

BTW. It seems that xmms-adplug-1.2 works. At least that version produces a .so file instead of a .a file :-)
Comment 11 Michal Januszewski (RETIRED) gentoo-dev 2006-08-16 08:08:43 UTC
Hmm.. then it's just a problem with 1.1? If so, I guess we could make 1.2 stable and remove 1.1 from the tree.
Comment 12 Thomas Petersen 2006-08-21 09:54:42 UTC
Yes that would be an ok solution.

I have tested with different files and it plays fine.

I noticed one warning during configure though:
checking for adplug_CFLAGS... 
checking for adplug_LIBS... 
configure: WARNING: You seem to be using a version of AdPlug prior to 2.0. I will try to do the old-style library search for which i cannot check versions. Please bear in mind that i am requiring at least version 1.4.

but it works fine anyway. I have media-libs/adplug-1.5.1-r2 installed.