Re: [exim] Compiling Exim with mysql

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: OpenMacNews
Data:  
Para: KimSorensen, exim-users
Asunto: Re: [exim] Compiling Exim with mysql
hi kim,

>>> Doesn't look like mysql was compiled with it. I had this in my
>> Makefile:
>>>
>>> LOOKUP_DBM=yes
>>> LOOKUP_LSEARCH=yes
>>> LOOKUP_MYSQL=yes
>>>
>>> LOOKUP_INCLUDE=-I /usr/local/ldap/include -I /usr/include/mysql
>>>
>>> LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq -lgds
>>> -lsqlite3 -L/var/lib/mysql
>>>
>>> Am I doing something wrong?


i've built mysql on OSX, installing into /usr/local/mysql.

my exim .../Makefile contains:

    LOOKUP_INCLUDE=-I/usr/local/mysql/include/mysql
    LOOKUP_LIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient_r
    LOOKUP_MYSQL=yes


note that my paths are 'deeper' than yours ... look in your
/usr/local/mysql to make sure you're 'pointing' at the right dirs.

this results in a successful build w/ mysql:

otool -L /usr/local/exim/bin/exim
    /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current 
version 369.5.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 88.1.6)
    /usr/lib/libpam.1.dylib (compatibility version 1.0.0, current version 
1.0.0)
    /usr/lib/libwrap.7.dylib (compatibility version 7.0.0, current version 
7.6.0)
    /usr/local/berkeley-db/lib/libdb-4.3.dylib (compatibility version 
0.0.0, current version 0.0.0)
    /usr/local/mysql/lib/mysql/libmysqlclient_r.15.dylib (compatibility 
version 16.0.0, current version 16.0.0)
    /usr/local/ssl/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, 
current version 0.9.8)
    /usr/local/ssl/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, 
current version 0.9.8)
    /usr/local/lib/libpcre.0.dylib (compatibility version 1.0.0, current 
version 1.1.0)
    /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current 
version 1.0.0)



hth,

richard

- --

/"\
\ / ASCII Ribbon Campaign
X against HTML email, vCards
/ \ & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB D460 95F7 DDBD 3671 08C6