On 12/14/2011 12:12 PM, Troy Ayers wrote:
> On 12/13/2011 5:42 PM, Paul Cockings wrote:
>> On 13/12/2011 03:13, Troy Ayers wrote:
>>> When trying to build dspam 3.10.0 or 3.10.1 on my machine, centos 4.8
>>> linux, 64-bit, mysql 5.1.x with:
>>>
>>> ./configure --with-storage-driver=mysql_drv
>>> --enable-preferences-extension --with-mysql-libraries=/usr/lib64/mysql
>>> --with-mysql-includes=/usr/include/mysql
>>>
>>> I'm getting:
>>> ...
>>> checking for mysql_init in -lmysqlclient... no
>>> configure: error: Required version of libmysqlclient not found
>>>
>>> Portion of config.log below...
>>>
>>> I can build dspam up to version 3.9.1-rc1 just fine.
>> Hello, let me tell you that I don't know but maybe you can show us the
>> contents of:
>>
>> /usr/include/mysql
> -rw-r--r--   1 root root  4058 Apr  6  2010 decimal.h
> -rw-r--r--   1 root root  3854 Apr  6  2010 errmsg.h
> -rw-r--r--   1 root root  6954 Apr  6  2010 keycache.h
> -rw-r--r--   1 root root 22690 Apr  6  2010 m_ctype.h
> -rw-r--r--   1 root root  8148 Apr  6  2010 m_string.h
> -rw-r--r--   1 root root  1804 Apr  6  2010 my_alloc.h
> -rw-r--r--   1 root root  1941 Apr  6  2010 my_attribute.h
> -rw-r--r--   1 root root 36662 Apr  6  2010 my_config.h
> -rw-r--r--   1 root root  5558 Apr  6  2010 my_dbug.h
> -rw-r--r--   1 root root  3460 Apr  6  2010 my_dir.h
> -rw-r--r--   1 root root  3315 Apr  6  2010 my_getopt.h
> -rw-r--r--   1 root root 52790 Apr  6  2010 my_global.h
> -rw-r--r--   1 root root  1488 Apr  6  2010 my_list.h
> -rw-r--r--   1 root root  3656 Apr  6  2010 my_net.h
> -rw-r--r--   1 root root  1763 Apr  6  2010 my_no_pthread.h
> -rw-r--r--   1 root root 26948 Apr  6  2010 my_pthread.h
> -rw-r--r--   1 root root 20174 Apr  6  2010 mysql_com.h
> -rw-r--r--   1 root root 23447 Apr  6  2010 mysqld_ername.h
> -rw-r--r--   1 root root 23502 Apr  6  2010 mysqld_error.h
> -rw-r--r--   1 root root  1130 Apr  6  2010 mysql_embed.h
> -rw-r--r--   1 root root 33654 Apr  6  2010 mysql.h
> -rw-r--r--   1 root root  2097 Apr  6  2010 mysql_time.h
> -rw-r--r--   1 root root   840 Apr  6  2010 mysql_version.h
> -rw-r--r--   1 root root 40745 Apr  6  2010 my_sys.h
> -rw-r--r--   1 root root  2677 Apr  6  2010 my_xml.h
> -rw-r--r--   1 root root 29104 Apr  6  2010 plugin.h
> -rw-r--r--   1 root root  1957 Apr  6  2010 sql_common.h
> -rw-r--r--   1 root root 12332 Apr  6  2010 sql_state.h
> -rw-r--r--   1 root root  1006 Apr  6  2010 sslopt-case.h
> -rw-r--r--   1 root root  2205 Apr  6  2010 sslopt-longopts.h
> -rw-r--r--   1 root root  1107 Apr  6  2010 sslopt-vars.h
> -rw-r--r--   1 root root  1501 Apr  6  2010 typelib.h
>> /usr/lib64/mysql
> -rw-r--r--   1 root root   10762 Apr  6  2010 libdbug.a
> -rw-r--r--   1 root root 1053026 Apr  6  2010 libheap.a
> -rw-r--r--   1 root root 3748814 Apr  6  2010 libmyisam.a
> -rw-r--r--   1 root root 1421002 Apr  6  2010 libmyisammrg.a
> -rw-r--r--   1 root root 9882752 Apr  6  2010 libmysqlclient.a
> -rwxr-xr-x   1 root root     989 Apr  6  2010 libmysqlclient.la
> -rw-r--r--   1 root root 9930336 Apr  6  2010 libmysqlclient_r.a
> -rwxr-xr-x   1 root root    1035 Apr  6  2010 libmysqlclient_r.la
> -rw-r--r--   1 root root 2388404 Apr  6  2010 libmystrings.a
> -rw-r--r--   1 root root 1779148 Apr  6  2010 libmysys.a
> -rw-r--r--   1 root root   76538 Apr  6  2010 libvio.a
> -rw-r--r--   1 root root  292180 Apr  6  2010 libz.a
> -rwxr-xr-x   1 root root     878 Apr  6  2010 libz.la
> drwxr-xr-x   2 root root    4096 Dec 14 11:53 plugin
>
> -Troy
>
>> I *think* you'll find files linked to a particular version of
>> libmysqlclient?
>>
Just now started looking at this again.  I see there's no 
libmysqlclient.SO.xx stuff?  D'oh!

Installed the mysql-shared and mysql-shared-compat packages, fine now.

-Troy



------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to