Bug 5434 - spamc build doesn't find libz.so in /usr/local/lib
Summary: spamc build doesn't find libz.so in /usr/local/lib
Status: RESOLVED WORKSFORME
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Building & Packaging (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: Sun Solaris
: P5 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-25 07:00 UTC by Larry Rosenbaum
Modified: 2022-03-06 16:27 UTC (History)
1 user (show)



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 1 Henrik Krohns 2022-03-06 16:27:33 UTC
Closing ancient stale bug.