Thank you for the all the answers.
Good! Did you, as root, also run "/sbin/ldconfig" after adding the line and before compiling? That's necessary to "register" the changed ld.so.conf
Yes i ran ldconfig as root.
If this doesn't solve the problem, tell us exactly how you invoke the compilation. With ./configure && make?
the code is licensed and is mainly writen in fortran... i use a file provided by the seller to compile it. I can compile it perfectly on an older linux version, like redhat9, that's why i'm trying to use older version of the libs.
Is there any way to tell gcc to use only a specific version of the libs, so i'd tell to use only the older one, located at: /usr/lib/gcc-lib/i386-redhat-linux7/2.96/
thank you, nelson