Re: make creates 2.8.6 and 2.8.2 versions

From: Jean Bréfort <jean.brefort_at_normalesup.org>
Date: Wed Jun 23 2010 - 10:13:42 CEST

When you type ./src/.libs/abiword --version, the executable uses an
already installed library, which is, I suppose, the 2.8.2 version, while
the abiword file in your src directory is actually a script which
ensures that the built library is used. When you install
(to /usr/local?) you do install abiword-2.8.6, but the directory where
you install the new library is most probably not taken into account by
the dynamic loader. Check the LD_LIBRARY_PATH variable and/or the
configuration in /etc/ld.so.conf

Regards,
Jean

Le mercredi 23 juin 2010 à 00:48 -0700, Robin Rowe a écrit :
> When I make the latest abiword source tarball on Ubuntu 10.04 AMD64, it
> creates two abiword versions, not only 2.8.6 as I expect.
>
> $ ls -l ./src/abiword
> -rwxr-xr-x 1 rower rower 5963 2010-06-22 23:47 ./src/abiword
> $ ls -l ./src/.libs/abiword
> -rwxr-xr-x 1 rower rower 22922 2010-06-22 23:47 ./src/.libs/abiword
> $ ./src/abiword --version
> 2.8.6
> $ ./src/.libs/abiword --version
> 2.8.2
>
> When I do make install, the 2.8.2 version is installed, not 2.8.6.
>
> Why?
>
> Robin
Received on Wed Jun 23 10:13:28 2010

This archive was generated by hypermail 2.1.8 : Wed Jun 23 2010 - 10:13:28 CEST