This might not be something that we want to worry about right now, but
building openldap from the src.rpm fails unless libldap2-devel is
installed.

Step 1--build fails with missing "-llber"
Step 2--install libldap2-devel
Step 3--build successfully
Step 4--remove libldap2-devel
Step 5--build fails with missing "-llber"

Tail end of the compile:

/bin/sh /home/todd/RPM/BUILD/openldap-2.0.21/libtool   --mode=link cc
-rpath /usr/lib -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro
-march=i586 -ffast-math -fno-strength-reduce -fno-omit-frame-pointer
-I../../include        -I../../include       -version-info 2:14:0  -o
libldap.la bind.lo open.lo result.lo error.lo compare.lo search.lo
controls.lo messages.lo references.lo extended.lo cyrus.lo modify.lo
add.lo modrdn.lo delete.lo abandon.lo cache.lo getfilter.lo sasl.lo
sbind.lo kbind.lo unbind.lo friendly.lo free.lo disptmpl.lo srchpref.lo
dsparse.lo tmplout.lo sort.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 dn.lo os-local.lo dnssrv.lo utf-8.lo version.lo -llber
-lnsl -lresolv -ldl  -lsasl  -lssl -lcrypto 
rm -fr .libs/libldap.la .libs/libldap.* .libs/libldap.*
cc -shared  bind.lo open.lo result.lo error.lo compare.lo search.lo
controls.lo messages.lo references.lo extended.lo cyrus.lo modify.lo
add.lo modrdn.lo delete.lo abandon.lo cache.lo getfilter.lo sasl.lo
sbind.lo kbind.lo unbind.lo friendly.lo free.lo disptmpl.lo srchpref.lo
dsparse.lo tmplout.lo sort.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 dn.lo os-local.lo dnssrv.lo utf-8.lo version.lo
-llber -lnsl -lresolv -ldl -lsasl -lssl -lcrypto -lc  -Wl,-soname
-Wl,libldap.so.2 -o .libs/libldap.so.2.0.14
/usr/bin/ld: cannot find -llber
collect2: ld returned 1 exit status
make[2]: *** [libldap.la] Error 1
make[2]: Leaving directory
`/home/todd/RPM/BUILD/openldap-2.0.21/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory
`/home/todd/RPM/BUILD/openldap-2.0.21/libraries'
make: *** [all-common] Error 1

Blue skies...           Todd
-- 
  Todd Lyons -- MandrakeSoft, Inc.   http://www.mandrakesoft.com/
UNIX was not designed to stop you from doing stupid things, because 
  that would also stop you from doing clever things. -- Doug Gwyn
   Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-11mdk

Attachment: msg62651/pgp00000.pgp
Description: PGP signature

Reply via email to