This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

testing glibc


When I want to test an experimental glibc and do not want to mess up
my system I always did it like this

cd obj
../glibc/configure --prefix=/some/dir
make
sudo make install

LD_LIBRARY_PATH=/some/dir  program
sometimes when the program uses dlopen and crashes do
LD_LIBRARY_PATH=/some/dir   /some/dir/lib/ld-linux-x86-64.so.2 program
(or relink program)

However on recent git glibcs this doesn't work anymore. With a FC16 host
I always get

ls: error while loading shared libraries: __vdso_gettimeofday: invalid
mode for dlopen(): Invalid argument

When I run it with the new ld-linux.so it seems to be unable to read the
system shared library path, so nothing works.

What's the currently recommended way to test glibc without replacing the
system libc?

Thanks,

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]