sdl-config is reporting the correct version of SDL installed but configure on various packages requiring sdl fails because it can't execute test sdl program Reproducible: Always Steps to Reproduce: emerge sdl-image or sdl-sound or other package requiring libsdl Actual Results: checking whether the x86_64-pc-linux-gnu-gfortran linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... no *** Could not run SDL test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding SDL or finding the wrong *** version of SDL. If it is not finding SDL, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system *** *** If you have an old version installed, it is best to remove it, although *** you may also be able to get things to work by modifying LD_LIBRARY_PATH configure: error: *** SDL version 1.2.0 not found! # sdl-config --version 1.2.13 # equery f libsdl | grep /usr/lib | xargs ls -ld drwxr-xr-x 152 root root 138208 Feb 12 23:57 /usr/lib64 lrwxrwxrwx 1 root root 20 Feb 11 16:46 /usr/lib64/libSDL-1.2.so.0 -> libSDL-1.2.so.0.11.2 -rwxr-xr-x 1 root root 458048 Feb 11 16:46 /usr/lib64/libSDL-1.2.so.0.11.2 -rw-r--r-- 1 root root 877956 Feb 11 16:46 /usr/lib64/libSDL.a -rw-r--r-- 1 root root 1379 Feb 11 16:46 /usr/lib64/libSDL.la lrwxrwxrwx 1 root root 20 Feb 11 16:46 /usr/lib64/libSDL.so -> libSDL-1.2.so.0.11.2 -rw-r--r-- 1 root root 818 Feb 11 16:46 /usr/lib64/libSDLmain.a drwxr-xr-x 2 root root 15144 Feb 12 23:57 /usr/lib64/pkgconfig -rw-r--r-- 1 root root 453 Feb 11 16:46 /usr/lib64/pkgconfig/sdl.pc [ebuild R ] media-libs/libsdl-1.2.13 USE="X aalib alsa custom-cflags dga directfb esd fbcon ggi libcaca nas opengl oss xinerama xv -arts -noaudio -nojoystick -novideo -pulseaudio (-svga)" 0 kB Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.21-gentoo-r3 x86_64) ================================================================= System uname: 2.6.21-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ Timestamp of tree: Tue, 12 Feb 2008 23:46:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r5, 2.5.1-r5 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-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.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" 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/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.chem.wisc.edu/gentoo/" LINGUAS="en" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" 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/local/portage" SYNC="rsync://rsync1.ca.gentoo.org/gentoo-portage/" USE="3dnow 3dnowext X Xaw3d a52 aac aalib accessibility acl acpi aiglx alsa amarok amd64 apache2 apm atm audiofile avi bash-completion berkdb bidi bitmap-fonts bonobo bzip2 cairo cddb cdparanoia cdr cjk cli cpudetection cracklib crypt css cups curl custom-cflags dba dbus dedicated dga dhcp directfb divx4linux doc dts dv dvb dvd dvdnav dvdr dvdread edl eds emboss encode escreen esd ethereal etwin evo exif extensions fam fbcon ffmpeg firefox fits flac flash fltk fluidsynth foomaticdb fortran freetds garmin gb gd gdbm geoip geos ggi gif glitz glw gmath gnome gnutls gphoto2 gpm gps gstreamer gtk gtk2 guile hal iconv imagemagick imap imlib ipod ipv6 isdnlog jack java javascript joystick jpeg kde kerberos largefile lcms libcaca libg++ libwww live lzo mad maildir matroska midi mikmod ming mmx mmxext mng modplug motif mozilla moznocompose moznoirc moznomail moznoroaming mozsvg mp2 mp3 mp4 mpeg mplayer mppe-mppc mudflap musepack musicbrainz mysql nas ncurses net network networking noauthcram nowin nptl nptlonly nsplugin nvidia oav odbc offensive ogdi ogg oggvorbis openal opengl openmp oss pam pcre pda pdf pdflib pear perl pertty php plotutils png portaudio ppds pppd python qt qt3 qt3support qt4 quicktime rdesktop readline reflection rtc ruby samba scanner sdl session sftplogging silc slang smp sndfile snmp spell spl sse sse2 ssl svg sysfs tcltk tcpd tetex tga theora tiff toolbar truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vim-pager vim-syntax vim-with-x vorbis wma wxwindows x264 xanim xcomposite xfs xine xinerama xml xml2 xorg xosd xprint xscreensaver xv xvid xvmc yv12 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia v4l vmware" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Attach some config.log here please.
Created attachment 143398 [details] sdl-sound build log
Attached log.
> !!! Please attach the following file when seeking support: > !!! /var/tmp/portage/media-libs/sdl-sound-1.0.1-r2/work/SDL_sound-1.0.1/config.log This one. ;)
Created attachment 143401 [details] sdl-sound config.log
<snip> /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libslang-utf8.so.1, needed by /usr/lib/libggi.so.2, not found (try using -rpath or -rpath-link) </snip> Run revdep-rebuild...
Re-emerging the three packages that depended on slang worked, thank you. I'll know to check out config.log next time.
*** Bug 210089 has been marked as a duplicate of this bug. ***
*** Bug 211813 has been marked as a duplicate of this bug. ***
*** Bug 213152 has been marked as a duplicate of this bug. ***
*** Bug 215294 has been marked as a duplicate of this bug. ***