Mailinglist Archive: opensuse-support (91 mails)

< Previous Next >
Re: [opensuse-support] question about ldd

On 9/24/18 6:45 AM, Bengt Gördén wrote:
On 2018-09-24 01:20, mike wrote:
         I'm still trying to figure out why I can't get fahclient to run, and I found out that ldd shows which libraries

As you've opened a new thread I reply in this instead of the first one.

Install libbz2-1. Then install the downloaded FAH-rpm as normally.

zypper in fahclient-7.5.1-1.x86_64.rpm fahcontrol-7.5.1-1.noarch.rpm fahviewer-7.5.1-1.x86_64.rpm

It will complain about bzip2-libs (it's the libbz2-1 package in our world), just ignore and choose "break some dependencies". Download the debian package. Extract it (preferbly with ark) to a local directory (important). Copy the 4 (actually 3 binary and 1 python) binary from the local usr/bin to /usr/bin/

Like so:

sudo cp <yourlocaldir>/usr/bin/FAH* /usr/bin/

And run. It works on my tumbleweed.

Explanation:

If you download the package for debian you'll see that ldd for the binarys hasn't any issues finding the libs. That's probably because the developer choose to link statically for debian. You should open an issue at github and ask for static linked binary for rpm in the same manner as for deb. Probably they don't care because opensuse isn't a supported platform.

see this for reference about issue and suggestion for static linking:
https://github.com/FoldingAtHome/fah-issues/issues/893#issuecomment-89124794

I just made a short diff between FAHView for deb and rpm. These libs was found for rpm but not in deb.

libfreetype.so.6
libssl.so.10
libcrypto.so.10
librt.so.1
libbz2.so.1
libpng16.so.16

size of them
$ ls -l deb/usr/bin/FAHViewer rpm/usr/bin/FAHViewer
-rwxr-xr-x 1 justanotheruser users 15313640 23 maj 22.41 deb/usr/bin/FAHViewer
-rwxr-xr-x 1 justanotheruser users 12171888 23 maj 22.41 rpm/usr/bin/FAHViewer


Cheers,

        Thank you Bengt----using the binary from the debian package did the trick, again thank you very much!!

                            mike



PS. I did some folding long time ago (at least 10 years ago) together with one of my kids. It was great fun. DS.


--
To unsubscribe, e-mail: opensuse-support+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-support+owner@xxxxxxxxxxxx

< Previous Next >
References