On 03/05/2015 12:20, Gabriele Bulfon via illumos-discuss wrote:
Also, why this happens even though these libs have RUNPATH and RPATH specifying
correctly?
Here is an example:
bash# elfdump -d libabplo.so
...
[37] RUNPATH 0x1eec2
/usr/gcc/4.7/lib:/lib:/usr/lib:/usr/lib/mps:/usr/lib/libreoffice/program:/usr/lib/libreoffice/ure-link/lib
[38] RPATH 0x1eec2
/usr/gcc/4.7/lib:/lib:/usr/lib:/usr/lib/mps:/usr/lib/libreoffice/program:/usr/lib/libreoffice/ure-link/lib
...
bash# ldd libabplo.so
libstdc++.so.6 =/usr/gcc/4.7/lib/libstdc++.so.6
...
libgcc_s.so.1 =/usr/gcc/4.7/lib/libgcc_s.so.1
...
libstdc++.so.6 =/usr/gcc/4.4/lib/libstdc++.so.6
libgcc_s.so.1 =/usr/gcc/4.4/lib/libgcc_s.so.1
thanks for any help,
Hello.
Can it happen because of transitive dependency?
E.g. some libA is linked with /usr/gcc/4.4/lib/libstdc++.so.6 and have
RPATH=/usr/gcc/4.4/lib, libabplo is linked to libA and
/usr/gcc/4.7/lib/libstdc++ and so gets both dependencies?
--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department
-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription:
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com