[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
2.0.7 compile error on HP-UX 11: SLURPD_LIBS not found
Hi.
Like previous posters in this group, I got an error about SLURPD_LIBS not
found when compiling on HP-UX 11.
Unlike those posters, however, simply changing the SLAPD_LIBS line in the
top-level Makefile after running configure didn't work. Instead, edit
build/top.mk before running configure and change
SLAPD_LIBS = @SLAPD_LIBS@ \
@SLAPD_SQL_LDFLAGS@ @SLAPD_SQL_LIBS@
(two lines) to read
SLAPD_LIBS = @SLAPD_LIBS@ @SLAPD_SQL_LDFLAGS@ SLAPD_SQL_LIBS@
all on one line. After this, make and all supplied tests ran OK for me; I
haven't run it on my own data yet.
My configure command was:
CPPFLAGS="-I/opt/gdbm/include" \
LDFLAGS="-L/opt/gdbm/lib" \
CC="/opt/gcc/bin/gcc" \
LIBS="-lpthread" \
./configure \
--enable-shared \
--prefix=/usr/local/openldap \
--with-ldbm-api=gdbm \
--enable-slurpd
Hope this helps somebody,
Klaus Jørgensen
Systems administrator,
TELE Greenland
email: klj@tele.gl
tlf.: (+299) 341653