3 messages in net.sourceforge.lists.courier-users[courier-users] UPDATE: mysqlclient.s...
FromSent OnAttachments
Mike Vierow, e-AgencySep 12, 2002 9:19 pm 
Mike Vierow, e-AgencySep 12, 2002 9:40 pm 
Mike Vierow, e-AgencySep 13, 2002 10:19 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] UPDATE: mysqlclient.so not foundActions...
From:Mike Vierow, e-Agency (mvie@e-agency.com)
Date:Sep 12, 2002 9:40:00 pm
List:net.sourceforge.lists.courier-users

It appears that there are several different distributions for Linux, including 'bench', 'client', 'devel', and 'shared', while there is only a single dist. for FreeBSD. Searching the FreeBSD ports archive did show some favorable results.

cd /usr/ports/databases grep -r mysqlclient.so * mysql323-server/pkg-plist.client:lib/mysql/libmysqlclient.so mysql323-server/pkg-plist.client:lib/mysql/libmysqlclient.so.10

I'm going to start over using the supplied port rather than fool with the distribution off sourceforge and see where that gets me.

Mike

Sorry if this is a repeat, sourceforge search is down and I'm trying to resolve this issue before the end of the week.

I've installed the binary MySQL distro v 3.23.52 on FreeBSD v4.5-release and am now trying to compile courier-imap to access it. I've researched doing this in the online installation page, FAQ, and authlib/README.authmysql.html but am still having problems.

MySQL is in the default location, /usr/local/mysql includes are in ./include, libs in ./lib

I've created a shell script that does the following

CPPFLAGS="-I/usr/local/mysql/include" LDFLAGS="-L/usr/local/mysql/lib" export CPPFLAGS export LDFLAGS ./configure --prefix=/usr/local/courier-imap --without-ipv6 --with-authmysql

I get the error "configure: error: --with-authmysql specified but no mysqlclient.so"

If I don't specify --with-authmysql, during configure mysql_config and mysql_connect both report 'no'.

Searching through authlib/configure I found configure options that allow me to specify paths to the libraries and includes, but after a full system wide search for 'mysqlclient.so' returned no results, I decided to post here before trying the options.

--with-mysql-libs=/usr/local/mysql/lib --with-mysql-include=/usr/local/mysql/include

I've downloaded several other binary distributions of MySQL for other platforms to see if it possibly was platform specific, but did not find anything. Do I need to go to the source distribution in order to obtain the "development support files"?

Excerpt from http://inter7.com/courierimap/INSTALL.html

"Most LDAP/MySQL/PostgreSQL packages come in two parts: the runtime support, and development support. You may have just the runtime support installed, you will need to make sure that development support files are also installed."

I've searched everywhere for a separate development distribution with no luck.