Re: Did grep change it's syntax? I need to know...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 06, 2005 at 12:58:04PM -0600, Gilbert Sebenste wrote:
> Here's what I get when I run my script:
> 
> Berkeley DB version mismatch: compiled against 4.1.25, run-time linked 
> against 4.3.27
> 
> What the heck does THAT mean?

Well, the only program you're executing that's linked against Berkely
DB is sendmail (called indirectly by /bin/mail):

$ ldd `which grep`
        linux-gate.so.1 =>  (0x003e5000)
        libpcre.so.0 => /lib/libpcre.so.0 (0x0029e000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00111000)
        /lib/ld-linux.so.2 (0x00321000)
$ ldd /bin/mail
        linux-gate.so.1 =>  (0x00f1e000)
        libc.so.6 => /lib/tls/libc.so.6 (0x0033b000)
        /lib/ld-linux.so.2 (0x00321000)
$ ldd /usr/sbin/sendmail
        linux-gate.so.1 =>  (0x001a0000)
        libssl.so.4 => /lib/libssl.so.4 (0x0036b000)
        libcrypto.so.4 => /lib/libcrypto.so.4 (0x009c8000)
        libdb-4.2.so => /lib/tls/i686/libdb-4.2.so (0x008d5000)
	[snip]

So... it may mean that sendmail is failing to execute because you have
a version mismatch.  Have you tried updating your system lately?  You
can try testing this out by running sendmail on the command line.
Something like this might make a nice test:

  $ sendmail address@xxxxxxxxxxx
  From: user@xxxxxxxxxxx
  To: address@xxxxxxxxxxx

  This is a test.
  .

The actual addresses in the headers that you type don't really matter,
so long as you *do not* specify the -t option to sendmail.

Do you get the same messages?

-- 
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D

Attachment: pgpjuLlZndsgD.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux