[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
/usr/local/BerkeleyDB.4.1/lib: file not recognized: Is a directory (ITS#2154)
Full_Name: Kjell Pålsson
Version: OpenLDAP 2.1.8
OS: redhat 7.3
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (195.252.62.168)
HI
The thing is make fails when compiling OpenLDAP 2.1.8 in redhat 7.3. If it helps
I also had trouble with configure. It did not find db.h. So I tested
"CPPFLAGS="-I /usr/local/BerkeleyDB.4.1/include" LDFLAGS="-L
/usr/local/BerkeleyDB.4.1/lib" ./configure " instead, with a perfect result.
(according the install release, I ran "make depend" before make)
[root@juridicum openldap-2.1.6]# make
Making all in /home/admin/openldap/openldap-2.1.6
Entering subdirectory include
make[1]: Entering directory `/home/admin/openldap/openldap-2.1.6/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/admin/openldap/openldap-2.1.6/include'
Entering subdirectory libraries
make[1]: Entering directory `/home/admin/openldap/openldap-2.1.6/libraries'
Making all in /home/admin/openldap/openldap-2.1.6/libraries
Entering subdirectory liblutil
make[2]: Entering directory
`/home/admin/openldap/openldap-2.1.6/libraries/liblutil'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/admin/openldap/openldap-2.1.6/libraries/liblutil'
Entering subdirectory liblunicode
make[2]: Entering directory
`/home/admin/openldap/openldap-2.1.6/libraries/liblunicode'
/bin/sh /home/admin/openldap/openldap-2.1.6/libtool --mode=link cc -static -g
-O2 -L /usr/local/BerkeleyDB.4.1/lib -o ucgendat ucgendat.o
../../libraries/liblutil/liblutil.a -lresolv -ldl
cc -g -O2 /usr/local/BerkeleyDB.4.1/lib -o ucgendat ucgendat.o
-L/home/admin/openldap/openldap-2.1.6/libraries/liblunicode
../../libraries/liblutil/liblutil.a
-lresolv -ldl
/usr/local/BerkeleyDB.4.1/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[2]: *** [ucgendat] Error 1
make[2]: Leaving directory
`/home/admin/openldap/openldap-2.1.6/libraries/liblunicode'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/home/admin/openldap/openldap-2.1.6/libraries'
make: *** [all-common] Error 1
Why would it think that "/usr/Local/BerkeleyDB.4.1/lib" would be a file ? Im
totally lost, I cant find any information about anything like this. Any
suggestions what to do about it ?
Best Regards/ Kjell "Juridicum" Pålsson