procmail
[Top] [All Lists]

Problem with nmh 1.0.1 under procmail

1999-10-21 14:49:23
I am using exmh 2.1.0 and nmh 0.28-pre7 for my mail reader.  It runs under
Solaris 2.6 on a Sun Sparc5.  This old version of nmh has some problems.  In
order to solve these, I am trying to install nmh-1.0.1

When I compile it on Solaris 2.6, using cc: WorkShop Compilers 4.2 30 Oct 1996
C 4.2, it gets a boatload of warnings  about mismatched parameters, but seems
to generate things properly.

When I run rcvstore from procmail, though, I get the following in the procmail
log file


ld.so.1: /home/mcmaster/lib/rcvstore: fatal: relocation error: file 
/home/mcmaster/lib/rcvstore: symbol snprintf: referenced symbol not found 

procmail: Program failure (-9) of "/home/mcmaster/lib/rcvstore"

rcvstore runs correctly from the command line.  It only gives this error when 
called from procmail.  snprintf is in the standard C library 
/usr/lib/llib-lc, which should be available.  nmh's GNU autoconf ./configure 
indicates it can find snprintf's header, but something is wrong at runtime. 
An ldd reports:

jcm.mcmaster{20} ldd rcvstore
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
 
for both the old and the new versions of rcvstore.


I reported this on the nmh developer's list.  Two people there gave me some 
things to try, but none of them worked.  They finally concluded it must be a 
problem with my procmail setup, although I do not know what it could be.

Can anyone think of a possible fix for this?
-- 
Jim McMaster
mailto:mcmaster(_at_)sweng(_dot_)stortek(_dot_)com



<Prev in Thread] Current Thread [Next in Thread>