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

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

 



On Tuesday, Apr 14th 2009 at 05:20 -0000, quoth David Hl??ik:

=>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

Read the man page for ldconfig. You have to rerun it if you make changes.

-- 
steveo at syslang dot net TMMP1 http://frambors.syslang.net/
Do you have neighbors who are not frambors? Steven W. Orr
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux