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

Re: ia32-libs and dynamic loading paths



Thomas Steffen <steffen.list.account@gmail.com> writes:

> On 8/22/05, Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de> wrote:
>> The dlopen should use relative paths instead. That should solve the
>> problem in all cases and make ld.so.conf work for the plugins too.
>
> Maybe. But relative to what? If I interpret the man page correctly, it
> is interpreted relative to the current directory, which does not help
> at all. Relative to the library that contains the dlopen() call would
> be more helpful, but I don't see how that could be done. Relative to
> the LD_LIBRARY_PATH would also be an option.
>
> Thomas

Too bad including / makes ld.so stop looking in the library path. That
would have been the best solution.

So we are left with hardcoding the absolut path including the arch-os
bit.

MfG
        Goswin



Reply to: