[arch-general] Abiword and wv

Myra Nelson myra.nelson at hughes.net
Tue Aug 24 03:39:11 EDT 2010


Greetings,

Abiword was upgraded from 2.8.6.1 to 2.8.6.2.
[2010-08-20 01:25] upgraded abiword (2.8.6-1 -> 2.8.6-2)
[2010-08-20 01:25] upgraded abiword-plugins (2.8.6-1 -> 2.8.6-2)

When I attempted to start Abiword with gmrun and it failed. Next I
tried in a terminal
and received the following error message.

[myra at gandalf abiword
unable to find libwv-1.2.so.3

My troubleshooting went like this:

[myra at gandalf /usr/lib]:locate libwv
/usr/lib/libwv-1.2.so.4
/usr/lib/libwv-1.2.so.4.0.3
/usr/lib/libwv.a
/usr/lib/libwv.so

[myra at gandalf pacman -Q wv
Name           : wv
Version        : 1.2.7-1

http://www.archlinux.org/packages/extra/x86_64/wv/

Package Details: wv 1.2.7-1

Architecture: 	x86_64
Repository: 	Extra
Description: 	MSWord library can load and parse Word 2000, 97, 95 and
6 file formats
Upstream URL: 	http://sourceforge.net/projects/wvware
License: 	GPL
Groups: 	None
Maintainers: 	Jan de Groot
Package Size: 	261.3 KB
Installed Size: 	3.2 MB
Last Packager: 	Jan de Groot
Build Date: 	2010-06-08 10:02:57 UTC
Last Updated: 	2010-06-08

 Package Contents
    * usr/lib/libwv-1.2.so.3 ****************
    * usr/lib/libwv-1.2.so.3.0.4
    * usr/lib/libwv.a
    * usr/lib/libwv.so

fix-soname.patch with PKGBUILD

diff -ru wv-1.2.7.orig//configure wv-1.2.7//configure
--- wv-1.2.7.orig//configure	2009-09-21 12:22:46.000000000 +0200
+++ wv-1.2.7//configure	2010-06-08 12:00:27.948857203 +0200
@@ -2082,8 +2082,8 @@
 WV_MAJOR_VERSION=1
 WV_MINOR_VERSION=2
 WV_MICRO_VERSION=7
-WV_INTERFACE_AGE=3
-WV_BINARY_AGE=3
+WV_INTERFACE_AGE=4
+WV_BINARY_AGE=4
 WV_VERSION=$WV_MAJOR_VERSION.$WV_MINOR_VERSION.$WV_MICRO_VERSION

I rebuilt Abiword and everything works fine. Now for the question. Why
was Abiword still trying to find the previous
version of libwv and why does the package listing on the archlinux
packages still show libwv-1.2.so.3? I only ask
because that's the version the latest Abiword package from the
repositories was looking for. Granted I built
Abiword 2.8.2-1 from ABS because I was having problems getting it to
work properly installing the package with
pacman, and wv was installed on [2010-02-14 02:46] installed wv
(1.2.7-1) which is prior to the age bump for
the .so file and hasn't updated since (I've checked the pacman.log
thoroughly). I'm assuming I built wv from abs
at the time but can't find the package I built to check it. Makes one
wonder how I wound up with libwv-1.2.so.4.
AFAICT that doesn't explain the latest build of Abiword from the
package repository trying to find libwv.so.3 since
the PKGBUILD doesn't use version deps, or am I missing something.

Ciao for now

Myra
--
Life's fun when your sick and psychotic!


More information about the arch-general mailing list