Bug 5434

Summary: spamc build doesn't find libz.so in /usr/local/lib
Product: Spamassassin Reporter: Larry Rosenbaum <rosenbaumlm>
Component: Building & PackagingAssignee: SpamAssassin Developer Mailing List <dev>
Status: NEW ---    
Severity: normal    
Priority: P5    
Version: SVN Trunk (Latest Devel Version)   
Target Milestone: Undefined   
Hardware: Sun   
OS: Solaris   
Whiteboard:

Description Larry Rosenbaum 2007-04-25 07:00:46 UTC
Building SA v3.2.0-rc3 on Solaris 8 - if libz.so is in /usr/local/lib (rather 
than /usr/lib), then spamc doesn't link correctly, causing the following 
runtime error:

ld.so.1: ../spamc/spamc: fatal: libz.so: open failed: No such file or
directory

A workaround is to use the following "make" command:

LD_RUN_PATH=/usr/local/lib make

but it would be better if the configuration code supplied the right link
options.