Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188816 - media-libs/sdl-sound-1.0.1-r2 fails due to missing link in libggi
Summary: media-libs/sdl-sound-1.0.1-r2 fails due to missing link in libggi
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-14 12:49 UTC by doug le tough
Modified: 2007-08-14 12:54 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 doug le tough 2007-08-14 12:49:05 UTC
Trying to update my system (64 bits) via emerge -uD world, sdl-sound and all-sdl-xxx package compilation exiting with error while configure.

This not occur on a 32 bits system.

Reproducible: Always

Steps to Reproduce:
1.uninstall libggi, libsdl and all related packages or update them if needed
2. reinstall those packages in order (libggi, libsdl, sdl-xxx packages
3.

Actual Results:  
At the first sdl-xxx package installation the process stop with this error :

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!

!!! Please attach the following file when filing a report to
bugs.gentoo.org:
!!! /var/tmp/portage/media-libs/sdl-sound-1.0.1-r2
/work/SDL_sound-1.0.1/config.log

!!! ERROR: media-libs/sdl-sound-1.0.1-r2 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  sdl-sound-1.0.1-r2.ebuild, line 44:   Called 
econf '--disable-dependency-tracking' '--enable-midi' '--enable-smpeg' 
'--enable-mpglib' '--enable-flac' '--enable-speex' '--enable-mikmod' 
'--enable-modplug' '--enable-physfs' '--enable-ogg'
  ebuild.sh, line 586:   Called die


Expected Results:  
Normal installation without complaining ;-)

Found in /var/tmp/portage/concerned_package/work/concerned_package/config.log

configure:20305: checking for SDL - version >= 1.2.4
configure:20397: x86_64-pc-linux-gnu-gcc -o
conftest -march=nocona -O2 -pipe -I/usr/include/freetype2 -I/$
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: libgg.so.0, neede$
configure:20400: $? = 0
configure:20402: ./conftest
./conftest: error while loading shared libraries: libgg.so.0: cannot open
shared object file: No such fil$
configure:20405: $? = 127
configure: program exited with status 127

Could be easily solved by :
ln -s /usr/lib64/libgg.so.1.0.0 /usr/lib64/libgg.so.0
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-14 12:54:01 UTC
(In reply to comment #0)
> Could be easily solved by :
> ln -s /usr/lib64/libgg.so.1.0.0 /usr/lib64/libgg.so.0

Wrong, run revdep-rebuild.