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

Derek Martin code at pizzashack.org
Sun Nov 6 19:21:13 UTC 2005


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 at example.com
  From: user at example.com
  To: address at example.com

  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20051106/60242726/attachment-0001.sig>


More information about the fedora-list mailing list