Bug#419103: version GLIBC_PRIVATE not defined in libc.so.6, while loading librt.so

2007-04-13 Thread balodja
Package: libc6 Version: 2.3.6.ds1-13 Severity: important Here is an example that demonstrates the bug: % cat test.c #include dlfcn.h #include stdio.h #include stdlib.h int main() { void *hdl; char *libname = librt.so, *errmsg; hdl = dlopen(libname, RTLD_NOW); if(hdl

Bug#419103: version GLIBC_PRIVATE not defined in libc.so.6, while loading librt.so

2007-04-13 Thread Daniel Jacobowitz
On Fri, Apr 13, 2007 at 09:09:23PM +0400, balodja wrote: char *libname = librt.so, *errmsg; hdl = dlopen(libname, RTLD_NOW); Never do that. If you want to dlopen librt, pick a SONAME to request in the source code or at compile time: dlopen (librt.so.1, RTLD_NOW). Then you'll get