[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 the right one.

-- 
Daniel Jacobowitz
CodeSourcery



Reply to: