pkgsrc-Users archive

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

Re: building packages for other NetBSD releases



On Thu, May 31, 2007 at 12:05:30PM +0200, Jukka Salmi wrote:
> This used to work fine until the newlock2 branch was merged to NetBSD's
> HEAD. Since then, building e.g. the OpenLDAP packages doesn't work
> anymore:
[...]

That's because pre newlock2 branch "libpthread" doesn't work with a
NetBSD-current kernel any more. You will need "libpthread" from
NetBSD-curren in the sandbox. Try copying it to e.g. "/usr/local/lib"
and add "/usr/local/lib" to "/etc/ld.so.conf" in the sandbox. If you
run "ldd /usr/sbin/named" it should use the "libpthread" in that
directory.

> So, what's the "supported" way of building packages for other NetBSD
> releases on a NetBSD system? Or is this considered to be a bug in
> OpenLDAP configure script's thread detection?

I don't think so.

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/



Home | Main Index | Thread Index | Old Index