User Tools

Site Tools


programming:python:installpymilter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
programming:python:installpymilter [2008/02/04 22:14] – created crustymonkeyprogramming:python:installpymilter [2008/02/05 16:23] crustymonkey
Line 36: Line 36:
 </code> </code>
 Taking a look at it reveals that ''gcc'' can't find the ''smutil'' library.  I took a guess and figured that ''smutil'' was probably "Sendmail Utilities" The fix is next. Taking a look at it reveals that ''gcc'' can't find the ''smutil'' library.  I took a guess and figured that ''smutil'' was probably "Sendmail Utilities" The fix is next.
 +
  
 ===== The Fix ===== ===== The Fix =====
 +The fix for me was quite simple.  I just downloaded the source for Sendmail itself matching the version of ''libmilter'' that I had installed (in this case, it was 8.14.2).  Once I had it downloaded, I just built it and added ''libsmutil.a'' to to my lib directory, ''/usr/lib''.
 +
 +<code>
 +# tar -xvzf sendmail.8.14.2.tar.gz
 +# cd sendmail-8.14.2
 +# ./Build
 +# cp obj.Linux.2.6.19-gentoo-r5.i686/libsmutil/libsmutil.a /usr/lib
 +</code>
 +
 +After that, I reran the install for Python Milter and it installed and worked without a hitch.
  
 +Hope this helps someone else out there because the Python Milter library works really well.
programming/python/installpymilter.txt · Last modified: 2009/06/11 15:25 by crustymonkey