Hi
I need to execute a program which uses Linux Threads under FC5, as documented here
https://www.redhat.com/archives/fedo.../msg00217.html the new GLIBC 2.4.4-4 doesn't have Linux Threads, FC5 replaced it with the new thread library implementation called "NPTL".
As a result, applications which try to use the old threading methods will experience
"failure to communicate"
Goggling around I found that here is a feature of glibc that allows running an app under a completely different glibc. This feature is used when testing a new glibc. Invoke ld-linux directly and specify "--library-path list
f:directories" (which overrides LD_LIBRARY_PATH for this execve only) before the rest of the command line:
/path/to/old/glibc/ld-linux.so.2 --library-path /path/to/old/glibc:$LD_LIBRARY_PATH app
I have a copy of glibc 2.3.2 under /opt/glibc_antiguo
When I try: /opt/glibc_antiguo/lib/ld-linux.so.2 --library-path /opt/glibc_antiguo/lib /home/ora10g/client10gR2/bin/oemapp console
This is the result:
/home/ora10g/client10gR2/bin/oemapp: error while loading shared libraries: /home/ora10g/client10gR2/bin/oemapp: invalid ELF header
Of course the app is not loaded...
Does anyone know the solution or another workaround to execute an app which needs Linux Threads under FC5?
Thanks in advance
Regards