On Tue, Oct 2, 2012 at 5:17 AM, Michael <auinger@xxxxxxx> wrote: > $ ld program.so > ld: warning: libsvml.so, needed by /PATH2/libfile3.so, not found (try using > -rpath or -rpath-link) Have you tried using -rpath or -rpath-link? > Its strange to me since the directory is given in the gcc syntax and the > files are definitely there. So I can not figure out where the problem is, > but I honestly have to admit that I am not an expert. See the description of -rpath-link in the linker manual. Ian