PATH:
usr
/
bin
#! /usr/bin/bash # Copyright (C) 1996-2018 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # The GNU C Library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # You should have received a copy of the GNU Lesser General Public # License along with the GNU C Library; if not, see # <http://www.gnu.org/licenses/>. # This is the `ldd' command, which lists what shared libraries are # used by given dynamically-linked executables. It works by invoking the # run-time dynamic linker as a command and setting the environment # variable LD_TRACE_LOADED_OBJECTS to a non-empty value. # We should be able to find the translation right at the beginning. TEXTDOMAIN=libc TEXTDOMAINDIR=/usr/share/locale RTLDLIST="/lib/ld-linux.so.2 /lib64/ld-linux-x86-64.so.2 /libx32/ld-linux-x32.so.2" warn= bind_now= verbose= while test $# -gt 0; do case "$1" in --vers | --versi | --versio | --version) echo 'ldd (GNU libc) 2.28' printf $"Copyright (C) %s Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. " "2018" printf $"Written by %s and %s. " "Roland McGrath" "Ulrich Drepper" exit 0 ;; --h | --he | --hel | --help) echo $"Usage: ldd [OPTION]... FILE... --help print this help and exit --version print version information and exit -d, --data-relocs process data relocations -r, --function-relocs process data and function relocations -u, --unused print unused direct dependencies -v, --verbose print all information " printf $"For bug reporting instructions, please see:\\n%s.\\n" \ "<http://www.gnu.org/software/libc/bugs.html>" exit 0 ;; -d | --d | --da | --dat | --data | --data- | --data-r | --data-re | \ --data-rel | --data-relo | --data-reloc | --data-relocs) warn=yes shift ;; -r | --f | --fu | --fun | --func | --funct | --functi | --functio | \ --function | --function- | --function-r | --function-re | --function-rel | \ --function-relo | --function-reloc | --function-relocs) warn=yes bind_now=yes shift ;; -v | --verb | --verbo | --verbos | --verbose) verbose=yes shift ;; -u | --u | --un | --unu | --unus | --unuse | --unused) unused=yes shift ;; --v | --ve | --ver) echo >&2 $"ldd: option \`$1' is ambiguous" exit 1 ;; --) # Stop option processing. shift; break ;; -*) echo >&2 'ldd:' $"unrecognized option" "\`$1'" echo >&2 $"Try \`ldd --help' for more information." exit 1 ;; *) break ;; esac done nonelf () { # Maybe extra code for non-ELF binaries. return 1; } add_env="LD_TRACE_LOADED_OBJECTS=1 LD_WARN=$warn LD_BIND_NOW=$bind_now" add_env="$add_env LD_LIBRARY_VERSION=\$verify_out" add_env="$add_env LD_VERBOSE=$verbose" if test "$unused" = yes; then add_env="$add_env LD_DEBUG=\"$LD_DEBUG${LD_DEBUG:+,}unused\"" fi # The following command substitution is needed to make ldd work in SELinux # environments where the RTLD might not have permission to write to the # terminal. The extra "x" character prevents the shell from trimming trailing # newlines from command substitution results. This function is defined as a # subshell compound list (using "(...)") to prevent parameter assignments from # affecting the calling shell execution environment. try_trace() ( output=$(eval $add_env '"$@"' 2>&1; rc=$?; printf 'x'; exit $rc) rc=$? printf '%s' "${output%x}" return $rc ) case $# in 0) echo >&2 'ldd:' $"missing file arguments" echo >&2 $"Try \`ldd --help' for more information." exit 1 ;; 1) single_file=t ;; *) single_file=f ;; esac result=0 for file do # We don't list the file name when there is only one. test $single_file = t || echo "${file}:" case $file in */*) : ;; *) file=./$file ;; esac if test ! -e "$file"; then echo "ldd: ${file}:" $"No such file or directory" >&2 result=1 elif test ! -f "$file"; then echo "ldd: ${file}:" $"not regular file" >&2 result=1 elif test -r "$file"; then test -x "$file" || echo 'ldd:' $"\ warning: you do not have execution permission for" "\`$file'" >&2 RTLD= ret=1 for rtld in ${RTLDLIST}; do if test -x $rtld; then verify_out=`${rtld} --verify "$file"` ret=$? case $ret in [02]) RTLD=${rtld}; break;; esac fi done case $ret in 1) # This can be a non-ELF binary or no binary at all. nonelf "$file" || { echo $" not a dynamic executable" result=1 } ;; 0|2) try_trace "$RTLD" "$file" || result=1 ;; *) echo 'ldd:' ${RTLD} $"exited with unknown exit code" "($ret)" >&2 exit 1 ;; esac else echo 'ldd:' $"error: you do not have read permission for" "\`$file'" >&2 result=1 fi done exit $result # Local Variables: # mode:ksh # End:
[+]
..
[-] lessecho
[edit]
[-] lesskey
[edit]
[-] zgrep
[edit]
[-] false
[edit]
[-] ps2pdf14
[edit]
[-] ionice
[edit]
[-] enchant-lsmod
[edit]
[-] fmt
[edit]
[-] vimtutor
[edit]
[-] getopt
[edit]
[-] flock
[edit]
[-] expr
[edit]
[-] date
[edit]
[-] mariadb-check
[edit]
[-] as
[edit]
[-] slabtop
[edit]
[-] pod2text
[edit]
[-] join
[edit]
[-] sha384sum
[edit]
[-] precat
[edit]
[-] pgrep
[edit]
[-] mariadb-tzinfo-to-sql
[edit]
[-] objdump
[edit]
[-] logname
[edit]
[-] addr2line
[edit]
[-] bzcat
[edit]
[-] chmod
[edit]
[-] hunspell
[edit]
[-] dropuser
[edit]
[-] sh
[edit]
[-] xsubpp
[edit]
[-] ruby
[edit]
[-] vi
[edit]
[-] ex
[edit]
[-] ssh-keyscan
[edit]
[-] pg_dump
[edit]
[-] compare
[edit]
[-] bunzip2
[edit]
[-] dir
[edit]
[-] mariadb
[edit]
[-] flex++
[edit]
[-] pmap
[edit]
[-] bzdiff
[edit]
[-] nroff
[edit]
[-] crontab
[edit]
[-] ssh-keygen
[edit]
[-] csplit
[edit]
[-] utmpdump
[edit]
[-] pip3
[edit]
[-] zforce
[edit]
[-] troff
[edit]
[-] crontab.cagefs
[edit]
[-] c++
[edit]
[-] autoupdate
[edit]
[-] mysqlcheck
[edit]
[-] gcov-tool
[edit]
[-] openssl
[edit]
[-] dig
[edit]
[-] cpan
[edit]
[-] mariadb-dump
[edit]
[-] lesspipe.sh
[edit]
[-] gcc-nm
[edit]
[-] b2sum
[edit]
[-] easy_install-3
[edit]
[-] mariadb-binlog
[edit]
[-] mysql_find_rows
[edit]
[-] automake-1.16
[edit]
[-] pdf2dsc
[edit]
[-] x86_64-redhat-linux-gcc-8
[edit]
[-] xxd
[edit]
[-] top
[edit]
[-] mariadb-plugin
[edit]
[-] toe
[edit]
[-] c89
[edit]
[-] wget
[edit]
[-] arpaname
[edit]
[-] mariadb-dumpslow
[edit]
[-] sha224sum
[edit]
[-] nslookup
[edit]
[-] x86_64-redhat-linux-c++
[edit]
[-] tzselect
[edit]
[-] ld.bfd
[edit]
[-] stream
[edit]
[-] prezip
[edit]
[-] gpgv
[edit]
[-] composite
[edit]
[-] basename
[edit]
[-] pathchk
[edit]
[-] soelim
[edit]
[-] python2
[edit]
[-] preunzip
[edit]
[-] git-shell
[edit]
[-] ps2pdf13
[edit]
[-] pango-list
[edit]
[-] mariadb-waitpid
[edit]
[-] gcov
[edit]
[-] getent
[edit]
[-] ghostscript
[edit]
[-] sha1sum
[edit]
[-] ps2pdfwr
[edit]
[-] zegrep
[edit]
[-] infotocap
[edit]
[-] sync
[edit]
[-] post-grohtml
[edit]
[-] test
[edit]
[-] tclsh
[edit]
[-] cal
[edit]
[-] unlink
[edit]
[-] mysqlaccess
[edit]
[-] traceroute
[edit]
[-] autoreconf
[edit]
[-] colcrt
[edit]
[-] zsoelim
[edit]
[-] ar
[edit]
[-] tty
[edit]
[-] enchant
[edit]
[-] which
[edit]
[-] msql2mysql
[edit]
[-] strace
[edit]
[-] mkfifo
[edit]
[-] h2xs
[edit]
[-] mariadb-find-rows
[edit]
[-] pkill
[edit]
[-] autoconf
[edit]
[-] vmstat
[edit]
[-] zmore
[edit]
[-] renew-dummy-cert
[edit]
[-] stdbuf
[edit]
[-] setterm
[edit]
[-] mcdiff
[edit]
[-] selectorctl
[edit]
[-] tic
[edit]
[-] scl
[edit]
[-] rename
[edit]
[-] idn
[edit]
[-] sha256sum
[edit]
[-] more
[edit]
[-] unzipsfx
[edit]
[-] mysqladmin
[edit]
[-] users
[edit]
[-] gpgsplit
[edit]
[-] g++
[edit]
[-] printenv
[edit]
[-] tee
[edit]
[-] gtbl
[edit]
[-] pre-grohtml
[edit]
[-] conjure
[edit]
[-] gpg-error
[edit]
[-] truncate
[edit]
[-] fc-validate
[edit]
[-] fgrep
[edit]
[-] ssh
[edit]
[-] bashbug-64
[edit]
[-] pkgconf
[edit]
[-] fold
[edit]
[-] fc-conflist
[edit]
[-] x86_64-redhat-linux-gcc
[edit]
[-] gawk
[edit]
[-] setsid
[edit]
[-] delv
[edit]
[-] comm
[edit]
[-] isosize
[edit]
[-] at
[edit]
[-] gunzip
[edit]
[-] mysql
[edit]
[-] rev
[edit]
[-] login
[edit]
[-] link
[edit]
[-] znew
[edit]
[-] gcc-ar
[edit]
[-] git
[edit]
[-] ifnames
[edit]
[-] ssh-copy-id
[edit]
[-] bzip2recover
[edit]
[-] tload
[edit]
[-] mysql_config
[edit]
[-] fc-query
[edit]
[-] dnstap-read
[edit]
[-] pydoc3
[edit]
[-] echo
[edit]
[-] install
[edit]
[-] python3.6
[edit]
[-] pkg-config
[edit]
[-] mariadb-hotcopy
[edit]
[-] pyvenv-3
[edit]
[-] fc-cache-64
[edit]
[-] mail
[edit]
[-] gencat
[edit]
[-] expand
[edit]
[-] clusterdb
[edit]
[-] geoiplookup6
[edit]
[-] timeout
[edit]
[-] dropdb
[edit]
[-] grotty
[edit]
[-] perlivp
[edit]
[-] file
[edit]
[-] montage
[edit]
[-] mariadb-conv
[edit]
[-] zipcloak
[edit]
[-] gcc
[edit]
[-] ipcs
[edit]
[-] bison
[edit]
[-] dircolors
[edit]
[-] env
[edit]
[-] yes
[edit]
[-] geoiplookup
[edit]
[-] python3
[edit]
[-] sftp
[edit]
[-] nsupdate
[edit]
[-] base64
[edit]
[-] cat
[edit]
[-] mktemp
[edit]
[-] vim
[edit]
[-] replace
[edit]
[-] run-with-aspell
[edit]
[-] less
[edit]
[-] uniq
[edit]
[-] mc
[edit]
[-] zipgrep
[edit]
[-] tail
[edit]
[-] arch
[edit]
[-] zip
[edit]
[-] pwd
[edit]
[-] pg_dumpall
[edit]
[-] convert
[edit]
[-] mariadb-convert-table-format
[edit]
[-] pod2html
[edit]
[-] rvi
[edit]
[-] atq
[edit]
[-] catchsegv
[edit]
[-] vimdiff
[edit]
[-] split
[edit]
[-] spell
[edit]
[-] aclocal-1.16
[edit]
[-] animate
[edit]
[-] autoheader
[edit]
[-] rm
[edit]
[-] zcmp
[edit]
[-] mariadb-show
[edit]
[-] gem
[edit]
[-] diff
[edit]
[-] scl_enabled
[edit]
[-] tclsh8.6
[edit]
[-] vacuumdb
[edit]
[-] fc-list
[edit]
[-] python3.6m
[edit]
[-] bzcmp
[edit]
[-] xsltproc
[edit]
[-] bash
[edit]
[-] sdiff
[edit]
[-] script
[edit]
[-] perl
[edit]
[-] strip
[edit]
[-] fc-match
[edit]
[-] wc
[edit]
[-] tbl
[edit]
[-] rview
[edit]
[-] ssh-add
[edit]
[-] view
[edit]
[-] infocmp
[edit]
[-] bzip2
[edit]
[-] zless
[edit]
[-] unexpand
[edit]
[-] perlml
[edit]
[-] namei
[edit]
[-] kill
[edit]
[-] eps2eps
[edit]
[-] recode
[edit]
[-] nohup
[edit]
[-] readelf
[edit]
[-] realpath
[edit]
[-] who
[edit]
[-] pic
[edit]
[-] identify
[edit]
[-] zfgrep
[edit]
[-] gsnd
[edit]
[-] rnano
[edit]
[-] c99
[edit]
[-] cmp
[edit]
[-] hostid
[edit]
[-] sqlite3
[edit]
[-] numfmt
[edit]
[-] mcookie
[edit]
[-] mariadb-embedded
[edit]
[-] passwd
[edit]
[-] mysqldump
[edit]
[-] gsoelim
[edit]
[-] mysql_waitpid
[edit]
[-] nproc
[edit]
[-] gpic
[edit]
[-] id
[edit]
[-] c++filt
[edit]
[-] chgrp
[edit]
[-] free
[edit]
[-] groff
[edit]
[-] gpg-zip
[edit]
[-] objcopy
[edit]
[-] watch
[edit]
[-] shuf
[edit]
[-] git-receive-pack
[edit]
[-] sort
[edit]
[-] gprof
[edit]
[-] pinentry-curses
[edit]
[-] autoscan
[edit]
[-] captoinfo
[edit]
[-] ssh-agent
[edit]
[-] createdb
[edit]
[-] look
[edit]
[-] zipnote
[edit]
[-] tset
[edit]
[-] head
[edit]
[-] automake
[edit]
[-] stat
[edit]
[-] find
[edit]
[-] perlthanks
[edit]
[-] nl
[edit]
[-] gzip
[edit]
[-] podchecker
[edit]
[-] batch
[edit]
[-] bzless
[edit]
[-] ls
[edit]
[-] du
[edit]
[-] col
[edit]
[-] nm
[edit]
[-] gs
[edit]
[-] xmlcatalog
[edit]
[-] sha512sum
[edit]
[-] whereis
[edit]
[-] pango-view
[edit]
[-] ps2ps2
[edit]
[-] hostname
[edit]
[-] zipsplit
[edit]
[-] mesg
[edit]
[-] fc-scan
[edit]
[-] pinentry
[edit]
[-] cc
[edit]
[-] lynx
[edit]
[-] gneqn
[edit]
[-] mariadb-setpermission
[edit]
[-] mysqlimport
[edit]
[-] skill
[edit]
[-] unzip
[edit]
[-] sum
[edit]
[-] fc-cache
[edit]
[-] true
[edit]
[-] ipcrm
[edit]
[-] pl2pm
[edit]
[-] touch
[edit]
[-] vdir
[edit]
[-] fc-pattern
[edit]
[-] xargs
[edit]
[-] lex
[edit]
[-] diff3
[edit]
[-] ptx
[edit]
[-] python2.7
[edit]
[-] git-upload-archive
[edit]
[-] seq
[edit]
[-] cut
[edit]
[-] cagefs_enter.proxied
[edit]
[-] xmlwf
[edit]
[-] ps2pdf12
[edit]
[-] pinky
[edit]
[-] localedef
[edit]
[-] mariadb-slap
[edit]
[-] flex
[edit]
[-] mcview
[edit]
[-] instmodsh
[edit]
[-] mysqlbinlog
[edit]
[-] md5sum
[edit]
[-] dd
[edit]
[-] screen
[edit]
[-] zipinfo
[edit]
[-] grep
[edit]
[-] pwdx
[edit]
[-] nice
[edit]
[-] patch
[edit]
[-] printf
[edit]
[-] autom4te
[edit]
[-] getconf
[edit]
[-] egrep
[edit]
[-] [
[edit]
[-] mv
[edit]
[-] mcedit
[edit]
[-] ps
[edit]
[-] clear
[edit]
[-] mysqlshow
[edit]
[-] zdiff
[edit]
[-] tar
[edit]
[-] ping
[edit]
[-] curl
[edit]
[-] column
[edit]
[-] mariadb-import
[edit]
[-] libtoolize
[edit]
[-] ld
[edit]
[-] cldetect
[edit]
[-] xmllint
[edit]
[-] funzip
[edit]
[-] dirname
[edit]
[-] GET
[edit]
[-] make
[edit]
[-] ps2ps
[edit]
[-] eqn
[edit]
[-] fc-cat
[edit]
[-] tac
[edit]
[-] uptime
[edit]
[-] 7za
[edit]
[-] base32
[edit]
[-] rmdir
[edit]
[-] scalar
[edit]
[-] zcat
[edit]
[-] sleep
[edit]
[-] pod2man
[edit]
[-] taskset
[edit]
[-] readlink
[edit]
[-] unversioned-python
[edit]
[-] podselect
[edit]
[-] mogrify
[edit]
[-] gtar
[edit]
[-] mailx
[edit]
[-] pydoc-3
[edit]
[-] size
[edit]
[-] mkdir
[edit]
[-] mariadb-secure-installation
[edit]
[-] gpg-agent
[edit]
[-] snice
[edit]
[-] geqn
[edit]
[-] pod2usage
[edit]
[-] tsort
[edit]
[-] tabs
[edit]
[-] uapi
[edit]
[-] sprof
[edit]
[-] ps2ascii
[edit]
[-] logger
[edit]
[-] shred
[edit]
[-] gpg
[edit]
[-] freetype-config
[edit]
[-] reindexdb
[edit]
[-] createuser
[edit]
[-] libnetcfg
[edit]
[-] aclocal
[edit]
[-] splain
[edit]
[-] rvim
[edit]
[-] renice
[edit]
[-] paste
[edit]
[-] my_print_defaults
[edit]
[-] ps2epsi
[edit]
[-] gzexe
[edit]
[-] prezip-bin
[edit]
[-] h2ph
[edit]
[-] display
[edit]
[-] hexdump
[edit]
[-] git-upload-pack
[edit]
[-] reset
[edit]
[-] nano
[edit]
[-] tr
[edit]
[-] ps2pdf
[edit]
[-] x86_64-redhat-linux-g++
[edit]
[-] ispell
[edit]
[-] enc2xs
[edit]
[-] scl_source
[edit]
[-] gcov-dump
[edit]
[-] df
[edit]
[-] pg_restore
[edit]
[-] gmake
[edit]
[-] atrm
[edit]
[-] gnroff
[edit]
[-] make-dummy-cert
[edit]
[-] perldoc
[edit]
[-] neqn
[edit]
[-] perlbug
[edit]
[-] piconv
[edit]
[-] iconv
[edit]
[-] ln
[edit]
[-] chrt
[edit]
[-] Mail
[edit]
[-] bzgrep
[edit]
[-] ul
[edit]
[-] grops
[edit]
[-] perl5.26.3
[edit]
[-] libtool
[edit]
[-] stty
[edit]
[-] cpp
[edit]
[-] gcc-ranlib
[edit]
[-] psql
[edit]
[-] import
[edit]
[-] gm
[edit]
[-] groups
[edit]
[-] bzmore
[edit]
[-] mytop
[edit]
[-] mariadb-access
[edit]
[-] chown
[edit]
[-] strings
[edit]
[-] aspell
[edit]
[-] ranlib
[edit]
[-] prove
[edit]
[-] cp
[edit]
[-] pip-3
[edit]
[-] tput
[edit]
[-] cksum
[edit]
[-] pr
[edit]
[-] scp
[edit]
[-] php
[edit]
[-] pdf2ps
[edit]
[-] locale
[edit]
[-] host
[edit]
[-] awk
[edit]
[-] tmpwatch
[edit]
[-] sed
[edit]
[-] uname
[edit]
[-] colrm
[edit]
[-] m4
[edit]
[-] whoami
[edit]
[-] word-list-compress
[edit]
[-] ldd
[edit]
[-] mariadb-admin
[edit]
[-] rsync
[edit]
[-] factor
[edit]
[-] gtroff
[edit]
[-] od
[edit]