Samba install failing

Jean-Paul Natola jnatola at
Fri Oct 13 11:00:47 PDT 2006

Hi all

I've been trying to install samba for 3 days no success,

Freebsd 5.4 

This is the error I get

===>  Building for samba-3.0.23c_2,1
Using FLAGS =  -O -pipe -D_SAMBA_BUILD_
-I/usr/ports/net/samba3/work/samba-3.0.23c/source/iniparser/src -Iinclude
-I/usr/ports/net/samba3/work/samba-3.0.23c/source/tdb  -I. -DHAVE_CONFIG_H
-I/usr/local/include -I/usr/ports/net/samba3/work/samba-3.0.23c/source
      LIBS = -lcrypt -liconv
      LDSHFLAGS = -shared  -L/usr/local/lib
      LDFLAGS = -L/usr/local/lib
      PIE_CFLAGS = -fPIE
      PIE_LDFLAGS = -pie
Compiling sam/idmap_ad.c with -fPIC -DPIC
sam/idmap_ad.c: In function `ad_idmap_check_attr_mapping':
sam/idmap_ad.c:62: error: `LDAP_NO_MEMORY' undeclared (first use in this
sam/idmap_ad.c:62: error: (Each undeclared identifier is reported only once
sam/idmap_ad.c:62: error: for each function it appears in.)
*** Error code 1

Stop in /usr/ports/net/samba3/work/samba-3.0.23c/source.
*** Error code 1

And when I try to install it from sysinstall this is the error I get;

│Add of package libiconv-1.9.2_1 aborted, error code 1 -  │
                    │Please check the debug screen for more info.

Jean-Paul Natola
Network Administrator
Information Technology
Family Care International
588 Broadway Suite 503
New York, NY 10012
Phone:212-941-5300 xt 36
Fax:  212-941-5563
Mailto: Jnatola at

More information about the freebsd-questions mailing list