Skip to main content.
home | support | download

Back to List Archive

Re: 2.4.0 Available

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Sat Nov 01 2003 - 23:31:05 GMT
I'm cc'ing the swish-e list in case someone else can spot something.

My guess is you need to add /usr/local/lib to /etc/ld.so.conf and run ldconfig

On Sat, Nov 01, 2003 at 02:52:31PM -0800, Bill Conlon wrote:
> Bill,
> 
> No, libswish-e.so.2 does NOT get installed with: 
> 
> ./configure
> make
> make test (all 3 tests passed)
> make install (seemed to work ok, output included below)

But it looks like it is getting installed:

> /bin/sh ../config/mkinstalldirs /usr/local/lib
>  /bin/sh ../libtool --mode=install /usr/bin/install -c  libswish-e.la /usr/local/lib/libswish-e.la

Here's the actual library:
> /usr/bin/install -c .libs/libswish-e.so.2.0.0 /usr/local/lib/libswish-e.so.2.0.0

And here's the symlinks:
> (cd /usr/local/lib && rm -f libswish-e.so.2 && ln -s libswish-e.so.2.0.0 libswish-e.so.2)
                                                                           ^^^^^^^^^^^^^^^
> (cd /usr/local/lib && rm -f libswish-e.so && ln -s libswish-e.so.2.0.0 libswish-e.so)

Are you sure it's not getting installed?

Now, there was an update to autoconf between 2.4.0-pr4 and the release,
but I'm on the autoconf list and I haven't seen any problems discussed
about this.

It's odd that "make install" is showing the creations of the links.  Did
you actually look at /usr/local/lib/libswish-e* and see if they are
there?

Can you compare the final "make" line from the two versions?  Perhaps
there's a missing -R or --rpath setting in 2.4.0 that was in -pr4?  This
is what the line looks like (but in this case I'm specifying --prefix=$HOME/24:

gcc -g -O2 -o .libs/swish-e swish.o keychar_out.o dump.o result_output.o  ./.libs/libswishindex.a -L/usr/lib /usr/lib/libxml2.so -lpthread ./.libs/libswish-e.so -lz -lm -Wl,--rpath -Wl,/home/moseley/24/lib

I used a --prefix option to configure which adds a --rpath to the link line,
resulting in:

moseley@bumby:~/swish-e-2.4.0$ objdump -x /home/moseley/24/bin/swish-e  | grep RPATH
  RPATH       /home/moseley/24/lib

On the other hand, when installed in /usr/local there is not RPATH:

moseley@bumby:~/swish-e-2.4.0$ objdump -x /usr/local/bin/swish-e  | grep RPATH


Do you have /usr/local/lib in ld.so.conf?



-- 
Bill Moseley
moseley@hank.org
Received on Sat Nov 1 23:43:18 2003