From owner-freebsd-current@FreeBSD.ORG Wed Apr 23 20:00:16 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51955106566B for ; Wed, 23 Apr 2008 20:00:16 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.230]) by mx1.freebsd.org (Postfix) with ESMTP id 0FDE38FC28 for ; Wed, 23 Apr 2008 20:00:15 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1787245rvf.43 for ; Wed, 23 Apr 2008 13:00:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=REfd6dagCUF2OPGronlNghElFDSvIxJPrd8+YJuBKIk=; b=EfGquy0iuFQPkvXpp3m7uHpOfzQa0Tzf5YnFdeisxhWxXYeaf3BFqJcqgDj9kth97XzzIadSuNdggetm0nBzukeakPMC74O7njrpSx3k7FSbrkulIBrxEkCbNPcVGbhke979au9K60J6oiM8yGuRedmdObE2TV/uDYvl4YqOKgA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QmlWo0IvntFd+7sAGXPpBwxUsKi43o/cLhwrk8cFaLu2AEqy0nWP+Kx+Shx0XU0NRn96ippNVzkzLOSYmZFpvs+/ysP0otsFiuLqRBiiFkBQl3tG4irYBesuAMWQQBNqqlPvdNwmHW6FnoemAnVcUP9hLZ0eKVmviOaJL/JrKMI= Received: by 10.141.79.12 with SMTP id g12mr801582rvl.126.1208979301977; Wed, 23 Apr 2008 12:35:01 -0700 (PDT) Received: by 10.140.191.11 with HTTP; Wed, 23 Apr 2008 12:35:01 -0700 (PDT) Message-ID: <790a9fff0804231235n2cf6d95dle30340c0578b666c@mail.gmail.com> Date: Wed, 23 Apr 2008 14:35:01 -0500 From: "Scot Hetzel" To: "Nasier Jaffer" In-Reply-To: <000c01c8a54f$472537c0$086517ac@Nasier> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <000c01c8a54f$472537c0$086517ac@Nasier> Cc: freebsd-current@freebsd.org Subject: Re: Berkeley DB package compatibility issue X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2008 20:00:16 -0000 On 4/23/08, Nasier Jaffer wrote: > Hello > > I am trying to install Apache, OpenlDAP and p5-BerkeleyDB-0.32 on FreeBSD 7.0-RELEASE #0:. These are all done from the package system. > > ie pkg_add -r package_name > > apache-2.2.6_2 Version 2.2 of Apache web server with prefork MPM > openldap-client-2.3.41 Open source LDAP client implementation > openldap-server-2.3.41 Open source LDAP server implementation > p5-BerkeleyDB-0.32 Perl5 interface to the Berkeley DB package > > The resultant dependencies of these packages regarding Berkeley DB is as follows > > db41-4.1.25_4 The Berkeley DB package, revision 4.1 > db42-4.2.52_5 The Berkeley DB package, revision 4.2 > db44-4.4.20.4 The Berkeley DB package, revision 4.4 > > apache-2.2.6_2 requires db42-4.2.52_5 > p5-BerkeleyDB-0.32 requires db41-4.1.25_4 > openldap-server-2.3.41 requires db44-4.4.20.4 > > This is causing some serious issues when running some perl modules in apache. > > [Wed Apr 23 15:24:03 2008] [error] \nBerkeleyDB needs compatible versions of libdb & db.h\n\tyou have db.h version 4.1.25 and libdb version 4.4.20\nCompilation failed in require at /usr/local/lib/perl5/site_perl/Seshat.pm line 4, line 228.\nBEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/Seshat.pm line 4, line 228.\nCompilation failed in require at /var/www/cgi-bin/rs/logon.pl line 32, line 228.\nBEGIN failed--compilation aborted at /var/www/cgi-bin/rs/logon.pl line 32, line 228.\n > > Can someone please assist me with solving this problem. Your help is greatly appreciated. > Try setting WITH_BDB_VER in your make.conf file, and rebuild the ports: WITH_BDB_VER=44 If you have other bdb ports installed, and you want to use the latest version, then set WITH_BDB_HIGHEST in make.conf. Scot