[Bug 1002672] Re: apps can't be linked against libdl in 12.04
lvd
1002672 at bugs.launchpad.net
Tue May 22 10:43:23 UTC 2012
my info about eglibc is wrong:
===
lvd at ubuserv1204:~$ dpkg --search libdl
libc6: /lib/x86_64-linux-gnu/libdl.so.2
libc6-dev: /usr/lib/x86_64-linux-gnu/libdl.so
libc6-dev: /usr/lib/x86_64-linux-gnu/libdl.a
libc6: /lib/x86_64-linux-gnu/libdl-2.15.so
===
so libc6 is probably the cause.
Also,
===
lvd at ubuserv1204:~$ gcc --print-file-name=libdl.so
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libdl.so
===
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/1002672
Title:
apps can't be linked against libdl in 12.04
Status in “eglibc” package in Ubuntu:
New
Bug description:
An example program:
===
#include <stdio.h>
#include <dlfcn.h>
main()
{
dlopen("/lib/example.so", RTLD_NOW);
}
===
and its compilation gives:
===
lvd at ubuserv1204:~/tmp/dltest$ gcc -c dltest.c
lvd at ubuserv1204:~/tmp/dltest$ gcc -ldl -o dltest dltest.o
dltest.o: In function `main':
dltest.c:(.text+0xf): undefined reference to `dlopen'
collect2: ld returned 1 exit status
===
This bug exists in i386, pure amd64 and in multilib (both with -m32
option to gcc and without).
Please ask me for additional info.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1002672/+subscriptions
More information about the foundations-bugs
mailing list