[Samba] Upgrading from 4.1.4 to 4.1.6 on FreeBSD 9.2

Daniel O'Connor darius at dons.net.au
Sat Mar 15 19:09:05 MDT 2014

On 15 Mar 2014, at 10:34, Doug Sampson <dougs at dawnsign.com> wrote:
> When attempting to upgrade Samba from 4.1.4 to 4.1.6 on a FreeBSD 9.2 x86 machine, an error message is produced:
> [3554/3754] Linking default/source3/lib/netapi/examples/user/user_modalsget
> [3555/3754] Linking default/source4/utils/ntlm_auth4
> /usr/local/lib/libsamdb.so: undefined reference to `sam_rid_crypt at SAMBA_4.1.4'

At a guess it is linking against the installed libraries rather than the ones it just built.

You could either delete the old samba first (create a backup package first), or build it inside a chroot (eg use Poudriere http://www.freebsd.org/doc/handbook/ports-poudriere.html)

Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.samba.org/pipermail/samba/attachments/20140316/34018e43/attachment.pgp>

More information about the samba mailing list