[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
dlopen fails for libpthread
- From: Mike Perry <mikepery fscked org>
- To: fedora-devel-list redhat com
- Subject: dlopen fails for libpthread
- Date: Sat, 3 Jan 2004 01:36:23 -0600
It seems as if I am unable to dlopen libpthread.so.0.. I'm running
Fedora Core 1 with glibc-2.3.2-101.1 and gcc-3.3.2-1.
Is this something I'm doing wrong? or is this a real bug?
--- PASTE INTO SHELL ---
cat > tmp.c << EOF
#include <stdio.h>
#include <dlfcn.h>
int main()
{
void* handle = NULL;
if ((handle = dlopen("/lib/libpthread.so.0", RTLD_LAZY)) == NULL)
printf("Dlerror: %s\n", dlerror());
return 0;
}
EOF
gcc tmp.c -o tmp -ldl
./tmp
------------
Output is:
Dlerror: /lib/libpthread.so.0: symbol _errno, version GLIBC_2.0 not
defined in file libc.so.6 with link time reference
--
Mike Perry
Mad Computer Scientist
fscked.org evil labs
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]