[Exim] Exim mysql reference make error

Top Page
Delete this message
Reply to this message
Author: andy
Date:  
To: exim-users
Subject: [Exim] Exim mysql reference make error
Hi all,

I have the following error when compiling exim-4.12:
drtables.o(..data+0x128)=undefined reference to 'mysql_open'
drtables.o(..data+0x128)=undefined reference to 'mysql_find'
drtables.o(..data+0x128)=undefined reference to 'mysql_tidy'
drtables.o(..data+0x128)=undefined reference to 'mysql_quote'

I am using Redhat 8 without the mysql packages. I use MySQL 3.23.55-1
RPM from MySQL site. I have installed the -devel, -shared, and -client
packages also.

In my 'Local/Makefile' I have the following lines to reference the
INCLUDE and LIBS: LOOKUP_INCLUDE=-I /usr/mysql/include
LOOKUP_LIBS=-L/usr/mysql/lib -lmysqlclient And I have validated they
exist and contains the things from MySQL

Exim is compiled using root under the directory of '/root/exim-4.12'

I have been trying to find the solution for 2 weeks with no luck, please
help me.

Andy Cheng
andy@???