From owner-freebsd-ports@FreeBSD.ORG Fri Jun 11 09:08:56 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFE841065679 for ; Fri, 11 Jun 2010 09:08:56 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 6AB548FC22 for ; Fri, 11 Jun 2010 09:08:55 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1ON0EO-0004kn-7n for freebsd-ports@freebsd.org; Fri, 11 Jun 2010 11:08:52 +0200 Received: from 91.205.197.96 ([91.205.197.96]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Jun 2010 11:08:52 +0200 Received: from jumper99 by 91.205.197.96 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Jun 2010 11:08:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org connect(): No such file or directory From: "Helmut Schneider" Date: Fri, 11 Jun 2010 09:08:42 +0000 (UTC) Lines: 67 Message-ID: References: <4C1166C6.600@FreeBSD.org> <4C11E9EB.6080101@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 91.205.197.96 User-Agent: XanaNews/1.19.1.269 X-Ref: news.gmane.org ~XNS:00000055 Subject: Re: amavisd-new does not compile because of db42 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2010 09:08:57 -0000 Gabor Kovesdan wrote: > > > >===> Running ldconfig > > /sbin/ldconfig -m /usr/local/lib > >===> Registering installation for db42-4.2.52_5 > >===> Returning to build of amavisd-new-2.6.4_6,1 > > Error: shared library "db-4.2.2" does not exist > > *** Error code 1 > > > > Stop in /usr/ports/security/amavisd-new. > > *** Error code 1 > > > > > It seems that it cannot find the library but amavisd-new uses the > USE_BDB know from bsd.databases.mk just like quite a bunch of other > ports, so the dependency definition is obviously correct. I don't > know what causes this error and I haven't got any more PRs from other > users. Soon, I'll bump the required version again because after the > last change I got some mails that say newer versions operate even > better with amavisd-new. I'll just talk to the developer to see, > which version would be the optimal one or we can just pull in the > latest bdb version. I'd say let's wait for that update and hopefully > that will also solve your problem. # make clean ===> Cleaning for amavisd-new-2.6.4_6,1 # env make depends ===> amavisd-new-2.6.4_6,1 depends on shared library: db-4.2.2 - found [...] # env make depends -DWITH_RAR ===> amavisd-new-2.6.4_6,1 depends on shared library: db-4.2.2 - not found [...] # I then commented out "IA32_BINARY_PORT=yes" from the WITH_RAR section in the Makefile and guess what?! :) # env make depends -DWITH_RAR ===> amavisd-new-2.6.4_6,1 depends on shared library: db-4.2.2 - found [...] # portupgrade -N amavisd-new\* [Updating the pkgdb in /var/db/pkg ... - 224 packages found (-0 +1) . done] [Gathering depends for security/amavisd-new ........................................................................ ........................................................................ ........................................................................ ...... done] ---> Installing 'amavisd-new-2.6.4_6,1' from a port (security/amavisd-new) ---> Building '/usr/ports/security/amavisd-new' with make flags: -DWITH_BDB -DWITH_SNMP -DWITH_POF -DWITH_RAR -DWITH_UNRAR -DWITH_UNARJ -DWITH_NOMARCH -DWITH_UNZOO -DWITH_TNEF ===> Cleaning for amavisd-new-2.6.4_6,1 cd /usr/ports/security/amavisd-new && make config; [...] ===> amavisd-new-2.6.4_6,1 depends on shared library: db-4.2.2 - found [...] # Does that help? :) -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn