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
>'-lswish-e' found at
>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
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
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
collect2: ld returned 1 exit status
Received on Fri Apr 12 06:16:06 2002