Compiling Problem Samba with ADS Support

Alberto Patino jalbertop at
Fri Jul 11 15:46:29 GMT 2003

On Fri, 2003-07-11 at 09:47, stephan.theiler at wrote:
>  Hy together
> I have a Problem with compiling Samba 3.0Beta2  with ADS Support on Solaris
> 9 with gcc version 2.95.3
> I have the  openldap-2.1.22 installed.
> I get the following Error in the make Section
> Linking bin/smbd
> Undefined                       first referenced
>  symbol                             in file
> ber_printf                          passdb/pdb_ldap.o  (symbol belongs to
> implicit dependency /usr/local/lib/

Easy answer.

In the Makefile replace all the strings '-lldap' with '-lldap -llber'

Alberto Patiño

More information about the samba-technical mailing list