[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Problems with "make" on hpux 11.i (64-bit) and gcc compiler
Hi,
I'm trying to install Openldap 2.3.11 (I also tried the latest stable
version, i.e. Openldap 2.3.17)
on HPUX 11.i (64-bit)
I have installed successfully:
- gcc 4.0.2
- openSSL
- BDB 4.2.52 (I have used the same gcc 4.0.2 compiler to compile and install)
I have set the parameter SHLIB_PATH to /usr/local/BerkeleyDB.4.2/lib and exported it.
I ran the following command to configure Openldap:
env CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/include" LDFLAGS="-L/usr/local/Be rkeleyDB.4.2/lib" CC="gcc -mlp64" ./configure
This completed OK. I did not saw any errors.
Then I executed "make depend".
This was also executed OK.
Then I executed "make", but this is failing:
...
Entering subdirectory libldap
rm -f version.c
../../build/mkversion -v "2.3.11" libldap.la > version.c
/bin/sh ../..//libtool --mode=compile gcc -mlp64 -g -O2 -I../../includ
e -I../../include -I/usr/local/BerkeleyDB.4.2/include -DLDAP_LIBRARY -
c bind.c
mkdir .libs
gcc -mlp64 -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB.4.2/i
nclude -DLDAP_LIBRARY -c bind.c -DPIC -o .libs/bind.o
gcc -mlp64 -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB.4.2/i
nclude -DLDAP_LIBRARY -c bind.c -o bind.o >/dev/null 2>&1
/bin/sh ../..//libtool --mode=compile gcc -mlp64 -g -O2 -I../../includ
e -I../../include -I/usr/local/BerkeleyDB.4.2/include -DLDAP_LIBRARY -
c open.c
...
gcc -mlp64 -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB.4.2/i
nclude -DLDAP_LIBRARY -c version.c -DPIC -o .libs/version.o
gcc -mlp64 -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB.4.2/i
nclude -DLDAP_LIBRARY -c version.c -o version.o >/dev/null 2>&1
/bin/sh ../..//libtool --mode=link gcc -mlp64 -g -O2 -L/usr/local/Ber
keleyDB.4.2/lib -release 2.3 -version-info 1:6:1 -rpath /usr/local/lib -o libld
ap.la bind.lo open.lo result.lo error.lo compare.lo search.lo controls.lo messa
ges.lo references.lo extended.lo cyrus.lo modify.lo add.lo modrdn.lo delete.lo
abandon.lo sasl.lo sbind.lo kbind.lo unbind.lo cancel.lo filter.lo free.lo sor
t.lo passwd.lo whoami.lo getdn.lo getentry.lo getattr.lo getvalues.lo addentry.
lo request.lo os-ip.lo url.lo sortctrl.lo vlvctrl.lo init.lo options.lo print.
lo string.lo util-int.lo schema.lo charray.lo tls.lo os-local.lo dnssrv.lo utf-
8.lo utf-8-conv.lo turn.lo groupings.lo txn.lo ppolicy.lo version.lo ../../lib
raries/liblber/liblber.la -lssl -lcrypto
gcc -mlp64 -shared -Wl,+h -Wl,libldap-2.3.sl.1 -o .libs/libldap-2.3.sl.1.6 .lib
s/bind.o .libs/open.o .libs/result.o .libs/error.o .libs/compare.o .libs/search.
o .libs/controls.o .libs/messages.o .libs/references.o .libs/extended.o .libs/cy
rus.o .libs/modify.o .libs/add.o .libs/modrdn.o .libs/delete.o .libs/abandon.o .
libs/sasl.o .libs/sbind.o .libs/kbind.o .libs/unbind.o .libs/cancel.o .libs/filt
er.o .libs/free.o .libs/sort.o .libs/passwd.o .libs/whoami.o .libs/getdn.o .libs
/getentry.o .libs/getattr.o .libs/getvalues.o .libs/addentry.o .libs/request.o .
libs/os-ip.o .libs/url.o .libs/sortctrl.o .libs/vlvctrl.o .libs/init.o .libs/opt
ions.o .libs/print.o .libs/string.o .libs/util-int.o .libs/schema.o .libs/charra
y.o .libs/tls.o .libs/os-local.o .libs/dnssrv.o .libs/utf-8.o .libs/utf-8-conv.o
.libs/turn.o .libs/groupings.o .libs/txn.o .libs/ppolicy.o .libs/version.o +b
/usr/veerle/openldap/openldap-2.3.11/libraries/liblber/.libs:/usr/local/lib -L/u
sr/local/BerkeleyDB.4.2/lib ../../libraries/liblber/.libs/liblber.sl -lssl -lcry
pto -lc -mlp64
gcc: +b: No such file or directory
gcc: /usr/veerle/openldap/openldap-2.3.11/libraries/liblber/.libs:/usr/local/lib
: No such file or directory
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
#
I'm searching already several days what the problem could be, but I
can't find anything. I've checked the online documentation of OpenLDAP,
checked the FAQ, the ITS, but could not find anything. I've googled
on several words that I had the the error message. I think that I have
visited more
then 100 sites during my google search. I only saw somewhere on the
web that if you are using gcc, that you are not able to use +b, but
that you have to use something like -Wl,+b. In the command that is
failing this is not correct, but I have no idea how I can change this
or what I did wrong. I saw that for "+h" you also have to use "-Wl,+h"
and in the failing command that is done correctly.
I've also tried to re-install OpenLdap after I executed the
command "make veryclean", but still the "make" is failing. I have tried
several options like: --with-gnu-ld, --without-threads, --with-thread.
Each time I tried a new option, also did a "make veryclean". Each time
I had the same error message.
Is there somebody who can tell me what I could have done wrong? Or
give me a hint what else I could try?
Thanks,
Veerle.