On 09/03/2010 18:03, Ion-Mihai Tetcu wrote:
> On Tue, 09 Mar 2010 17:13:25 +0000
> Paul Cockings<ds...@cytringan.co.uk>  wrote:
>
>    
>> trying to build freebsd port with
>>
>> MYSQL50 on
>> MYSQL_LOCAL on
>>
>>
>> /usrlocal/etc/rc.d/dspam start
>>
>> dspam[43705]: dlopen() failed: /usr/local/lib/libmysql_drv.so: Cannot
>> open "/usr/local/lib/libmysql_drv.so"
>> dspam[43705]: Unable to initialize storage driver
>>
>> There is no libmysql_drv.so in /usr/local/lib
>>
>>
>> Can someone else confirm this behaviour?
>>      
> This is bad. Do you turn off all other DB drivers when you get this?
>
>
>    
i currently gave up with the port, and used this

./configure --sysconfdir=/usr/local/etc --with-logdir=/var/log/dspam 
--with-dspam-home=/var/db/dspam --with-dspam-home-owner=dspam 
--with-dspam-home-group=mail --with-dspam-home-mode=0770 
--with-dspam-owner=root --with-dspam-group=mail --enable-syslog 
--enable-debug --enable-domain-scale --enable-preferences-extension 
--enable-daemon --enable-clamav 
--with-mysql-includes=/usr/local/include/mysql 
--with-mysql-libraries=/usr/local/lib/mysql 
--with-storage-driver=mysql_drv --enable-virtual-users 
--enable-long-usernames --with-dspam-mode=4510 --prefix=/usr/local 
--mandir=/usr/local/man --infodir=/usr/local/info/ 
--build=i386-portbld-freebsd6.2

Then things seem to be OK, and I have a lib here

/usr/local/bin/dspam:
         libdspam.so.7 => /usr/local/lib/libdspam.so.7 (0x2808d000)
         libmysqlclient.so.15 => 
/usr/local/lib/mysql/libmysqlclient.so.15 (0x280a9000)
         libcrypt.so.3 => /lib/libcrypt.so.3 (0x28103000)
         libz.so.3 => /lib/libz.so.3 (0x2811b000)
         libm.so.4 => /lib/libm.so.4 (0x2812c000)
         libpthread.so.2 => /lib/libpthread.so.2 (0x28142000)
         libc.so.6 => /lib/libc.so.6 (0x28167000)

# ls -lh

-rw-r--r--  1 root  wheel    38K Mar  9 17:19 libhash_drv.a
-rwxr-xr-x  1 root  wheel   1.0K Mar  9 17:19 libhash_drv.la
lrwxr-xr-x  1 root  wheel    16B Mar  9 17:19 libhash_drv.so -> 
libhash_drv.so.7
-rwxr-xr-x  1 root  wheel     0B Mar  9 18:09 libhash_drv.so.7
-rw-r--r--  1 root  wheel    72K Mar  9 17:19 libmysql_drv.a
-rwxr-xr-x  1 root  wheel   1.1K Mar  9 17:19 libmysql_drv.la
lrwxr-xr-x  1 root  wheel    17B Mar  9 17:19 libmysql_drv.so -> 
libmysql_drv.so.7
-rwxr-xr-x  1 root  wheel     0B Mar  9 18:09 libmysql_drv.so.7






------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspam-devel mailing list
Dspam-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to