Library update removed essential application

Greetings All,

Today I ran an system update which installed ‘libdg3’. This update replaced ‘libgd2’.
Unfortunately, I have an application (WVIEW) that depended on ‘libgd2’, and was removed as part of the update.
I cannot re-install version 2 (I have the RPM) without uninstalling version 3.
Attempts to remove the libgd3 install results in non-stop “application conflict” pop-ups.

Short of re-installing the OS again, is there anything I can do to get the old library back?
Abandoning this application is NOT an option…

I am running Leap v15.1.

Thanx

Richard Rosa

Hi
What version of wview? Rebuild the wview src rpm to use libgd3? If you extract the libgd2 rpm and pop the libs into /usr/local/lib64 and run the command ldconfig it should find it there.

Assuming you need WVIEW right away:

If you have snapshotting enabled, you can rollback to before the updates, then lock WVIEW and libgd2 before applying any more updates.

Without snapshotting enabled, and you didn’t backup / first, you could do a DVD or USB “upgrade” from 15.1 to 15.1 without online repos enabled, and again lock libgd2 and WVIEW before applying any updates.

If you don’t need WVIEW right away, or after doing a restore and lock, email its maintainer and ask for a solution.

This does not seem quite right. Checking the install DVD, I see that “libgd3” is already on the DVD. So it should have been installed as part of the original install of 15.1, rather than a library update.

Yes, you might have updated from Leap 15.0, and that update might have done the replacement. But that was still part of the original install of 15.1.

That doesn’t solve your problem. But perhaps the other suggestion to rebuild “wview” will work for you.

The version that was installed was 5.20.2-6.56 from this repository->http://download.opensuse.org/repositories/home:/illuusio/openSUSE_Tumbleweed

I tried your suggestion of extracting the libraries from the RPM and placing them in /usr/local/lib64, but the RPM install still fails to find them.


# rpm -ihv wview-5.20.2-6.56.x86_64.rpm
warning: wview-5.20.2-6.56.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 9d688df5: NOKEY
error: Failed dependencies:
        libgd.so.2()(64bit) is needed by wview-5.20.2-6.56.x86_64

I DID try to rebuild from source, but the config seems unable to find other dependencies


 ...
checking for pthread_create in -lpthread... yes
checking for radthreadLock in -lrad... no
librad is missing or old version!

I suspect it is not happy with the RADLIB version installed from the same repository. Not sure where to get a more recent RPM.

The Wview site (http://www.wviewweather.com/) has LOTS of support for Debian/Ubuntu distros, but RPMs are not an option…

Richard Rosa

Hi
Installing a tumbleweed rpm… a receipe for disaster…

So you need to grab the ranlib src rpm and rebuild that, install the development package, then rebuild the other one.

The other option is contacting the maintainer and asking to build…

Unless you know of some other place the RPM is available, the choice was grab the RPM from the tumbleweed repo, or not install the app.

The most recent level of radlib source is the same level as the RPM. Built and installed it, with the same error.
Looks like the choices are:

  1. Rebuild SUSE.
  2. Start using Ubuntu.
  3. Write my own (probably not something I can easily do)

If I rebuild, is there a way to keep the update at bay?

Thanx for your assistance…

Richard Rosa

Hi

  1. why? 2) sure always an option, 3) If you contact the maintainer of the rpms and ask to fix up and rebuild?

For 3) See Show home:illuusio / wview - openSUSE Build Service (email is in the spec file) if the rpms are rebuilt then you should have no issues moving forward.