Thanks, Bill, for this pointer. I was able to make it work with this:
$ perl Makefile.PL PREFIX=$PUBSROOT/tools/usr/perl_mods/tmp
LDDLFLAGS="-shared -L/usr/local/lib -Lpath/to/my/zlib/linux/lib"
Evidently I had another version of zlib installed in /usr/lib but
without the development headers. The version I had compiled in
path/to/my/zlib/linux was complete, but I needed to include that in the
Bill Moseley wrote:
> On Thu, Aug 21, 2003 at 12:18:21PM -0700, Peter Karman wrote:
>>I'm trying to build the perl module for 2.2.3 under RedHat 7.3
>>Linux pubslinux 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown
>>swish-e builds fine. I installed the library. Then tried building the perl
>>module, but it errors without finding -lz. I just build this successfully under
>>IRIX and Solaris this a.m., so not sure what it's looking for (Linux is usually
>>the easiest of the three... :) ).
> No kidding.
> If just starting out I'd strongly recommend a current dev of 2.4 and
> using the SWISH::API module. I think you will like that interface
> better and it's replacing the SWISHE module. If you need something more
> "official" I'll try and get out rc2 soon. AFAIK, we just have a few
> Win32 installer pains to iron out.
> Anyway, are you sure you have zlib development packages installed?
> Does this work?
> $ cat t.c
> int main( void )
> return 0;
> $ gcc -lz t.c
Peter Karman - Software Publications Programmer - Cray Inc
phone: 651-605-9009 - mailto:email@example.com
Received on Tue Aug 26 22:47:31 2003