Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 444928

Summary: media-libs/mesa-9.0.1 - ld: ../../auxiliary//libgallium.a(u_dl.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
Product: Gentoo Linux Reporter: José Romildo Malaquias <jrmalaq>
Component: [OLD] LibraryAssignee: Gentoo X packagers <x11>
Status: RESOLVED NEEDINFO    
Severity: normal CC: mattst88
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output of "emerge --info"
media-libs:mesa-9.0.1:20121127-121923.log

Description José Romildo Malaquias 2012-11-27 12:43:01 UTC
Created attachment 330724 [details]
Output of "emerge --info"

When emerging media-libs/mesa-9.0.1 I am getting the error:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld: ../../auxiliary//libgallium.a(u_dl.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libdl.so so try adding it to the linker command line
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/libdl.so: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
Comment 1 José Romildo Malaquias 2012-11-27 12:44:18 UTC
Created attachment 330726 [details]
media-libs:mesa-9.0.1:20121127-121923.log

Log produced by emerge.
Comment 2 Matt Turner gentoo-dev 2012-11-27 16:22:21 UTC
The build log shows that -ldl is linked everytime -lgallium is, so maybe something is wrong with your libdl.so file?

What does 'file /lib64/libdl-*.so' say?
Comment 3 José Romildo Malaquias 2012-11-27 16:36:13 UTC
# file /lib64/libdl-*.so
/lib64/libdl-2.16.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, stripped
Comment 4 Matt Turner gentoo-dev 2013-02-23 02:37:04 UTC
Can you reproduce this with 9.1?
Comment 5 José Romildo Malaquias 2013-02-23 09:30:46 UTC
(In reply to comment #4)
> Can you reproduce this with 9.1?

I cannot reproduce it with 9.1.

mesa-9.1 installs without problems.
Comment 6 Matt Turner gentoo-dev 2013-02-23 19:08:43 UTC
Cool. Thanks for testing. If it's okay with you, I think I won't investigate this bug further. 9.1 introduces a new build system, so anything we did to find and fix the problem in 9.0.x wouldn't help any future versions.