You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Dan McCullough <da...@gmail.com> on 2006/11/04 21:43:51 UTC

spamassassin --lint fails - undefined symbol

su amavis -c 'spamassassin --lint'
/usr/bin/perl: symbol lookup error:
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Net/DNS/DNS.so:
undefined symbol: Perl_sv_2uv_flags

can someone tell me what I am doing wrong?

Fwd: spamassassin --lint fails - undefined symbol

Posted by Dan McCullough <da...@gmail.com>.
As far as I know DNS module is installed.

Here is the complete output.

############################################################

su amavis -c 'spamassassin --lint -D'
[3901] dbg: logger: adding facilities: all
[3901] dbg: logger: logging level is DBG
[3901] dbg: generic: SpamAssassin version 3.1.3
[3901] dbg: config: score set 0 chosen.
[3901] dbg: util: running in taint mode? yes
[3901] dbg: util: taint mode: deleting unsafe environment variables,
resetting PATH
[3901] dbg: util: PATH included '/usr/kerberos/sbin', keeping
[3901] dbg: util: PATH included '/usr/kerberos/bin', keeping
[3901] dbg: util: PATH included '/usr/local/sbin', keeping
[3901] dbg: util: PATH included '/usr/local/bin', keeping
[3901] dbg: util: PATH included '/sbin', keeping
[3901] dbg: util: PATH included '/bin', keeping
[3901] dbg: util: PATH included '/usr/sbin', keeping
[3901] dbg: util: PATH included '/usr/bin', keeping
[3901] dbg: util: PATH included '/root/bin', which doesn't exist, dropping
[3901] dbg: util: final PATH set to:
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
[3901] dbg: message: ---- MIME PARSER START ----
[3901] dbg: message: main message type: text/plain
[3901] dbg: message: parsing normal part
[3901] dbg: message: added part, type: text/plain
[3901] dbg: message: ---- MIME PARSER END ----
[3901] dbg: dns: is Net::DNS::Resolver available? yes
[3901] dbg: dns: Net::DNS version: 0.59
[3901] dbg: diag: perl platform: 5.008008 linux
[3901] dbg: diag: module installed: Digest::SHA1, version 2.11
[3901] dbg: diag: module installed: IO::Socket::SSL, version 1.01
[3901] dbg: diag: module installed: Time::HiRes, version 1.86
[3901] dbg: diag: module installed: DBI, version 1.52
[3901] dbg: diag: module installed: Getopt::Long, version 2.35
[3901] dbg: diag: module installed: LWP::UserAgent, version 2.033
[3901] dbg: diag: module installed: HTTP::Date, version 1.47
[3901] dbg: diag: module installed: Archive::Tar, version 1.30
[3901] dbg: diag: module installed: IO::Zlib, version 1.04
[3901] dbg: diag: module installed: HTML::Parser, version 3.51
[3901] dbg: diag: module installed: MIME::Base64, version 3.07
[3901] dbg: diag: module installed: DB_File, version 1.814
[3901] dbg: diag: module installed: Net::DNS, version 0.59
[3901] dbg: diag: module installed: Net::SMTP, version 2.29
[3901] dbg: diag: module installed: Mail::SPF::Query, version 1.999001
[3901] dbg: diag: module installed: IP::Country::Fast, version 604.001
[3901] dbg: diag: module installed: Razor2::Client::Agent, version 2.77
[3901] dbg: diag: module installed: Net::Ident, version 1.20
[3901] dbg: diag: module installed: IO::Socket::INET6, version 2.51
[3901] dbg: ignore: using a test message to lint rules
[3901] dbg: config: using "/etc/mail/spamassassin" for site rules pre files
[3901] dbg: config: read file /etc/mail/spamassassin/init.pre
[3901] dbg: config: read file /etc/mail/spamassassin/v310.pre
[3901] dbg: config: read file /etc/mail/spamassassin/v312.pre
[3901] dbg: config: using "/usr/share/spamassassin" for sys rules pre files
[3901] dbg: config: using "/usr/share/spamassassin" for default rules dir
[3901] dbg: config: read file /usr/share/spamassassin/10_misc.cf
[3901] dbg: config: read file /usr/share/spamassassin/20_advance_fee.cf
[3901] dbg: config: read file /usr/share/spamassassin/20_anti_ratware.cf
[3901] dbg: config: read file /usr/share/spamassassin/20_body_tests.cf
[3901] dbg: config: read file /usr/share/spamassassin/20_compensate.cf
[3901] dbg: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf
[3901] dbg: config: read file /usr/share/spamassassin/20_drugs.cf
[3901] dbg: config: read file /usr/share/spamassassin/20_fake_helo_tests.cf
[3901] dbg: config: read file /usr/share/spamassassin/20_head_tests.cf
[3901] dbg: config: read file /usr/share/spamassassin/20_html_tests.cf
[3901] dbg: config: read file /usr/share/spamassassin/20_meta_tests.cf
[3901] dbg: config: read file /usr/share/spamassassin/20_net_tests.cf
[3901] dbg: config: read file /usr/share/spamassassin/20_phrases.cf
[3901] dbg: config: read file /usr/share/spamassassin/20_porn.cf
[3901] dbg: config: read file /usr/share/spamassassin/20_ratware.cf
[3901] dbg: config: read file /usr/share/spamassassin/20_uri_tests.cf
[3901] dbg: config: read file /usr/share/spamassassin/23_bayes.cf
[3901] dbg: config: read file /usr/share/spamassassin/25_accessdb.cf
[3901] dbg: config: read file /usr/share/spamassassin/25_antivirus.cf
[3901] dbg: config: read file /usr/share/spamassassin/25_body_tests_es.cf
[3901] dbg: config: read file /usr/share/spamassassin/25_body_tests_pl.cf
[3901] dbg: config: read file /usr/share/spamassassin/25_dcc.cf
[3901] dbg: config: read file /usr/share/spamassassin/25_dkim.cf
[3901] dbg: config: read file /usr/share/spamassassin/25_domainkeys.cf
[3901] dbg: config: read file /usr/share/spamassassin/25_hashcash.cf
[3901] dbg: config: read file /usr/share/spamassassin/25_pyzor.cf
[3901] dbg: config: read file /usr/share/spamassassin/25_razor2.cf
[3901] dbg: config: read file /usr/share/spamassassin/25_replace.cf
[3901] dbg: config: read file /usr/share/spamassassin/25_spf.cf
[3901] dbg: config: read file /usr/share/spamassassin/25_textcat.cf
[3901] dbg: config: read file /usr/share/spamassassin/25_uribl.cf
[3901] dbg: config: read file /usr/share/spamassassin/30_text_de.cf
[3901] dbg: config: read file /usr/share/spamassassin/30_text_fr.cf
[3901] dbg: config: read file /usr/share/spamassassin/30_text_it.cf
[3901] dbg: config: read file /usr/share/spamassassin/30_text_nl.cf
[3901] dbg: config: read file /usr/share/spamassassin/30_text_pl.cf
[3901] dbg: config: read file /usr/share/spamassassin/30_text_pt_br.cf
[3901] dbg: config: read file /usr/share/spamassassin/50_scores.cf
[3901] dbg: config: read file /usr/share/spamassassin/60_awl.cf
[3901] dbg: config: read file /usr/share/spamassassin/60_whitelist.cf
[3901] dbg: config: read file /usr/share/spamassassin/60_whitelist_dkim.cf
[3901] dbg: config: read file /usr/share/spamassassin/60_whitelist_spf.cf
[3901] dbg: config: read file /usr/share/spamassassin/60_whitelist_subject.cf
[3901] dbg: config: using "/etc/mail/spamassassin" for site rules dir
[3901] dbg: config: read file /etc/mail/spamassassin/local.cf
[3901] dbg: config: using "/var/amavis/.spamassassin" for user state dir
[3901] dbg: config: using "/var/amavis/.spamassassin/user_prefs" for
user prefs file
[3901] dbg: config: read file /var/amavis/.spamassassin/user_prefs
[3901] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
[3901] dbg: plugin: registered
Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x9024538)
[3901] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
[3901] dbg: plugin: registered
Mail::SpamAssassin::Plugin::Hashcash=HASH(0xa14cb20)
[3901] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
[3901] dbg: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0xa16f988)
[3901] dbg: plugin: loading Mail::SpamAssassin::Plugin::DCC from @INC
[3901] dbg: dcc: network tests on, registering DCC
[3901] dbg: plugin: registered Mail::SpamAssassin::Plugin::DCC=HASH(0xa151440)
[3901] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
[3901] dbg: pyzor: network tests on, attempting Pyzor
[3901] dbg: plugin: registered Mail::SpamAssassin::Plugin::Pyzor=HASH(0xa15366c)
[3901] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
[3901] dbg: razor2: razor2 is available, version 2.77
[3901] dbg: plugin: registered
Mail::SpamAssassin::Plugin::Razor2=HASH(0xa1e0f90)
[3901] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
[3901] dbg: reporter: network tests on, attempting SpamCop
[3901] dbg: plugin: registered
Mail::SpamAssassin::Plugin::SpamCop=HASH(0xa1e8240)
[3901] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC
[3901] dbg: plugin: registered Mail::SpamAssassin::Plugin::AWL=HASH(0xa20e67c)
[3901] dbg: plugin: loading
Mail::SpamAssassin::Plugin::AutoLearnThreshold from @INC
[3901] dbg: plugin: registered
Mail::SpamAssassin::Plugin::AutoLearnThreshold=HASH(0x96f67c8)
[3901] dbg: plugin: loading
Mail::SpamAssassin::Plugin::WhiteListSubject from @INC
[3901] dbg: plugin: registered
Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0x96f7230)
[3901] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from @INC
[3901] dbg: plugin: registered
Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0x96f7f14)
[3901] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from @INC
[3901] dbg: plugin: registered
Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0xa3ec568)
[3901] dbg: config: adding redirector regex:
/^http:\/\/chkpt\.zdnet\.com\/chkpt\/\w+\/(.*)$/i
[3901] dbg: config: adding redirector regex:
/^http:\/\/www(?:\d+)?\.nate\.com\/r\/\w+\/(.*)$/i
[3901] dbg: config: adding redirector regex:
/^http:\/\/.+\.gov\/(?:.*\/)?externalLink\.jhtml\?.*url=(.*?)(?:&.*)?$/i
[3901] dbg: config: adding redirector regex:
/^http:\/\/redir\.internet\.com\/.+?\/.+?\/(.*)$/i
[3901] dbg: config: adding redirector regex:
/^http:\/\/(?:.*?\.)?adtech\.de\/.*(?:;|\|)link=(.*?)(?:;|$)/i
[3901] dbg: config: adding redirector regex:
m'^http.*?/redirect\.php\?.*(?<=[?&])goto=(.*?)(?:$|[&\#])'i
[3901] dbg: config: adding redirector regex:
m'^https?:/*(?:[^/]+\.)?emf\d\.com/r\.cfm.*?&r=(.*)'i
[3901] dbg: config: adding redirector regex:
m'/(?:index.php)?\?.*(?<=[?&])URL=(.*?)(?:$|[&\#])'i
[3901] dbg: config: adding redirector regex:
m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/url\?.*?(?<=[?&])q=(.*?)(?:$|[&\#])'i
[3901] dbg: config: adding redirector regex:
m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/search\?.*?(?<=[?&])q=[^&]*?(?<=%20|..[=+\s])site:(.*?)(?:$|%20|[\s+&\#])'i
[3901] dbg: config: adding redirector regex:
m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/search\?.*?(?<=[?&])q=[^&]*?(?<=%20|..[=+\s])(?:"|%22)(.*?)(?:$|%22|["\s+&\#])'i
[3901] dbg: config: adding redirector regex:
m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/translate\?.*?(?<=[?&])u=(.*?)(?:$|[&\#])'i
[3901] dbg: plugin:
Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0xa3ec568) implements
'finish_parsing_end'
[3901] dbg: replacetags: replacing tags
[3901] dbg: replacetags: done replacing tags
[3901] dbg: config: using "/var/amavis/.spamassassin" for user state dir
[3901] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_toks
[3901] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_seen
[3901] dbg: bayes: found bayes db version 3
[3901] dbg: bayes: DB journal sync: last sync: 0
[3901] dbg: config: using "/var/amavis/.spamassassin" for user state dir
[3901] dbg: bayes: not available for scanning, only 0 spam(s) in bayes DB < 200
[3901] dbg: bayes: untie-ing
[3901] dbg: bayes: untie-ing db_toks
[3901] dbg: bayes: untie-ing db_seen
[3901] dbg: config: score set 1 chosen.
[3901] dbg: message: ---- MIME PARSER START ----
[3901] dbg: message: main message type: text/plain
[3901] dbg: message: parsing normal part
[3901] dbg: message: added part, type: text/plain
[3901] dbg: message: ---- MIME PARSER END ----
[3901] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_toks
[3901] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_seen
[3901] dbg: bayes: found bayes db version 3
[3901] dbg: bayes: DB journal sync: last sync: 0
[3901] dbg: bayes: not available for scanning, only 0 spam(s) in bayes DB < 200
[3901] dbg: bayes: untie-ing
[3901] dbg: bayes: untie-ing db_toks
[3901] dbg: bayes: untie-ing db_seen
[3901] dbg: dns: name server: 64.80.203.201, family: 2, ipv6: 0
[3901] dbg: dns: testing resolver nameservers: 64.80.203.201,
64.80.203.194, 64.80.255.240
[3901] dbg: dns: trying (3) google.com...
[3901] dbg: dns: looking up NS for 'google.com'
/usr/bin/perl: symbol lookup error:
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Net/DNS/DNS.so:
undefined symbol: Perl_sv_2uv_flags
################################################################
ping google.com
PING google.com (64.233.167.99) 56(84) bytes of data.
64 bytes from 64.233.167.99: icmp_seq=1 ttl=244 time=45.3 ms

--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 45.379/45.379/45.379/0.000 ms



as you can see from the bottom I can ping google.com

On 11/4/06, jdow <jd...@earthlink.net> wrote:
> From: "Dan McCullough" <da...@gmail.com>
>
> > su amavis -c 'spamassassin --lint'
> > /usr/bin/perl: symbol lookup error:
> > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Net/DNS/DNS.so:
> > undefined symbol: Perl_sv_2uv_flags
> >
> > can someone tell me what I am doing wrong?
>
> Does it work as a simple "spamassassin --lint" as a user or as root?
> Is the DNS module installed?
>
> {^_^}
>

Re: spamassassin --lint fails - undefined symbol

Posted by Dan McCullough <da...@gmail.com>.
Just in case I installed from source the Net::DNS module, and it still
does the same thing.  But it was a long shot since this whole server
was setup this morning from yum installs.  I also change the name
servers in resolve.conf and I got the same result.  Arg this is so
annoying, this is like the last thing before this is done.

On 11/4/06, Dan McCullough <da...@gmail.com> wrote:
> So possibly if I point it to another set of DNS server it might be
> okay?  If not are there any other suggestions?
>
> On 11/4/06, jdow <jd...@earthlink.net> wrote:
> >
> > ----- Original Message -----
> > From: "Dan McCullough" <da...@gmail.com>
> > To: "jdow" <jd...@earthlink.net>
> > Sent: Saturday, November 04, 2006 14:27
> > Subject: Re: spamassassin --lint fails - undefined symbol
> >
> >
> > > As far as I know DNS module is installed.
> > >
> > > Here is the complete output.
> > >
> > > ############################################################
> > >
> > > su amavis -c 'spamassassin --lint -D'
> > file /usr/share/spamassassin/60_whitelist_subject.cf
> > ...
> > > [3901] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_toks
> > > [3901] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_seen
> > > [3901] dbg: bayes: found bayes db version 3
> > > [3901] dbg: bayes: DB journal sync: last sync: 0
> > > [3901] dbg: config: using "/var/amavis/.spamassassin" for user state dir
> > > [3901] dbg: bayes: not available for scanning, only 0 spam(s) in bayes DB < 200
> > > [3901] dbg: bayes: untie-ing
> > > [3901] dbg: bayes: untie-ing db_toks
> > > [3901] dbg: bayes: untie-ing db_seen
> >
> > Your Bayes is completely untrained for what that is worth.
> >
> > > [3901] dbg: dns: name server: 64.80.203.201, family: 2, ipv6: 0
> > > [3901] dbg: dns: testing resolver nameservers: 64.80.203.201,
> > > 64.80.203.194, 64.80.255.240
> > > [3901] dbg: dns: trying (3) google.com...
> > > [3901] dbg: dns: looking up NS for 'google.com'
> > > /usr/bin/perl: symbol lookup error:
> > > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Net/DNS/DNS.so:
> > > undefined symbol: Perl_sv_2uv_flags
> >
> >
> > Not being an expert I'd initially guess you are running a version of
> > Net:DNS that is too old for SpamAssassin. Second guess would be a DNS
> > server that is incompatible with SpamAssassin. There are several that
> > return intentionally doctored data and as such are incompatible with
> > SpamAssassin. Due to Earthlink's extreme misbehavior I run a caching
> > server off the root servers here. And I use plain old bind, none of
> > the holier than thou newer stuff.
> >
> > {^_^}
> >
>

Re: spamassassin --lint fails - undefined symbol

Posted by Dan McCullough <da...@gmail.com>.
Okay I got it to work about 30 minutes after sending, but right before
I could send an email we had a power outage.  :(

Anyway I uninstalled serveral of the Yum installed perl modules and
spamassassin and reinstalled via CPAN, while doing that one of the
Net::DNS depeds said that there was a dependancy on another module
that wasnt installed, so it downloaded and installed, I added
everything back in and ran the command and it went through without a
problem.

:)

So thanks everyone for the help.  My advice should to those looking
through the archive about a similar issue.  Install from CPAN for
SpamAssassin, it looks as if one of the perl mod rpms doesnt have all
the depends properly accounted for.

On 11/5/06, Mark <ad...@asarian-host.net> wrote:
> > -----Original Message-----
> > From: Dan McCullough [mailto:dan.mccullough@gmail.com]
> > Sent: zondag 5 november 2006 15:00
> > To: users@spamassassin.apache.org
> > Subject: Re: spamassassin --lint fails - undefined symbol
> >
> >
> > Characteristics of this binary (from libperl):
> >   Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
> >                         PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
> >                         USE_PERLIO USE_REENTRANT_API
> >   Built under linux
> >   Compiled at Mar  1 2006 18:29:53
> >   @INC:
> >     /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
> >     /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
> >     /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
> >     /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
> >     /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
> >     /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
> >     /usr/lib/perl5/site_perl/5.8.8
> >     /usr/lib/perl5/site_perl/5.8.7
> >     /usr/lib/perl5/site_perl/5.8.6
> >     /usr/lib/perl5/site_perl/5.8.5
> >     /usr/lib/perl5/site_perl/5.8.4
> >     /usr/lib/perl5/site_perl/5.8.3
> >     /usr/lib/perl5/site_perl
> >     /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
> >     /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
> >     /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
> >     /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
> >     /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
> >     /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
> >     /usr/lib/perl5/vendor_perl/5.8.8
> >     /usr/lib/perl5/vendor_perl/5.8.7
> >     /usr/lib/perl5/vendor_perl/5.8.6
> >     /usr/lib/perl5/vendor_perl/5.8.5
> >     /usr/lib/perl5/vendor_perl/5.8.4
> >     /usr/lib/perl5/vendor_perl/5.8.3
> >     /usr/lib/perl5/vendor_perl
> >     /usr/lib/perl5/5.8.8/i386-linux-thread-multi
> >     /usr/lib/perl5/5.8.8
>
> See, considering the INC path, you'd expect a newly compiled Net:DNS to be
> installed in the site_perl hierarchy,
> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi, in this case. And
> NOT in the vendor_perl tree (where the base system resides). CPAN should
> install in site_perl, too.
>
> This has nothing to do with misconfigured DNS servers, btw. But everything
> with a missing symbol in a C library. Usual causes are inadvertent linkage
> against an older library during compilation time (when you install the
> software); or at run-time level.
>
> I would definitely give CPAN a try first. Should give you something shiny
> and new under site_perl.
>
> - Mark
>
>

RE: spamassassin --lint fails - undefined symbol

Posted by Mark <ad...@asarian-host.net>.
> -----Original Message-----
> From: Dan McCullough [mailto:dan.mccullough@gmail.com] 
> Sent: zondag 5 november 2006 15:00
> To: users@spamassassin.apache.org
> Subject: Re: spamassassin --lint fails - undefined symbol
> 
> 
> Characteristics of this binary (from libperl):
>   Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
>                         PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
>                         USE_PERLIO USE_REENTRANT_API
>   Built under linux
>   Compiled at Mar  1 2006 18:29:53
>   @INC:
>     /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
>     /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
>     /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
>     /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
>     /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
>     /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
>     /usr/lib/perl5/site_perl/5.8.8
>     /usr/lib/perl5/site_perl/5.8.7
>     /usr/lib/perl5/site_perl/5.8.6
>     /usr/lib/perl5/site_perl/5.8.5
>     /usr/lib/perl5/site_perl/5.8.4
>     /usr/lib/perl5/site_perl/5.8.3
>     /usr/lib/perl5/site_perl
>     /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
>     /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
>     /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
>     /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
>     /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
>     /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
>     /usr/lib/perl5/vendor_perl/5.8.8
>     /usr/lib/perl5/vendor_perl/5.8.7
>     /usr/lib/perl5/vendor_perl/5.8.6
>     /usr/lib/perl5/vendor_perl/5.8.5
>     /usr/lib/perl5/vendor_perl/5.8.4
>     /usr/lib/perl5/vendor_perl/5.8.3
>     /usr/lib/perl5/vendor_perl
>     /usr/lib/perl5/5.8.8/i386-linux-thread-multi
>     /usr/lib/perl5/5.8.8

See, considering the INC path, you'd expect a newly compiled Net:DNS to be
installed in the site_perl hierarchy,
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi, in this case. And
NOT in the vendor_perl tree (where the base system resides). CPAN should
install in site_perl, too.

This has nothing to do with misconfigured DNS servers, btw. But everything
with a missing symbol in a C library. Usual causes are inadvertent linkage
against an older library during compilation time (when you install the
software); or at run-time level.

I would definitely give CPAN a try first. Should give you something shiny
and new under site_perl.

- Mark


Re: spamassassin --lint fails - undefined symbol

Posted by Dan McCullough <da...@gmail.com>.
I retried that and it still does the same thing.
In make test however I find some errors, they dont seem to stop the
process, so it appears as if Net::DNS can live without them, if you
will.

##########################################################
make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load..................ok
t/00-pod...................skipped
      all skipped: Test::Pod v0.95 required for testing POD
t/00-version...............ok
t/01-resolver-env..........ok
t/01-resolver-file.........ok
      7/8 skipped: Could not read configuration file
t/01-resolver-opt..........ok
t/01-resolver..............ok
      2/44 skipped: Tests may not run succesful from private IP(192.168.1.2)
t/02-header................ok
t/03-question..............ok
t/04-packet-unique-push....ok
t/04-packet................ok
t/05-rr-opt................ok
t/05-rr-rrsort.............ok
t/05-rr-sshfp..............skipped
      all skipped: Digest::BubbleBabble not installed.
t/05-rr-txt................ok
t/05-rr-unknown............ok
t/05-rr....................ok
t/06-update................ok
t/07-misc..................ok
t/08-online................ok
t/09-tkey..................ok
t/10-recurse...............skipped
      all skipped: Cannot run these tests from this IP:192.168.1.2
t/11-escapedchars..........# Using the  XS compiled dn_expand function
t/11-escapedchars..........ok 1/141#
# disabling XS based dns_expand for a moment.
#
# Continuing to use the XS based dn_expand()
t/11-escapedchars..........ok
t/11-inet6.................ok 1/11#
# The libraries needed for IPv6 support have been found
#               Now we establish if  we can bind to ::1
#
#
#       Testing for global IPv6 connectivity...
#                preparing...
#
#                Will try to connect to  ns-pri.ripe.net (193.0.0.195)
#
#                Will try to connect to  ns-pri.ripe.net
(2001:610:240:0:53:0:0:3)
#
#                Connection failed: Send error: Network is unreachable
#
#                It seems you do not have global IPv6 connectivity'
#                This is not an error in Net::DNS
#                You can confirm this by trying 'ping6 2001:610:240:0:53:0:0:3'
#
# You can safely ignore the following message:
# configuring 2001:610:240:0:53:0:0:3 193.0.0.195 as nameservers
t/11-inet6.................ok 7/11#
#                Trying to connect to  ns-sec.ripe.net (2001:610:240:0:53:0:0:4)
t/11-inet6.................ok
      3/11 skipped: various reasons
All tests successful, 3 tests and 12 subtests skipped.
Files=24, Tests=1039,  6 wallclock secs ( 3.65 cusr +  0.48 csys =  4.13 CPU)
###################################################################


###################################################################

/usr/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
 Platform:
   osname=linux, osvers=2.6.9-22.18.bz155725.elsmp,
archname=i386-linux-thread-multi
   uname='linux hs20-bc1-6.build.redhat.com
2.6.9-22.18.bz155725.elsmp #1 smp thu nov 17 15:34:08 est 2005 i686
i686 i386 gnulinux '
   config_args='-des -Doptimize=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -Dversion=5.8.8 -Dmyhostname=localhost
-Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc.
-Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux
-Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads
-Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db
-Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio
-Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly
-Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto
-Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto
-Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto
-Dinc_version_list=5.8.7 5.8.6 5.8.5 5.8.4 5.8.3 -Dscriptdir=/usr/bin'
   hint=recommended, useposix=true, d_sigaction=define
   usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
   useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
   use64bitint=undef use64bitall=undef uselongdouble=undef
   usemymalloc=n, bincompat5005=undef
 Compiler:
   cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm',
   optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables',
   cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include
-I/usr/include/gdbm'
   ccversion='', gccversion='4.1.0 20060228 (Red Hat 4.1.0-1)', gccosandvers=''
   intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
   d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
   ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
   alignbytes=4, prototype=define
 Linker and Libraries:
   ld='gcc', ldflags =' -L/usr/local/lib'
   libpth=/usr/local/lib /lib /usr/lib
   libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
   perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
   libc=/lib/libc-2.3.90.so, so=so, useshrplib=true, libperl=libperl.so
   gnulibc_version='2.3.90'
 Dynamic Linking:
   dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE'
   cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
 Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
                       PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
                       USE_PERLIO USE_REENTRANT_API
 Built under linux
 Compiled at Mar  1 2006 18:29:53
 @INC:
   /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
   /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
   /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
   /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
   /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
   /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
   /usr/lib/perl5/site_perl/5.8.8
   /usr/lib/perl5/site_perl/5.8.7
   /usr/lib/perl5/site_perl/5.8.6
   /usr/lib/perl5/site_perl/5.8.5
   /usr/lib/perl5/site_perl/5.8.4
   /usr/lib/perl5/site_perl/5.8.3
   /usr/lib/perl5/site_perl
   /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
   /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
   /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
   /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
   /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
   /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
   /usr/lib/perl5/vendor_perl/5.8.8
   /usr/lib/perl5/vendor_perl/5.8.7
   /usr/lib/perl5/vendor_perl/5.8.6
   /usr/lib/perl5/vendor_perl/5.8.5
   /usr/lib/perl5/vendor_perl/5.8.4
   /usr/lib/perl5/vendor_perl/5.8.3
   /usr/lib/perl5/vendor_perl
   /usr/lib/perl5/5.8.8/i386-linux-thread-multi
   /usr/lib/perl5/5.8.8

###################################################################


#####################################################################

ldd /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Net/DNS/DNS.so
       linux-gate.so.1 =>  (0x00870000)
       libc.so.6 => /lib/libc.so.6 (0x00111000)
       /lib/ld-linux.so.2 (0x00a27000)

#####################################################################

On 11/5/06, jdow <jd...@earthlink.net> wrote:
> OK, when Theo, Daryl, Dallas, or one of the other experts appears I
> defer to them for this one.
>
> Does it work from a normal user account when you run "spamassassin --lint"?
>
> {^_^}
> ----- Original Message -----
> From: "Dan McCullough" <da...@gmail.com>
>
>
> > Version if 0.59 which is the latest.
> > I cant train it yet as there is no incoming mail.  :(
> >
> > On 11/4/06, jdow <jd...@earthlink.net> wrote:
> >> Version of NET:DNS? Is it latest? Some versions had problems.
> >>
> >> Also get your Bayes trained.
> >> {^_^}
> >> ----- Original Message -----
> >> From: "Dan McCullough" <da...@gmail.com>
> >>
> >> > So possibly if I point it to another set of DNS server it might be
> >> > okay?  If not are there any other suggestions?
> >> >
> >> > On 11/4/06, jdow <jd...@earthlink.net> wrote:
> >> >>
> >> >> ----- Original Message -----
> >> >> From: "Dan McCullough" <da...@gmail.com>
> >> >> To: "jdow" <jd...@earthlink.net>
> >> >> Sent: Saturday, November 04, 2006 14:27
> >> >> Subject: Re: spamassassin --lint fails - undefined symbol
> >> >>
> >> >>
> >> >> > As far as I know DNS module is installed.
> >> >> >
> >> >> > Here is the complete output.
> >> >> >
> >> >> > ############################################################
> >> >> >
> >> >> > su amavis -c 'spamassassin --lint -D'
> >> >> file /usr/share/spamassassin/60_whitelist_subject.cf
> >> >> ...
> >> >> > [3901] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_toks
> >> >> > [3901] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_seen
> >> >> > [3901] dbg: bayes: found bayes db version 3
> >> >> > [3901] dbg: bayes: DB journal sync: last sync: 0
> >> >> > [3901] dbg: config: using "/var/amavis/.spamassassin" for user state dir
> >> >> > [3901] dbg: bayes: not available for scanning, only 0 spam(s) in bayes DB < 200
> >> >> > [3901] dbg: bayes: untie-ing
> >> >> > [3901] dbg: bayes: untie-ing db_toks
> >> >> > [3901] dbg: bayes: untie-ing db_seen
> >> >>
> >> >> Your Bayes is completely untrained for what that is worth.
> >> >>
> >> >> > [3901] dbg: dns: name server: 64.80.203.201, family: 2, ipv6: 0
> >> >> > [3901] dbg: dns: testing resolver nameservers: 64.80.203.201,
> >> >> > 64.80.203.194, 64.80.255.240
> >> >> > [3901] dbg: dns: trying (3) google.com...
> >> >> > [3901] dbg: dns: looking up NS for 'google.com'
> >> >> > /usr/bin/perl: symbol lookup error:
> >> >> > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Net/DNS/DNS.so:
> >> >> > undefined symbol: Perl_sv_2uv_flags
> >> >>
> >> >>
> >> >> Not being an expert I'd initially guess you are running a version of
> >> >> Net:DNS that is too old for SpamAssassin. Second guess would be a DNS
> >> >> server that is incompatible with SpamAssassin. There are several that
> >> >> return intentionally doctored data and as such are incompatible with
> >> >> SpamAssassin. Due to Earthlink's extreme misbehavior I run a caching
> >> >> server off the root servers here. And I use plain old bind, none of
> >> >> the holier than thou newer stuff.
> >> >>
> >> >> {^_^}
> >> >>
> >>
>

Re: spamassassin --lint fails - undefined symbol

Posted by jdow <jd...@earthlink.net>.
OK, when Theo, Daryl, Dallas, or one of the other experts appears I
defer to them for this one.

Does it work from a normal user account when you run "spamassassin --lint"?

{^_^}
----- Original Message ----- 
From: "Dan McCullough" <da...@gmail.com>


> Version if 0.59 which is the latest.
> I cant train it yet as there is no incoming mail.  :(
> 
> On 11/4/06, jdow <jd...@earthlink.net> wrote:
>> Version of NET:DNS? Is it latest? Some versions had problems.
>>
>> Also get your Bayes trained.
>> {^_^}
>> ----- Original Message -----
>> From: "Dan McCullough" <da...@gmail.com>
>>
>> > So possibly if I point it to another set of DNS server it might be
>> > okay?  If not are there any other suggestions?
>> >
>> > On 11/4/06, jdow <jd...@earthlink.net> wrote:
>> >>
>> >> ----- Original Message -----
>> >> From: "Dan McCullough" <da...@gmail.com>
>> >> To: "jdow" <jd...@earthlink.net>
>> >> Sent: Saturday, November 04, 2006 14:27
>> >> Subject: Re: spamassassin --lint fails - undefined symbol
>> >>
>> >>
>> >> > As far as I know DNS module is installed.
>> >> >
>> >> > Here is the complete output.
>> >> >
>> >> > ############################################################
>> >> >
>> >> > su amavis -c 'spamassassin --lint -D'
>> >> file /usr/share/spamassassin/60_whitelist_subject.cf
>> >> ...
>> >> > [3901] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_toks
>> >> > [3901] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_seen
>> >> > [3901] dbg: bayes: found bayes db version 3
>> >> > [3901] dbg: bayes: DB journal sync: last sync: 0
>> >> > [3901] dbg: config: using "/var/amavis/.spamassassin" for user state dir
>> >> > [3901] dbg: bayes: not available for scanning, only 0 spam(s) in bayes DB < 200
>> >> > [3901] dbg: bayes: untie-ing
>> >> > [3901] dbg: bayes: untie-ing db_toks
>> >> > [3901] dbg: bayes: untie-ing db_seen
>> >>
>> >> Your Bayes is completely untrained for what that is worth.
>> >>
>> >> > [3901] dbg: dns: name server: 64.80.203.201, family: 2, ipv6: 0
>> >> > [3901] dbg: dns: testing resolver nameservers: 64.80.203.201,
>> >> > 64.80.203.194, 64.80.255.240
>> >> > [3901] dbg: dns: trying (3) google.com...
>> >> > [3901] dbg: dns: looking up NS for 'google.com'
>> >> > /usr/bin/perl: symbol lookup error:
>> >> > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Net/DNS/DNS.so:
>> >> > undefined symbol: Perl_sv_2uv_flags
>> >>
>> >>
>> >> Not being an expert I'd initially guess you are running a version of
>> >> Net:DNS that is too old for SpamAssassin. Second guess would be a DNS
>> >> server that is incompatible with SpamAssassin. There are several that
>> >> return intentionally doctored data and as such are incompatible with
>> >> SpamAssassin. Due to Earthlink's extreme misbehavior I run a caching
>> >> server off the root servers here. And I use plain old bind, none of
>> >> the holier than thou newer stuff.
>> >>
>> >> {^_^}
>> >>
>>

Re: spamassassin --lint fails - undefined symbol

Posted by Dan McCullough <da...@gmail.com>.
Version if 0.59 which is the latest.
I cant train it yet as there is no incoming mail.  :(

On 11/4/06, jdow <jd...@earthlink.net> wrote:
> Version of NET:DNS? Is it latest? Some versions had problems.
>
> Also get your Bayes trained.
> {^_^}
> ----- Original Message -----
> From: "Dan McCullough" <da...@gmail.com>
> To: "jdow" <jd...@earthlink.net>
> Sent: Saturday, November 04, 2006 16:08
> Subject: Re: spamassassin --lint fails - undefined symbol
>
>
> > So possibly if I point it to another set of DNS server it might be
> > okay?  If not are there any other suggestions?
> >
> > On 11/4/06, jdow <jd...@earthlink.net> wrote:
> >>
> >> ----- Original Message -----
> >> From: "Dan McCullough" <da...@gmail.com>
> >> To: "jdow" <jd...@earthlink.net>
> >> Sent: Saturday, November 04, 2006 14:27
> >> Subject: Re: spamassassin --lint fails - undefined symbol
> >>
> >>
> >> > As far as I know DNS module is installed.
> >> >
> >> > Here is the complete output.
> >> >
> >> > ############################################################
> >> >
> >> > su amavis -c 'spamassassin --lint -D'
> >> file /usr/share/spamassassin/60_whitelist_subject.cf
> >> ...
> >> > [3901] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_toks
> >> > [3901] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_seen
> >> > [3901] dbg: bayes: found bayes db version 3
> >> > [3901] dbg: bayes: DB journal sync: last sync: 0
> >> > [3901] dbg: config: using "/var/amavis/.spamassassin" for user state dir
> >> > [3901] dbg: bayes: not available for scanning, only 0 spam(s) in bayes DB < 200
> >> > [3901] dbg: bayes: untie-ing
> >> > [3901] dbg: bayes: untie-ing db_toks
> >> > [3901] dbg: bayes: untie-ing db_seen
> >>
> >> Your Bayes is completely untrained for what that is worth.
> >>
> >> > [3901] dbg: dns: name server: 64.80.203.201, family: 2, ipv6: 0
> >> > [3901] dbg: dns: testing resolver nameservers: 64.80.203.201,
> >> > 64.80.203.194, 64.80.255.240
> >> > [3901] dbg: dns: trying (3) google.com...
> >> > [3901] dbg: dns: looking up NS for 'google.com'
> >> > /usr/bin/perl: symbol lookup error:
> >> > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Net/DNS/DNS.so:
> >> > undefined symbol: Perl_sv_2uv_flags
> >>
> >>
> >> Not being an expert I'd initially guess you are running a version of
> >> Net:DNS that is too old for SpamAssassin. Second guess would be a DNS
> >> server that is incompatible with SpamAssassin. There are several that
> >> return intentionally doctored data and as such are incompatible with
> >> SpamAssassin. Due to Earthlink's extreme misbehavior I run a caching
> >> server off the root servers here. And I use plain old bind, none of
> >> the holier than thou newer stuff.
> >>
> >> {^_^}
> >>
>

Re: spamassassin --lint fails - undefined symbol

Posted by jdow <jd...@earthlink.net>.
From: "Dan McCullough" <da...@gmail.com>

> su amavis -c 'spamassassin --lint'
> /usr/bin/perl: symbol lookup error:
> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Net/DNS/DNS.so:
> undefined symbol: Perl_sv_2uv_flags
> 
> can someone tell me what I am doing wrong?

Does it work as a simple "spamassassin --lint" as a user or as root?
Is the DNS module installed?

{^_^}

Re: spamassassin --lint fails - undefined symbol

Posted by Dan McCullough <da...@gmail.com>.
Perl, Spamassassin and most of the modules were installed via Yum.
I have currently uninstalled Spamassassin, Net::DNS + depeds, and am
going to install via cpan.  Funny thing was Mail::SPF::Query when I
installed from cpan had a deped that was needed, and it was something
like Mail::Hostheader or something.

On 11/4/06, Mark <ad...@asarian-host.net> wrote:
> > -----Original Message-----
> > From: Dan McCullough [mailto:dan.mccullough@gmail.com]
> > Sent: zaterdag 4 november 2006 21:45
> > To: users@spamassassin.apache.org
> > Subject: spamassassin --lint fails - undefined symbol
> >
> >
> > su amavis -c 'spamassassin --lint'
> > /usr/bin/perl: symbol lookup error:
> > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/
> > Net/DNS/DNS.so:
> > undefined symbol: Perl_sv_2uv_flags
> >
> > can someone tell me what I am doing wrong?
>
> Sound more like a library/perl mismatch issue. Are you sure /usr/bin/perl
> is the Perl you want? And not /usr/local/bin/perl or some such?
>
> Also, run /usr/bin/perl -V (the capital V), and see what its INC path is.
> Usually. something with site_perl comes first. And do an "ldd
> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Net/DNS/DNS.
> so", to see what libraries it needs itself.
>
> Or re-install Net::DNS, and make sure you run "make test".
>
> - Mark
>
>

RE: spamassassin --lint fails - undefined symbol

Posted by Mark <ad...@asarian-host.net>.
> -----Original Message-----
> From: Dan McCullough [mailto:dan.mccullough@gmail.com] 
> Sent: zaterdag 4 november 2006 21:45
> To: users@spamassassin.apache.org
> Subject: spamassassin --lint fails - undefined symbol
> 
> 
> su amavis -c 'spamassassin --lint'
> /usr/bin/perl: symbol lookup error:
> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/
> Net/DNS/DNS.so:
> undefined symbol: Perl_sv_2uv_flags
> 
> can someone tell me what I am doing wrong?

Sound more like a library/perl mismatch issue. Are you sure /usr/bin/perl
is the Perl you want? And not /usr/local/bin/perl or some such?

Also, run /usr/bin/perl -V (the capital V), and see what its INC path is.
Usually. something with site_perl comes first. And do an "ldd
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Net/DNS/DNS.
so", to see what libraries it needs itself.

Or re-install Net::DNS, and make sure you run "make test".

- Mark