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 unneed
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 nit
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,
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 patch
: ld 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'
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 interesting
Bob Friesenhahn writes:
> On Thu, 2 Jan 2020, wf...@niif.hu wrote:
>>
>>> In this case libtool is a slave of Automake and Automake is
>>> controlling the build and installation order. This means that it
>>> should be expected behavior. Installation is serialized and thus
>>> order matters.
>>
>
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
>
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 '/hom