shared libraries (not working ld.so.conf.d)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello guys,

I have patched my own libraries and override locations to them in ld.so.conf.d .

Let's just see an example:

[root@david ld.so.conf.d]# cat /etc/ld.so.conf.d/cairo-lcd-x86_64.conf
/usr/lib64/cairo-lcd


Now , when I will execute ldd to check for shared library dependencies :

1) gnome-terminal

[root@david ~]# ldd /usr/bin/gnome-terminal |grep libcairo
    libcairo.so.2 => /usr/lib64/cairo-lcd/libcairo.so.2
(0x00000032ef000000) -> OK

this is totally ok and works as expected , but :

2) gimp

[root@david ~]# ldd /usr/bin/gimp |grep libcairo
    libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x00000032ee800000) ->
Totally WRONG

this is wrong and looks for original library instead as it should.

My question is : What is the cause of this problem? Does gimp and
others uses hard-linked libraries and ld.so.conf is for nothing??

Thanks in advance!
David

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux