From owner-freebsd-questions@FreeBSD.ORG Thu Dec 7 19:36:56 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B1D616A492 for ; Thu, 7 Dec 2006 19:36:56 +0000 (UTC) (envelope-from SRS0=ucFIFjIE=FR=asarian-host.net=admin@asarian-host.net) Received: from mail.asarian-host.net (mail.asarian-host.net [194.109.160.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BE7D43CB2 for ; Thu, 7 Dec 2006 19:36:01 +0000 (GMT) (envelope-from SRS0=ucFIFjIE=FR=asarian-host.net=admin@asarian-host.net) Received: from anonymizer.asarian-host.net (localhost [127.0.0.1]) (authenticated bits=0) by mail.asarian-host.net (8.13.8/8.13.8) with ESMTP id kB7Jar0r003207 for ; Thu, 7 Dec 2006 20:36:53 +0100 (CET) (envelope-from admin@asarian-host.net) DomainKey-Signature: q=dns; a=rsa-sha1; h=from:received-spf:message-id:date:x-authenticated-sender:subject:x-trace:organization:to:mime-version:content-type:content-transfer-encoding:x-mimeole:in-reply-to; c=nofws; s=anon; d=asarian-host.net; b=t/vvEu65ja8HmpnMuQphTFYZmF9QmpgXsrgVfOh3FbTl86kTqjY+DnziZacwt5ZxZK0AHcA4QQ+ZIVzwfQS4r9XadS9vokpdMQP6+KiZoJ3ajIzs0B/RdqueACebD+SyrrkMAajo10BDzhVwBKlTwzI2OLMUf+YcoKDSP46Q4xQ= From: Mark Received-SPF: pass (asarian-host.net: 127.0.0.1 is authenticated by a trusted mechanism) receiver=anonymizer.asarian-host.net; client-ip=127.0.0.1; envelope-from=; helo=clientrunner.asarian-host.net; Message-Id: <200612071936.kB7Japqw003199@asarian-host.net> Date: Thu, 07 Dec 2006 19:36:53 GMT X-Authenticated-Sender: admin@asarian-host.net X-Trace: y48n/Tt0mdLOkpqjC7tGmNH5v5kVZznYuAuSxe1u+UujZAFg1A85fGr/Gc9dB16i X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers, otherwise we are unable to process your complaint X-Virus-Checked: Checked by ClamAV on asarian-host.net Organization: Asarian-host To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 In-Reply-To: <200612071352562.SM00292@TX2.Go2France.com> Subject: RE: pb installing P5-BerkeleyDB X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2006 19:36:56 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Len Conrad > Sent: donderdag 7 december 2006 14:09 > To: freebsd-questions@freebsd.org > Subject: pb installing P5-BerkeleyDB > > > %cd /usr/ports/databases/p5-BerkeleyDB > %make WITH_BDB_VER=41 You seem to have a pretty old port system. Aren't they on p5-BerkeleyDB-0.31 yet? And the latest BerkeleyDB version is 4.5.20, I believe. > ===> p5-BerkeleyDB-0.25 depends on shared library: db41.1 - not found I usually compile a new BerkeleyDB (the Perl module) directly from CPAN. You do the whole "perl Makefile.PL" thingy, and then you edit "config.in" to tell it about the location of your BerkeleyDB (the database). Otherwise it cannot find the new database. Edit "config.in" like so: INCLUDE = /usr/local/BerkeleyDB.4.1/include LIB = /usr/local/BerkeleyDB.4.1/lib DBNAME = -ldb-4.1 (change the paths according to your system's locations, of course!) P.S. If you installed the database via ports, you wouldn't get a location like: "/usr/local/BerkeleyDB.4.1/lib" (if I recall correctly, you get that from running ./configure from a manual installation); but something like: "/usr/local/lib/db41/". Anyway, as long as you know where everything resides, the edit of "config.in" should do what you want. - Mark