[Bug 1002672] [NEW] apps can't be linked against libdl in 12.04
lvd
1002672 at bugs.launchpad.net
Tue May 22 06:41:48 UTC 2012
Public bug reported:
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.
** Affects: eglibc (Ubuntu)
Importance: Undecided
Status: New
--
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