[Samba] Problems compiling samba with ldap in solaris 9
Paul Gienger
pgienger at ae-solutions.com
Fri Dec 3 13:45:18 GMT 2004
> I have found the same error several times in the list, but nobody answers
>the problem.
>
>
Samba does compile just fine on Solaris 9 with openldap all the way up
to 2.2.19 (just did it yesterday). Here's what I do, since I couldn't
quite get what I would have been looking for out of your description.
Openldap config:
./configure --prefix=/opt/openldap-2.2.19 --disable-bdb --enable-crypt
I then make a link from /opt/openldap-version to /opt/openldap
I run the following commands to set env variables:
export FLAGS=-I/opt/openldap/include
export CPPFLAGS=-I/opt/openldap/include
export LDFLAGS=-L/opt/openldap/lib
export CFLAGS="-I/opt/openldap/include"
Also, make sure that crle is sane:
crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib:/opt/openldap/lib
Then this works fine
./configure --prefix=/opt/samba-3.0.9 --with-utmp --with-quotas
--with-fhs --with-acl-support --with-automount --with-ldap
make
make install
Alter paths where necessary of course
--
--
Paul Gienger Office: 701-281-1884
Applied Engineering Inc.
Systems Architect Fax: 701-281-1322
URL: www.ae-solutions.com mailto: pgienger at ae-solutions.com
More information about the samba
mailing list