tech-pkg archive

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

Re: pam-saml/cy2-saml -lpthread and NetBSD 6.0

In article <>,
David Laight  <> wrote:
>On Sat, Jan 19, 2013 at 07:50:31PM +0100, Emmanuel Dreyfus wrote:
>> Hi
>> Since NetBSD 6.0, dlopen() will not load anymore. In order
>> to load a DSO that is linked against, that library must
>> have been loaded at program startup time.
>> I see 3 way to work around this issue
>4) Run the program via a shell script that adjust the library load path
>   so that actually resolves to a library with NEEDED
>   entries for libpthread and the real
>5) Put the mutex/condvar code into libc, if libpthread isn't loaded
>   use versions that do unlocked accesses and can't fail.

5 is the way to go I think.


Home | Main Index | Thread Index | Old Index