Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 444928 - media-libs/mesa-9.0.1 - ld: ../../auxiliary//libgallium.a(u_dl.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
Summary: media-libs/mesa-9.0.1 - ld: ../../auxiliary//libgallium.a(u_dl.o): undefined ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
Depends on:
Reported: 2012-11-27 12:43 UTC by José Romildo Malaquias
Modified: 2013-02-23 19:08 UTC (History)
1 user (show)

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

Output of "emerge --info" (,16.11 KB, text/plain)
2012-11-27 12:43 UTC, José Romildo Malaquias
media-libs:mesa-9.0.1:20121127-121923.log (media-libs:mesa-9.0.1:20121127-121923.log,384.49 KB, text/plain)
2012-11-27 12:44 UTC, José Romildo Malaquias

Note You need to log in before you can comment on or make changes to this bug.
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/ so try adding it to the linker command line
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/ 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]

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 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/ 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.