Re: linking problems with shared objects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux