White Paper: GNU C Library Compatibility Environment


< Prev Contents Next >

Running glibc 2.0 programs

Several applications built on glibc 2.0 systems will not run on glibc 2.1 systems. This is usually because these programs use internal glibc symbols that do not exist in glibc 2.1 libraries. Since glibc 2.0 based libraries are included in this building environment, it is possible to run some of these programs by invoking the dynamic linker by hand:

[msw@rhl60 msw]$ env LD_LIBRARY_PATH=/usr/i386-glibc20-linux/lib \
/usr/i386-glibc20-linux/lib/ld-linux.so.2 <binary>

Note that if the glibc 2.0 program uses exec() this method will not work. The wrong dynamic linker will be used for the exec() and the new program will be running against glibc 2.1.


< Prev Contents Next >