[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Ranlib missing ???



Were you superuser when you ran configure? Somehow I doubt it. Most likely
since you're on a
Solaris box your superuser is missing /usr/ccs/bin from its path.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of thibault biron
> Sent: Wednesday, October 11, 2000 5:48 AM
> To: openldap-software@OpenLDAP.org
> Subject: Ranlib missing ???
>
>
> Hi,
>
> I'm having trouble while installing Openldap....
> I've run configure, make, passed the tests and now I want to install
> it...
>
> But when I want to install I got an error.......
>
> Here the log:
>
> # make install
> Making all in /opt/ldap2/openldap-1.2.11
>   Entering subdirectory include
> .
> .
> .
>   Entering subdirectory liblber
> mkdir -p /usr/local/lib
> /bin/sh /opt/ldap2/openldap-1.2.11/libtool --mode=install
> ../../build/install-sh -c  -m 644 liblber.la /usr/local/lib
> ../../build/install-sh -c -m 644 .libs/liblber.lai
> /usr/local/lib/liblber.la
> ../../build/install-sh -c -m 644 .libs/liblber.a
> /usr/local/lib/liblber.a
> ranlib /usr/local/lib/liblber.a
> /opt/ldap2/openldap-1.2.11/libtool: ranlib: not found
> *** Error code 1
> make: Fatal error: Command failed for target `install-local'
> Current working directory /opt/ldap2/openldap-1.2.11/libraries/liblber
> *** Error code 1
> make: Fatal error: Command failed for target `install-common'
> Current working directory /opt/ldap2/openldap-1.2.11/libraries
> *** Error code 1
> make: Fatal error: Command failed for target `install-common'
>
>
> It seems that there's a problem with ranlib but when I took a look at
> the 'configure' log I found this:
>
>
> # ./configure --with-ldbm-api=gdbm --without-threads
> checking for a BSD compatible install... build/install-sh -c
> checking whether build environment is sane... yes
> .
> .
> .
> checking build system type... sparc-sun-solaris2.6
> checking for ranlib... ranlib
> checking for gcc... gcc
>
> So if rhe ranlib was found while running the configure, why not during
> the install...
> I'm declared as superuser on the workstation.
>
> Thx,
>
> Thibault
>