Skip to main content.
home | support | download

Back to List Archive

Re: 2.4.0 Available

From: Bill Moseley <moseley(at)>
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/ and run ldconfig

On Sat, Nov 01, 2003 at 02:52:31PM -0800, Bill Conlon wrote:
> Bill,
> No, 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 /usr/local/lib/

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

And here's the symlinks:
> (cd /usr/local/lib && rm -f && ln -s
> (cd /usr/local/lib && rm -f && ln -s

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

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/ -lpthread ./.libs/ -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

Bill Moseley
Received on Sat Nov 1 23:43:18 2003