Hello group

I'm trying to compile dbmail against mysql, but already getting lost while 
configuring.

I start with:

./configure --with-mysql=/usr/local/mysql/include --prefix=/usr/local/dbmail

and then the script tells me:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking for ranlib... ranlib
checking for mysql.h (user supplied)... /usr/local/mysql/include/mysql.h
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for mysql_real_connect in -lmysqlclient... no
configure: error:
  Unable to link against mysqlclient.  It appears you are missing the
  development libraries or they aren't in your linker's path

I have no .so fitting to this anywhere on my sys. All i can offer is
the content of /usr/local/mysql/include, wich is the following:

[EMAIL PROTECTED]:~/dbmail_1_2_2> ll /usr/local/mysql/lib
total 1737
-rw-r--r--    1 root     mysql       10774 Nov  2  2002 libdbug.a
-rw-r--r--    1 root     mysql      879270 Nov  2  2002 libmygcc.a
-rw-r--r--    1 root     mysql      275802 Nov  2  2002 libmysqlclient.a
-rw-r--r--    1 root     mysql      281372 Nov  2  2002 libmysqlclient_r.a
-rw-r--r--    1 root     mysql      120380 Nov  2  2002 libmystrings.a
-rw-r--r--    1 root     mysql      200006 Nov  2  2002 libmysys.a

This is what is in the "linkers path":

[EMAIL PROTECTED]:~/dbmail_1_2_2> more /etc/ld.so.conf
/usr/X11R6/lib/Xaw95
/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
/usr/i486-linux/lib
/usr/i486-linux-libc5/lib=libc5
/usr/i486-linux-libc6/lib=libc6
/usr/i486-linuxaout/lib
/usr/i386-suse-linux/lib
/usr/local/lib
/usr/local/mysql/lib
/usr/openwin/lib
/opt/kde/lib
/opt/kde2/lib
/opt/kde3/lib
/opt/gnome/lib
/opt/gnome2/lib

Any help is appreciated.

cu
Holger

Reply via email to