Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] dbdump command

2007-02-23 by aNguyen

When I check with ldd, milter-greylist does not link to either libmilter.a or libmilter.so ... I wonder if something is missing here. thx
bash-2.03# which milter-greylist
/usr/local/bin/milter-greylist
bash-2.03# file /usr/local/bin/milter-greylist
/usr/local/bin/milter-greylist: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, not stripped
bash-2.03# ldd /usr/local/bin/milter-greylist
libpthread.so.1 => /usr/lib/64/libpthread.so.1
libsocket.so.1 => /usr/lib/64/libsocket.so.1
libresolv.so.2 => /usr/lib/64/libresolv.so.2
; libnsl.so.1 => /usr/lib/64/libnsl.so.1
libc.so.1 => /usr/lib/64/libc.so.1
libdl.so.1 => /usr/lib/64/libdl.so.1
libmp.so.2 => /usr/lib/64/libmp.so.2
; libthread.so.1 => /usr/lib/64/libthread.so.1
/usr/platform/SUNW,Sun-Fire-280R/lib/sparcv9/libc_psr.so.1
bash-2.03#
bash-2.03# file /usr/lib/libmilter.a
/usr/lib/libmilter.a: current ar archive, not a dynamic executable or shared object
bash-2.03# file /usr/lib/libmilter.so
/usr/lib/libmilter.so: ELF 32-bit MSB dynamic lib SPARC Version 1, dynamically linked, not stripped
----- Original Message -----
Sent: Friday, February 23, 2007 1:08 AM
Subject: Re: [milter-greylist] dbdump command

On Fri, Feb 23, 2007 at 01:07:19AM -0800, An.H.Nguyen wrote:
> When I copy the 64bit milter-greylist binary to the other server, it runs for two days without crashing... Unfortunately, it crashes in about an hour on the box that I compiled tthe 64bit libmilter and 64bit milter-greylist binary... I notice that the 64bit milter-greylist runs fine wih the 32bit libmilter on the other box...

I think you are confused. A 32 bit binary cannot link with a 64 bit library.
--
Emmanuel Dreyfus
manu@netbsd.org

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.