Skip to main content.
home | support | download

Back to List Archive

Re: Quick question

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Fri Apr 12 2002 - 06:14:38 GMT
At 10:38 PM 04/11/02 -0700, Colin Kuskie wrote:
>True, but I'd like to use the module/CGI interface.

I wouldn't bother unless you have some specific reasons for doing so.

>I changed the line to point to the actual library, instead of the one
>in the local build directory to see if it would change the problem, but
>it doesn't.

>'-lswish-e' found at
/usr/local/src/swish-e-2.1-dev-25/perl/../src/libswish-e.a

>PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 test.pl
>Can't load 'blib/arch/auto/SWISHE/SWISHE.so' for module SWISHE:
blib/arch/auto/SWISHE/SWISHE.so: undefined symbol: compress2 at
/usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169.

Hum, it's looking for compress2.  This is a bit confusing.  See, swish used
to have a function called compress2, but zlib, silly thing that it is,
exports a symbol compress2 also.  So the one in swish was renamed
SW_compress2.

So it looks like you tried to build swish with zlib support, but zlib is
not installed.  If you are running Red Hat I find that hard to believe.

I just tried removing all my libz* files and swish complains a lot when
trying to build.  This is swish, not the perl module.

libswish-e.a(docprop.o): In function `compress_property':
/data/_g/lii/z/swish-e-2.1-dev-25/src/docprop.c:1006: undefined reference
to `compress2'
libswish-e.a(docprop.o): In function `uncompress_property':
/data/_g/lii/z/swish-e-2.1-dev-25/src/docprop.c:1070: undefined reference
to `uncompress'
collect2: ld returned 1 exit status


-- 
Bill Moseley
mailto:moseley@hank.org
Received on Fri Apr 12 06:16:06 2002