Okay. I changed the Subject so that this is easier for me to track,
and concatenated the responses to several emails below.
What do you get when you type make install-lib?
This is what I get:
cp src/libswish-e.a /usr/local/lib/libswish-e.a
No .so file. Or is an .a file equivalent?
#ldconfig -v | less #snippet below
/usr/local/lib:
/usr/lib:
libldap.so.1 => libldap.so.1.0.0
liblber.so.1 => liblber.so.1.0.0
libssl.so.0 => libssl.so.0.9.5a
Nothing being linked there either.
> Did you build with --with-zlib
Yes.
> What's the output from ldd src/swish-e?
> How about nm src/libswish-e.a | grep compress2
# ldd src/swish-e
libm.so.6 => /lib/libm.so.6 (0x4001a000)
libz.so.1 => /usr/lib/libz.so.1 (0x40037000)
libc.so.6 => /lib/libc.so.6 (0x40046000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
# nm src/libswish-e.a | grep compress2
U uncompress2
U uncompress2
U uncompress2
U compress2
00000050 T SW_compress2
00000104 T uncompress2
U uncompress2
U uncompress2
U uncompress2
U uncompress2
> Could you try two things?
>
> run ldconfig and try to build again.
>
Reran ldconfig, no change.
> I'd also like to see what ldd says, too. I assume that libz is not
> listed.
>
> ~/swish-e > ldd perl/blib/arch/auto/SWISHE/SWISHE.so
> libm.so.6 => /lib/libm.so.6 (0x40095000)
> libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0x400b2000)
> libc.so.6 => /lib/libc.so.6 (0x4014c000)
> libz.so.1 => /usr/lib/libz.so.1 (0x40254000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Shouldn't there be a link to libswishe in there somewhere?
# ldd blib/arch/auto/SWISHE/SWISHE.so
libm.so.6 => /lib/libm.so.6 (0x40090000)
libc.so.6 => /lib/libc.so.6 (0x400ad000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Received on Fri Apr 12 17:32:59 2002