0.7.12 doesn't work under Solaris


Subject: 0.7.12 doesn't work under Solaris
From: Peter C. Tribble (ptribble@hgmp.mrc.ac.uk)
Date: Thu Jan 11 2001 - 05:10:53 CST


I just downloaded Abiword 0.7.12 for Solaris, and discovered it doesn't work.

Chances are that it won't ever work at all for the majority of Solaris users.

Running ldd on the binary shows the following dependencies:

        libdl.so.1 => /usr/lib/libdl.so.1
        libpng.so.2 => (file not found)
        libz.so => (file not found)
        libgtk-1.2.so.0 => (file not found)
        libgdk-1.2.so.0 => (file not found)
        libgmodule-1.2.so.0 => (file not found)
        libglib-1.2.so.0 => (file not found)
        libXext.so.6.4 => (file not found)
        libX11.so.6.1 => (file not found)
        libsocket.so.1 => /usr/lib/libsocket.so.1
        libnsl.so.1 => /usr/lib/libnsl.so.1
        libstdc++.so.2.8.1.1 => (file not found)
        libm.so.1 => /usr/lib/libm.so.1
        libc.so.1 => /usr/lib/libc.so.1
        libmp.so.2 => /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1

The gtk dependency is understandable, and I can cope with that (setting
LD_LIBRARY_PATH fixes it). But the binary is still incorrectly linked:

1. shared libstdc++, won't exist at most sites. (And what version is it?
Usually you get broken binaries using version 2.10.0, which I think
corresponds to shared [non-standard] installs of gcc 2.95.2.)

2. Uses X11R6.4 instead of the bundled OpenWindows, so won't work
unless you go get X11R6.4 first

3. shared libpng and libz. Neither should be linked dynamically.

To make the Solaris distribution useable at all, it should be linked against
the system libraries in /usr/openwin, and statically against libz, libpng, and
libstdc++.

0.7.10 was OK, as it only had the dependencies on gtk and friends.

        libdl.so.1 => /usr/lib/libdl.so.1
        libgtk-1.2.so.0 => (file not found)
        libgdk-1.2.so.0 => (file not found)
        libgmodule-1.2.so.0 => (file not found)
        libglib-1.2.so.0 => (file not found)
        libintl.so.1 => /usr/lib/libintl.so.1
        libXext.so.0 => /usr/openwin/lib/libXext.so.0
        libX11.so.4 => /usr/openwin/lib/libX11.so.4
        libsocket.so.1 => /usr/lib/libsocket.so.1
        libnsl.so.1 => /usr/lib/libnsl.so.1
        libw.so.1 => /usr/lib/libw.so.1
        libm.so.1 => /usr/lib/libm.so.1
        libc.so.1 => /usr/lib/libc.so.1
        libmp.so.2 => /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1

Which only requires LD_LIBRARY_PATH setting to find gtk (although why the
binary couldn't have been built with RPATH pointing to /usr/local/lib I'm
not sure - probably a result of not fixing up the gtk-config and glib-config
scripts to add a matching -R to every -L).

I can build 0.7.11 successfully under Solaris (although it's not suitable
for distribution, as my build had some of the same problems as above).
Is the 0.7.12 source available? The latest tarballs are 0.7.11.

-Peter Tribble
HGMP Computing Services
http://www.hgmp.mrc.ac.uk/~ptribble/



This archive was generated by hypermail 2b25 : Thu Jan 11 2001 - 05:11:21 CST