linux - Where can I find source code of ldconfig? -


i want peek implementation,where available?

here how found out source code is, on system runs fedora distribution of linux. (for debian, ubuntu , similar distributions command(s) use different.)

rpm -qfi `which ldconfig` 

(those `s backticks, not apostrophes.)

this outputs following

name        : glibc                        relocations: (not relocatable) version     : 2.13                              vendor: fedora project release     : 1                             build date: thu 20 jan 2011 10:52:15 gmt install date: sun 13 mar 2011 11:42:50 gmt      build host: x86-04.phx2.fedoraproject.org group       : system environment/libraries   source rpm: glibc-2.13-1.src.rpm size        : 13616282                         license: lgplv2+ , lgplv2+ exceptions , gplv2+ signature   : rsa/sha256, thu 20 jan 2011 04:42:22 pm gmt, key id 421caddb97a1071f packager    : fedora project url         : http://www.gnu.org/software/glibc/ summary     : gnu libc libraries description : glibc package contains standard libraries used multiple programs on system. in order save disk space , memory, make upgrading easier, common system code kept in 1 place , shared between programs. particular package contains important sets of shared libraries: standard c library , standard math library. without these 2 libraries, linux system not function. 

the important part of output source rpm field. shows ldconfig part of glibc project (at least, according fedora - occassionally distros package 2 closely-related source projects in 1 package, that's rare).

so should find source of ldconfig in tarball: http://ftp.gnu.org/gnu/glibc/glibc-2.9.tar.gz

in unlikely event isn't there, should able find in source rpm glibc fedora distribution (or equivalent source package distribution).


Comments

Popular posts from this blog

how to build hyperlink for query string in php -

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

queue - mq_receive: message too long -