[exim-dev] Compile Problem With MySQL 5.0.37 On Solaris - Re…

Inizio della pagina
Delete this message
Reply to this message
Autore: Sheen, Tony
Data:  
To: exim-dev
Oggetto: [exim-dev] Compile Problem With MySQL 5.0.37 On Solaris - Resolved
Hi All,

You may already know, but it would appear that MySQL have changed their
libraries since v5.0.22. I'm not sure if you'd want to change the compile
process or just issue this as a compiler note... I'm told that this may be a
common problem with the new MySQL and Googling for more info seems to
confirm this.


Compiling the new MySQL version on Solaris 10 against Exim 4.66 resulted in
the following error when attempting to link the final Exim executable:


Undefined                       first referenced
 symbol                             in file
uncompress
/my/mysql/lib/libmysqlclient.a(my_compress.o)
compress
/my/mysql/lib/libmysqlclient.a(my_compress.o)
ld: fatal: Symbol referencing errors. No output written to exim
*** Error code 1



No such problems were found when compiling the older 5.0.22 version.


The resolution is to add '-lz -lm' to the end of the DBMLIB= line in
Local/Makefile.

I hope this helps.

Best regards,

Tony




Verizon UK Limited - registered in England & Wales - registered number 2776038 – registered office at Reading International Business Park, Basingstoke Road, Reading, Berkshire, UK RG2 6DA – VAT number 823 8170 33