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