Autor Tópico: ld.so.config ld.so.cache ld.so.preload  (Lida 3444 vezes)

bruno

  • Visitante
ld.so.config ld.so.cache ld.so.preload
« Online: 24 de Janeiro de 2006, 02:01 »
em varios lugares encontro informacoes para editar o /etc/ld.so.conf, mas o problema eh q eu nao tenho ele em nenhum lugar! e nem o preload...soh o cache!

$ locate ld.so
/etc/ld.so.cache
/etc/ld.so.hwcappkgs
/usr/share/man/man8/ld.so.8.gz
/usr/lib/kde3/kded_kssld.so

$cd /etc
/etc$ ls
acpi                  gtk                   odbc.ini
adduser.conf          gtk-2.0               odbcinst.ini
adjtime               hal                   openoffice
aliases               hdparm.conf           opt
alsa                  host.conf             pam.conf
alternatives          hostname              pam.d
anacrontab            hosts                 pango
apm                   hosts.allow           papersize
apt                   hosts.deny            passwd
at.deny               hotplug               passwd-
bash.bashrc           hotplug.d             pcmcia
bash_completion       hp                    perl
bash_completion.d     hylafax               pmount.allow
bluetooth             iftab                 pnm2ppa.conf
bogofilter.cf         imlib                 popularity-contest.conf
bonobo-activation     init.d                power
calendar              inittab               ppp
cdrecord              inputrc               profile
chatscripts           iproute2              profile~
console               irssi.conf            protocols
console-tools         issue                 python2.4
cron.d                issue.net             rc0.d
cron.daily            jvm                   rc1.d
cron.hourly           jvm.d                 rc2.d
cron.monthly          kde3                  rc3.d
crontab               kernel-img.conf       rc4.d
cron.weekly           ldap                  rc5.d
cups                  ld.so.cache           rc6.d
dbus-1                ld.so.hwcappkgs       rcS.d
debconf.conf          lftp.conf             readahead
debian_version        libao.conf            reportbug.conf
default               libgda                resolvconf
defoma                locale.alias          resolv.conf
deluser.conf          locale.gen            rmt
dev.d                 localtime             rpc
devfs                 logcheck              samba
dhcp3                 login.defs            sane.d
dictionaries-common   logrotate.conf        screenrc
discover.conf         logrotate.d           scrollkeeper.conf
discover.conf-2.6     lsb-release           securetty
discover.conf.d       ltrace.conf           security
discover.d            lvm                   services
dpkg                  lvmtab                sgml
emacs                 magic                 shadow
enscript.cfg          mailcap               shadow-
environment           mailcap.order         shells
esound                manpath.config        skel
evms.conf             mdadm                 sound
fdmount.conf          mediaprm              ssh
fonts                 menu-methods          sudoers
foomatic              mime.types            sysctl.conf
fstab                 mkinitramfs           syslog.conf
gaim                  mkinitrd              terminfo
gconf                 modprobe.d            timezone
gdm                   modules               timidity
GeoIP.conf.default    modutils              ucf.conf
ggi                   motd                  udev
gimp                  mozilla-firefox       updatedb.conf
gksu.conf             mplayer               update-notifier
gnome                 mplayerplug-in.conf   vga
gnome-system-tools    mplayerplug-in.types  vim
gnome-vfs-2.0         mtab                  vnc.conf
gnome-vfs-mime-magic  mysql                 w3m
groff                 nanorc                wgetrc
group                 network               X11
group-                nsswitch.conf         xdg
gshadow               ntp.conf              xml
gshadow-              ODBCDataSources


onde q eu encontro? em algum pacote? qual?
vlw ae

Offline Xterminator

  • Usuário Ubuntu
  • *
  • Mensagens: 1.279
    • Ver perfil
ld.so.config ld.so.cache ld.so.preload
« Resposta #1 Online: 24 de Janeiro de 2006, 07:38 »
rode

sudo ldconfig

e veja se o /etc/ld.so.conf é criado, no mais é somente um arquivo texto
colocando diretórios onde geralmente as bibliotecas estão e não são padrões do sistema como
/lib /usr/lib etc...
na dúvida RTFM ;-) brincadeirinha ehehe mas lá está bem descrito.
man ldconfig
Citar
DESCRIPTION
       ldconfig creates the necessary links and cache (for use by the run-time
       linker, ld.so) to the most recent shared libraries found in the  direc‐
       tories  specified on the command line, in the file /etc/ld.so.conf, and
       in the trusted directories (/usr/lib and /lib).   ldconfig  checks  the
       header  and  file names of the libraries it encounters when determining
       which versions should have their links updated.  ldconfig ignores  sym‐
       bolic links when scanning for libraries.