Opened 20 years ago

Closed 19 years ago

#1975 closed defect (fixed)

BUG: exim not linking with darwinports Berkeley DB

Reported by: jbc@… Owned by: cms@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: cms@…
Port:

Description

exim-4.3.4

the error log can be found here: INLINE

Description: I've tried to solve this myself, even posting the problem on the exim-users group, but can't figure it out. If the current Berkeley DB is installed via darwinports, exim still links against the default OS X 1.8x version (Berkeley DB is a *requirement* to install exim). Something in the exim portfile needs to change so that exim can find the db4 includes and libraries installed by dp. Otherwise exim cannot open files created by other apps using Berkeley DB.

Comments: Tried various things, but end up with errors about ld not having access to the db4 library path for darwinports. Not much of an ld expert, I'm afraid.

================INLINE CONTENT================ #get exim version info exim -bV Exim version 4.34 #1 built 20-Jun-2004 11:54:51 Copyright (c) University of Cambridge 2004 Probably Berkeley DB version 1.8x (native mode) <-- this is the problem; should be db4 Support for: OpenSSL Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz dsearch passwd Authenticators: cram_md5 plaintext spa Routers: accept dnslookup ipliteral manualroute queryprogram redirect Transports: appendfile autoreply pipe smtp Fixed never_users: 0 Contains exiscan-acl patch revision 22 (c) Tom Kistner http://duncanthrax.net/exiscan/ Configuration file is /opt/local/etc/exim/exim.conf

Change History (5)

comment:1 Changed 20 years ago by iane@…

adding this line to the configure section of the portfile makes it work for me:

reinplace "s|DBMLIB =|DBMLIB =/usr/local/lib/libdb.dylib|g" OS/Makefile-Darwin

comment:2 Changed 19 years ago by toby@…

Erm... since when does OS X ship with BDB?

comment:3 Changed 19 years ago by olegb@…

Owner: changed from fkr@… to cms@…

assigning to new maintainer

comment:4 Changed 19 years ago by jbc@…

blocked: 3796

comment:5 Changed 19 years ago by michaelm@…

Resolution: fixed
Status: newclosed

fixed by updating to current

Note: See TracTickets for help on using tickets.