[Samba] RE: Samba 'make install' chokes on textproc/expat2 & now
openldap - FreeBSD
WD at US-Webmasters.com
Mon Sep 20 22:57:45 GMT 2004
At 23:47 9/19/2004, W. D. wrote:
>At 14:24 9/19/2004, JohnsoBS at vicksburg.navy.mil, wrote:
>>Personally, unless one has great need not to, I highly recommend upgrading
>>to samba3 to start with. The perfomance gains alone I found well worth it.
>>Plus if you plan to integrate into a network with 2k/XP/2K3, it will greatly
>OK. I tried to install samba 3.0.7,1. Got the same error:
>textproc/expat2 is already installed - perhaps an older version?
>If so, you may wish to `make deinstall' and install
>this port again by `make reinstall' to upgrade it properly.
>If you really wish to overwrite the old port of textproc/expat2
>without deleting it first, set the variable "FORCE_PKG_REGISTER"
>in your environment or the "make install" command line.
>So, I went to:
>That seemed to work. So I went back to:
>and again entered:
>Got another error:
>===> samba-3.0.7,1 depends on shared library: ldap-2.2.7 - not found
>===> Verifying install for ldap-2.2.7 in /usr/ports/net/openldap22-client
>You can build openldap-client-2.2.15 with the following options:
>WITH_SASL with (Cyrus) SASL2 support
>Dependency warning: used OpenSSL version contains known vulerabilities
>Please update or define either WITH_OPENSSL_BASE or WITH_OPENSSL_PORT
>*** Error code 1
>Stop in /usr/prts/net/openldap22-client.
>*** Error code 1
>Stop in /usr/ports/net/samba3.
>OK. I Googled for this problem with all sorts of variations
>of keywords, and nothing showed that would point me in the
>What is the simple way to get past this and install Samba????
Just before the first "*** Error code 1" is a hint where
something was wrong. OpenLDAP never got compiled. The
reason it didn't was because OpenSSL wasn't installed. I
finally figured this out by doing: 'pkg_info'.
My understanding is that the way that FreeBSD is designed,
this isn't supposed to happen. Rather, if a dependency
doesn't exist, it will automatically be built. Does
this mean that the OpenLDAP port for FreeBSD needs tweaking?
In any case, I went to: /usr/ports/security/openssl/ and
did a 'make install'. That worked, so I went back to
/usr/ports/net/samba3/ did a 'make install' and it worked
Start Here to Find It Fast! -> http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names -> http://domains.us-webmasters.com/
More information about the samba