This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
testing glibc
- From: Andi Kleen <andi at firstfloor dot org>
- To: libc-alpha at sourceware dot org
- Date: Fri, 22 Jun 2012 22:25:47 +0200
- Subject: 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.