AIDA Shinra wrote:
> At Wed, 01 Nov 2006 19:32:13 -0500,
> Matt Kettler wrote:
>
>> 2) modified /etc/ld.so.conf to include /usr/local/lib, and ran ldconfig to build
>> the cache.
>
> The libbind.a is a static library. No need for ldconfig.
It's not using libbind.a, it's using the .so version, hence the ldconfig. (see
ldd output below)
>
>> 3) rebuilt milter-greylist:
>> ./configure --enable-dnsrbl --with-libbind=/usr/local/lib/
>> make clean
>> make
>>
>> Still crashes, same way.
>
> Don't addappend /lib/ after --with-libbind=/usr/local.
Fair enough, fixed.
./configure --enable-dnsrbl --with-libbind=/usr/local
>
> Then tell me your make log and the result of "ldd milter-greylist".
>
(See the attached make.log, but these two messages went to stderr.)
$ make >make.log
conf_lex.c:2349: warning: `yy_flex_realloc' defined but not used
dump_lex.c:1678: warning: `yy_flex_realloc' defined but not used
$
Here's your ldd:
$ ldd milter-greylist
/lib/libsafe.so.2 => /lib/libsafe.so.2 (0x40018000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40028000)
libbind.so.0 => /usr/local/lib/libbind.so.0 (0x40078000)
libresolv.so.2 => /lib/libresolv.so.2 (0x400b8000)
libnsl.so.1 => /lib/libnsl.so.1 (0x400ca000)
libc.so.6 => /lib/i686/libc.so.6 (0x400df000)
libdl.so.2 => /lib/libdl.so.2 (0x40218000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
$
Still has the same blow-up:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 9707)]
0x4015b54c in memcpy () from /lib/i686/libc.so.6
(gdb) bt
#0 0x4015b54c in memcpy () from /lib/i686/libc.so.6
#1 0x40019c73 in memcpy () from /lib/libsafe.so.2
#2 0x0804db4d in ipfromstring (str=0x8090deb "127.0.0.0", sa=0x8087c80,
salen=0xbffc8048, family=16) at pending.c:600
#3 0x08052a2d in conf_lex () at conf_lex.l:179
#4 0x0805253e in conf_parse () at bison.simple:573
#5 0x08054895 in conf_load () at conf.c:152
#6 0x0804b5e4 in main (argc=1, argv=0xbffff3a4) at milter-greylist.c:886
#7 0x400f4a67 in __libc_start_main () from /lib/i686/libc.so.6Message
Re: [milter-greylist] Re: milter-greylist 3.0rc6 segmentation fault.
2006-11-02 by Matt Kettler
Attachments
- No local attachments were found for this message.