pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/24456
On Sat, Jan 22, 2005 at 06:51:13PM +0100, Marc Recht wrote:
> >Synopsis: samba doesn't build with SAMBA_WITH_ADS
> >
> >State-Changed-From-To: open->feedback
> >State-Changed-By: wiz%netbsd.org@localhost
> >State-Changed-When: Mon, 27 Dec 2004 22:12:36 +0000
> >State-Changed-Why:
> >Feedback requested (ages ago).
>
> Sorry, I totally forgot about this problem..
Heh, so did I...
> >Is this problem still there?
>
> Yes, I tried samba-3.0.10nb2 on NetBSD 2.0_RELEASE/i386.
> I've uploaded the config.log to: http://www.geht.de/samba_config.log
The problem seems to be that the samba configure script is not linking
-lcrypto along with -lkrb5, which leads to missing symbols. It turns
out the configure script detects libcrypto.so by trying to find the
des_set_key symbol in the library. However, on NetBSD>=2.0, libcrypto.so
doesn't have the old DES API symbols (des_*), so this check fails,
and subsequently, -lcrypto isn't passed to the linker when test-linking
against -lkrb5. This isn't a problem if samba is built against the
pkgsrc Heimdal since in that case, libcrypto.so *does* still have the
old DES API symbols in the library.
This does make me wonder how net/samba passes the bulk builds since
AFAIK, the bulk build machines just use the native Heimdal, and should
also be experiencing this problem.
Please try dropping the attached file as patch-ah in the patches
directory and seeing if that lets the configure process get farther
along.
Thanks,
-- Johnny Lam <jlam%NetBSD.org@localhost>
Home |
Main Index |
Thread Index |
Old Index