[Date Prev][Date Next]
RE: configure: error: Berkeley DB version mismatch
- To: "OpenLDAP Software List" <openldap-software@OpenLDAP.org>
- Subject: RE: configure: error: Berkeley DB version mismatch
- From: "Tay, Gary" <Gary_Tay@platts.com>
- Date: Thu, 16 Sep 2004 14:40:56 +0800
- Cc: <firstname.lastname@example.org>
- Content-class: urn:content-classes:message
- Thread-index: AcSbr8TmtH+98WeQSAaca8meN866ggAAYcxw
- Thread-topic: configure: error: Berkeley DB version mismatch
Thanks for your clarification, I certainly like to receive your
comments. Your points are valid. I may be used to some "less techies"
maillist where subscribers post all kinds of info, verified or junked or
not, and I really know more now as the result of sharing my "not so
1) As u may or may NOT be aware, a lot of Solaris8 machines do not have
GNU's binutils package (www.sunfreeware.com) installed BY DEFAULT, and
therefore do not have GNU's ld, I don't have it on my Solaris8 box,
Cameron seems to have it as he has /usr/local/bin/make.
However I can't find binutils package for Solaris9, and I could not find
Solaris9 version of /usr/local/bin/ld on my Solaris9 box, Where is your
Solaris9 GNU version of ld come from? Did u use the Solaris8 version of
binutils package for Solaris9?
# uname -r; find /usr -name ld -ls
374330 9 -rwxr-xr-x 1 root bin 8940 Apr 6 2002
473391 12 -rwxr-xr-x 1 root bin 11736 Apr 6 2002
27600 1 drwxr-xr-x 3 root bin 512 Aug 26 2002
1018353 2 -r-xr-xr-x 1 root bin 1830 Apr 6 2002
2) I would like to share this comment from www.sunfreeware.com with all
"binutils-2.11.2-sol8-sparc-local.gz This GNU package includes the GNU
versions of the ld, as, ar, nm, ranlib, strip, strings and other
programs - installs in /usr/local. With some compiles, the use of Sun
versions of these programs may be better. The Sun versions of these
utilities come from the developer SUNW packages from the Solaris CDs and
are installed in /usr/ccs/bin. Which set of utilies gets used depends on
whether /usr/local/bin (GNU) or /usr/ccs/bin (Sun) are first in the PATH
3) As Cameron seems to use Solaris8 GNU's make (/usr/local/bin/make) and
SUN's ld (/usr/ccs/bin/ld), could u comment if this is OK?
I think I prefer to follow the advice of sunfreeware, or logically have
tallied version of make and ld, be it SUN's or GNU's.
From: Quanah Gibson-Mount [mailto:email@example.com]
Sent: Thursday, September 16, 2004 1:41 PM
To: Tay, Gary; OpenLDAP Software List; firstname.lastname@example.org
Subject: RE: configure: error: Berkeley DB version mismatch
--On Thursday, September 16, 2004 11:22 AM +0800 "Tay, Gary"
> Let me clarify:
> 1) There is no issue of GNU make in Solaris "9" as Solaris "9" comes
> with GNU make and gcc and I use them also, I am not sure if there is
> issue with GNU make with Solaris "8", but some tips from Google
> advised me to use /usr/ccs/bin/make on Solaris "8" so that the object
> files generated have less issue when they are linked with
> /usr/ccs/bin/ld, again I may NOT be correct.
Let me clarify then:
I've built BDB, Heimdal Kerberos, Cyrus-SASL, and OpenLDAP on: Solaris
2.6 Solaris 7 Solaris 8 Solaris 9
All with GNU make, all with gcc, and all with GNU ld.
All of those worked just fine. There is no issue with any GNUs usage.
really comes down to how well someone knows how to build software, which
can be confusing and problematic. It isn't helped by the fact that many
OS's distribute outdated versions of the requisite software, especially
OpenLDAP and BDB. Learning to build software is an experience.
misdirection focus on the wrong things also doesn't help matters any. I
understand you are giving the best answers you know, based on the
experiences you have had. But I also want to make sure you understand
the issues you are presenting are not really issues. I make assumptions
sometimes and I've been corrected plenty of times about my mistaken
assumptions on this list as well. ;)
You might find the site I maintain about how I build OpenLDAP helpful.
Principal Software Developer
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html