[Date Prev][Date Next]
compile Error & unix streams instead of tcp (ITS#1347)
Version: openldap-2.0.11 stable
OS: Red Hat 6.2 linux (kernel 2.2.14-5.0)
Submission from: (NULL) (184.108.40.206)
I got 2 errors and am not sure if they are related to each other.
Thats the reason I am including both here.
Followed all the instructions from Admin book.
Downloaded & Installed all the required sofware
I made sure that all the configures for the
above installations pick the latest paths/versions.
LDAP Configure went fine without any errors
configure ...snip <<
checking for db.h... yes
checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb)... yes
checking for Berkeley DB thread support... yes
Here is the compilation error during make
make ...snip <<
ldbm.c: In function `ldbm_open':
ldbm.c:249: structure has no member named `set_malloc'
make: *** [ldbm.o] Error 1
make: Leaving directory
make: *** [all-common] Error 1
This error can be regenerated if BerkeleyDB(db-3.3.11) is seen during
So I commented that line, when everything went fine.
When ./slapd is started as user, it opens unix stream 389 and not tcp port 389
But when started as root, it opens tcp port 389.
My questions are
1. Why should slapd ever open unix stream. How to avoid this?
2. Is my commenting in the code causing this ?
Could you please let me know what went wrong here.