Re: [exim] Exilog

Página Inicial
Delete this message
Reply to this message
Autor: Ronan
Data:  
Para: exim-users
Assunto: Re: [exim] Exilog
Sartorelli, Kevin wrote:

>Try:
>    ldd
>/usr/lib/perl5/site_perl/5.8.5/x86_64-linux/auto/DBD/mysql/mysql.so
>and ensure that there are no problems.  It could be that either you are
>missing a MySQL library, or the path set in perl doesn't cover the
>library directory.

>
>Cheers
>Kevin
>
>-----Original Message-----
>From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org]On
>Behalf Of Ronan
>Sent: Thursday, 23 June 2005 9:47 p.m.
>To: exim-users@???
>Subject: [exim] Exilog
>
>
>Ive a problem trying to run exilog...Its a Mysql ( i think) problem but
>I thought id post just on the offchance that im doin something daft...
>
>Reading online... suggests reinstalling
>Ive tried reinstalling DB from CPAN and also installed Net::Netmask
>
>apache err log...
> /usr/bin/perl: symbol lookup error:
>/usr/lib/perl5/site_perl/5.8.5/x86_64-linux/auto/DBD/mysql/mysql.so:
>undefined symbol: mysql_init
>[Thu Jun 23 09:32:17 2005] [error] [client me ] Premature end of script
>headers: /var/www/htdocs/exilog_cgi.pl
>[Thu Jun 23 09:32:17 2005] [error] [client me ]File does not exist:
>/var/www/htdocs/favicon.ico
>
>command line script exec
>/usr/bin/perl: symbol lookup error:
>/usr/lib/perl5/site_perl/5.8.5/x86_64-linux/auto/DBD/mysql/mysql.so:
>undefined symbol: mysql_init
>
>Is it a simple PATH fudge or something more sinister???
>
>Ronan
>
>
>

yeah i ran it and it looks ok

ldd /usr/lib/perl5/site_perl/5.8.5/x86_64-linux/auto/DBD/mysql/mysql.so
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00002aaaaabca000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x00002aaaaacfe000)
        libm.so.6 => /lib64/libm.so.6 (0x00002aaaaae16000)
        libc.so.6 => /lib64/libc.so.6 (0x00002aaaaaf9e000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555555000)
root@scarab:/var/www/cgi-bin# man ldd
root@scarab:/var/www/cgi-bin# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
root@scarab:/var/www/cgi-bin# cat /etc/ld.so.conf
/usr/local/lib
/usr/local/lib64
/usr/X11R6/lib
/usr/x86_64-slackware-linux/lib
/usr/lib
/usr/lib64
/usr/local/lib64
/lib
/lib64
/usr/X11R6/lib64



ronan