On Wed, 8 Jul 1998, Glynn Clements wrote:
>
> > dependancies I see that the file it is trying to open in
> > /usr/lib/test.so which is not where it is. It never looks in the dirs
> > that I specified with the -rpath and the -rpath-link options to the
> > linker.
>
> I think that -rpath only applies when running executables, not for
> dlopen(). -rpath-link is only used by the linker; the path isn't
> stored in the file which the linker creates.
>
If you specify a path when you link i.e: /xxx/yyy/zzz.so it store the
path in executables and it goes directly to that file.
You can try with absolute path if you know that in all systems where your
program will run the library will be in same place.
------------------------------------------------------------------------------
Best wishes,
Marcel - Titus MARGINEAN
[EMAIL PROTECTED], [EMAIL PROTECTED]