ldconfig ???

MWBroker

schläft auf dem Boardsofa
Hi,

hab mir SuSe Linux 8.1 mal installiert.

Jetzt möchte ich ein Programm installieren:

Dazu benötigt er libstdc++.so.4, libstdc++.so.4(GLIBCPP_3.1)

libstdc++.so.4 hab ich gefunden und will es installieren.
libstdc++.so.4(GLIBCPP_3.1) hab ich noch nicht gefunden

Jetzt benötigt er wenn ich libstdc++.so.4 installieren will ldconfig,
welches ich nicht im Yast2 und auch noch nicht nach 20 min googeln gefunden hab.

Gruß MWBroker
 
Hallo,

libstdc++.so.4(GLIBCPP_3.1) hab ich noch nicht gefunden
Jetzt benötigt er wenn ich libstdc++.so.4 installieren will ldconfig
Hast du libstdc++.so.4 jetzt gefunden, oder nicht?

ldconfig befindet sich im ldso - Päckchen.
Falls du es nicht installiert hast, dann:

chroot `pwd` sbin/ldconfig 2> /dev/null > /dev/null

Solltest du über das Packerl gar nicht verfügen, DL:

ldso 1.9.11-15

Schönen Tag
arcanoa
 
man ldconfig (Auszug):

DESCRIPTION
ldconfig creates the necessary links and cache to the most
recent shared libraries found in the directories specified
on the command line, in the file /etc/ld.so.conf, and in
the trusted directories (/usr/lib and /lib). The cache is
used by the run-time linker, ld.so or ld-linux.so. ldcon­
fig checks the header and file names of the libraries it
encounters when determining which versions should have
their links updated.

ldconfig will attempt to deduce the type of ELF libs (ie.
libc5 or libc6/glibc) based on what C libs if any the
library was linked against, therefore when making dynamic
libraries, it is wise to explicitly link against libc (use
-lc).

Some existing libs do not contain enough information to
allow the deduction of their type, therefore the
/etc/ld.so.conf file format allows the specification of an
expected type. This is only used for those ELF libs which
we can not work out. The format is like this
"dirname=TYPE", where type can be libc4, libc5 or libc6.
(This syntax also works on the command line). Spaces are
not allowed. Also see the -p option. ldconfig should
normally be run by the super-user as it may require write
permission on some root owned directories and files.
 
Oben