RE: [Exim] Compile assistance

Top Page
Delete this message
Reply to this message
Author: Brian K. West
Date:  
To: Pete Naylor
CC: Exim-Users@Exim. Org
Subject: RE: [Exim] Compile assistance
Yes I have done this.. and I do need mysql. Either way I go I still get the same error.. I have to specify lib that I compiled in my home directory since the system mysqlclient libs do not work... Any idea what I can try next?


-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org]On
Behalf Of Pete Naylor
Sent: Sunday, August 20, 2000 2:36 AM
To: Brian K. West
Cc: Exim-Users@Exim. Org
Subject: Re: [Exim] Compile assistance



Brian K. West wrote...

> I have looked all over the mailing list and have had no luck finding the solutions.. I have no problems getting this to compile on linux but solaris is not liking it too much.. here is what I get:
> 
> Undefined                       first referenced
>  symbol                             in file
> mysql_close                         lookups/lookups.a(mysql.o)


The linker cannot find the MySQL libraries. If you don't really need
MySQL support, comment out the LOOKUP_MYSQL=yes entry in Local/Makefile.
If you do intend to use MySQL for lookups, uncomment the following lines
in Local/Makefile...

# LOOKUP_INCLUDE=-I /usr/local/ldap/include -I /usr/local/mysql/include
# LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient

... and ensure that you specify the right paths there for the MySQL
install on your host.

--
Pete Naylor

--
## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##