Hello, I'm currently writing a program which load (with lt_dlopen) a libtool library called 'liborapi.so'.
This last library required 'libclntsh.so.10.1' which is an Oracle 10i library. I've got an XML file where some attribute specify some additionnal path to add to LD_LIBRARY_PATH I've then set this attribute to 1) The path where is located 'libcnltsh.so.10.1' 2) The path where is located 'liborapi.so' In my c++ program, I then use 'setenv' to modify LD_LIBRARY_PATH with the 2 path above (Before doing the setenv, the LD_LIBRARY_PATH does not countain any of the directory above). If I do: std::cerr << "LD_LIBRARY_PATH = " << getenv( "LD_LIBRARY_PATH" ) << '\n' in my C++ program, I saw the correct path (both directory to locate libclntsh and liborapi are present in the environment variable. But, when I'm doing a lt_dlopen, ltdl output the following message: "libtool could not library liborapi.so" "last libtool message : libclntsh.so.10.1: cannot open shared object file: No such file or directory" It sounds strange to me ... because, libtool is able to found liborapi but it does not find libclntsh !! Could someone help me please ? Thanks a lot. +--------------------+ + Laurent Marzullo + _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool
