Re: transitive shared library dependencies and installation

2020-01-06 Thread wferi
Bob Friesenhahn writes: > On Sun, 5 Jan 2020, wf...@niif.hu wrote: > >> On the other hand, this overlinks the final binary: >> >> $ objdump -p .libs/translib | fgrep NEEDED >> NEEDED liba.so >> NEEDED libb.so >> NEEDED libc.so.6 >> >> libb.so is

Re: transitive shared library dependencies and installation

2020-01-05 Thread wferi
Roumen Petrov writes: > wf...@niif.hu wrote: > >>> So the right question is did reporter test with FSF version? >> >> I'm the reporter, and I didn't test any other version, as I wasn't >> even sure whether my example was correct and was supposed to work. > > You sample is correct . One minor

Re: transitive shared library dependencies and installation

2020-01-04 Thread wferi
Bob Friesenhahn writes: > On Sat, 4 Jan 2020, wf...@niif.hu wrote: > >>> Above dependency explain all - lib_LTLIBRARIES is project (sample) >>> specific. Project should ensure order. >> >> Fair enogh, but my point (which I didn't really emphasize) is that >> installation could work in any order,

Re: transitive shared library dependencies and installation

2020-01-04 Thread wferi
Roumen Petrov writes: > wf...@niif.hu wrote: > >> Roumen Petrov writes: >> >>> wf...@niif.hu wrote: >>> I'm experimenting with the attached skeleton project on a Debian buster system (autoconf 2.69-11, automake 1:1.16.1-4 and libtool 2.4.6-9): > > Debian is key word. > Libtool is

Re: transitive shared library dependencies and installation

2020-01-04 Thread wferi
returned 1 exit status >> libtool: error: error: relink 'a/liba.la' with the above command before >> installing it >> make[1]: *** [Makefile:446: install-libLTLIBRARIES] Error 1 >> make[1]: Leaving directory '/home/wferi/ha/pacemaker/translib' >> make: *** [Makef

Re: transitive shared library dependencies and installation

2020-01-02 Thread wferi
Bob Friesenhahn writes: > On Thu, 2 Jan 2020, wf...@niif.hu wrote: > True, but man ld states in the -rpath-link option description that the directories specified by -rpath options are used with a very high priority for locating required shared libraries. >>> >>> This is

Re: transitive shared library dependencies and installation

2020-01-01 Thread wferi
Bob Friesenhahn writes: > On Wed, 1 Jan 2020, wf...@niif.hu wrote: > >> make[1]: Leaving directory '/home/wferi/ha/pacemaker/translib' >> make: *** [Makefile:798: install-am] Error 2 >> >> No cyclic dependencies here, so this can be worked around by >> >&

transitive shared library dependencies and installation

2020-01-01 Thread wferi
Hi, I'm experimenting with the attached skeleton project on a Debian buster system (autoconf 2.69-11, automake 1:1.16.1-4 and libtool 2.4.6-9): $ autoreconf -f -i $ ./configure --prefix=/tmp/translib $ make $ ./translib; echo $? 6 $ make install make[1]: Entering directory '/home/wferi/ha