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
David Laight <david%l8s.co.uk@localhost> wrote:
> 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.
This is almost option 1 and it does not work: sendmail forks and loose
the environment I try to give it.
> 5) Put the mutex/condvar code into libc, if libpthread isn't loaded
> use versions that do unlocked accesses and can't fail.
pam-saml, cy2-saml and lasso do not use mutex or condvar or any
thread-related stuff. They just get the libpthread.so dependency because
lasso is linked with libgobject-2.0.so and that one has some
thread-related stuff in it. In fact I would be happy if I could strip
the libpthread dependency from the binaries, but I am not sure we have
tools to do that.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index