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
On Sat, Jan 19, 2013 at 07:50:31PM +0100, Emmanuel Dreyfus wrote:
> Hi
>
> Since NetBSD 6.0, dlopen() will not load libpthread.so anymore. In order
> to load a DSO that is linked against libpthread.so, 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 libc.so.12 actually resolves to a library with NEEDED
entries for libpthread and the real libc.so.12.
5) Put the mutex/condvar code into libc, if libpthread isn't loaded
use versions that do unlocked accesses and can't fail.
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index