2005.09.29 16:34 "[Tiff] libtiff.so.4", by Sid Boyce

2005.09.30 15:34 "Re: [Tiff] libtiff.so.4", by Sid Boyce

>>I have an app that needs the above lib, but the latest version is 3.7.4. I'm not on the list, please cc: me with replies.

>>What software/distribution are you running? Some Linux distributions including Debian as well as some other systems including Cygwin and, I think, NetBSD, have renumbered the shared library because of incompatibilities introduced around 3.6.1 or so. It is most likely that the software would work with 3.7.4 if you built it in such a way to get the library named as required by your application. (Maybe even just renaming it or making a symbolic link would work.) If you are still having difficulty, you probably need to include information about where you got the application and what distribution you're running. Hope that helps.

I'm running SuSE 9.3. I shall try the symlink first. It's a Linux app after Nasa WorldWind/Google Earth.


Please note that the symlink trick is basically not a general trick and is usually not a good idea. Library sonames change when old versions and new versions are incompatible. Generally changing the name in this way will create something that will initially load but will fail in odd and unpredictable ways. I suggested it for libtiff only because I happen to know that some distributions create libtiff.so.4 from 3.6.1 and newer.

The program 'ww2d' received an X Window System error. This probably reflects a bug in the program.

The error was 'BadMatch (invalid parameter attributes)'.

   (Details: serial 588 error_code 8 request_code 144 minor_code 5)
   (Note to programmers: normally, X errors are reported asynchronously;
    that is, you will receive the error a while after causing it.
    To debug your program, run it with the --sync command line
    option to change this behavior. You can then get a meaningful
    backtrace from your debugger if you break on the gdk_x_error()

barrabas:/ftp/sep05/WW2D/linux #
barrabas:/ftp/sep05/WW2D/linux # l /usr/lib/libpng12.

libpng12.a           libpng12.so          libpng12.so.0

libpng12.so. barrabas:/ftp/sep05/WW2D/linux # l /usr/lib/libpng12.so.0 lrwxrwxrwx 1 root root 19 2005-05-02 14:53 /usr/lib/libpng12.so.0 -> libpng12.so.*

It's conceivable that this could be because of a shared library issue, but there's no guarantee.

I now have the sources which I built without the links and I get the same "The program 'ww2d' received an X Window System error." Looks like the problem exists elsewhere, so I have to hunt elsewhere. Many thanks for your assistance.


Sid Boyce... Hamradio License G3VBV, licensed Private Pilot
Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Microsoft Windows Free Zone - Linux used for all Computing Tasks