.\" -*- coding: UTF-8 -*- .\" Copyright 1999 SuSE GmbH Nuernberg, Germany .\" Author: Thorsten Kukuk .\" .\" %%%LICENSE_START(GPLv2+_SW_3_PARA) .\" This program is free software; you can redistribute it and/or .\" modify it under the terms of the GNU General Public License as .\" published by the Free Software Foundation; either version 2 of the .\" License, or (at your option) any later version. .\" .\" This program 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 .\" General Public License for more details. .\" .\" You should have received a copy of the GNU General Public .\" License along with this manual; if not, see .\" . .\" %%%LICENSE_END .\" .\" Modified, 6 May 2002, Michael Kerrisk, .\" Change listed order of /usr/lib and /lib .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH LDCONFIG 8 "9 czerwca 2020 r." GNU "Podręcznik programisty Linuksa" .SH NAZWA ldconfig \- konfiguruje powiązania konsolidacyjne czasu uruchamiania .SH SKŁADNIA \fB/sbin/ldconfig\fP [\fB\-nNvXV\fP] [\fB\-f\fP \fIconf\fP] [\fB\-C\fP \fIcache\fP] [\fB\-r\fP \fIroot\fP] \fIdirectory\fP... .PD 0 .PP .PD \fB/sbin/ldconfig\fP \fB\-l\fP [\fB\-v\fP] \fIbiblioteka\fP\ ... .PD 0 .PP .PD \fB/sbin/ldconfig\fP \fB\-p\fP .SH OPIS \fBldconfig\fP creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file \fI/etc/ld.so.conf\fP, and in the trusted directories, \fI/lib\fP and \fI/usr/lib\fP (on some 64\-bit architectures such as x86\-64, \fI/lib\fP and \fI/usr/lib\fP are the trusted directories for 32\-bit libraries, while \fI/lib64\fP and \fI/usr/lib64\fP are used for 64\-bit libraries). .PP Bufor jest używany przez konsolidator czasu uruchamiania: \fIld.so\fP lub \fIld\-linux.so\fP. \fBldconfig\fP sprawdza nagłówki i nazwy plików badanych bibliotek, aby określić, które wersje powinny mieć odnowione linki. .PP .\" The following sentence looks suspect .\" (perhaps historical cruft) -- MTK, Jul 2005 .\" Therefore, when making dynamic libraries, .\" it is wise to explicitly link against libc (use \-lc). \fBldconfig\fP will attempt to deduce the type of ELF libraries (i.e., libc5 or libc6/glibc) based on what C libraries, if any, the library was linked against. .PP Some existing libraries do not contain enough information to allow the deduction of their type. Therefore, the \fI/etc/ld.so.conf\fP file format allows the specification of an expected type. This is used \fIonly\fP for those ELF libraries which we can not work out. The format is "dirname=TYPE", where TYPE can be libc4, libc5, or libc6. (This syntax also works on the command line.) Spaces are \fInot\fP allowed. Also see the \fB\-p\fP option. \fBldconfig\fP should normally be run by the superuser as it may require write permission on some root owned directories and files. .PP Note that \fBldconfig\fP will only look at files that are named \fIlib*.so*\fP (for regular shared objects) or \fIld\-*.so*\fP (for the dynamic loader itself). Other files will be ignored. Also, \fBldconfig\fP expects a certain pattern to how the symlinks are set up, like this example, where the middle file (\fBlibfoo.so.1\fP here) is the SONAME for the library: .PP .in +4n .EX libfoo.so \-> libfoo.so.1 \-> libfoo.so.1.12 .EE .in .PP Failure to follow this pattern may result in compatibility issues after an upgrade. .SH OPCJE .TP \fB\-c\fP \fIformat\fP, \fB\-\-format=\fP\fIformat\fP .\" commit cad64f778aced84efdaa04ae64f8737b86f063ab (Since glibc 2.2) Cache format to use: \fIold\fP, \fInew\fP, or \fIcompat\fP. Since glibc 2.32, the default is \fInew\fP. Before that, it was \fIcompat\fP. .TP \fB\-C \fP\fIcache\fP Używa \fIcache\fP zamiast \fI/etc/ld.so.cache\fP. .TP \fB\-f \fP\fIconf\fP .\" FIXME glibc 2.7 added -i Używa \fIconf\fP zamiast \fI/etc/ld.so.conf\fP. .TP \fB\-i\fP, \fB\-\-ignore\-aux\-cache\fP .\" commit 27d9ffda17df4d2388687afd12897774fde39bcc (od glibc 2.7) Ignoruje dodatkowy plik bufora. .TP \fB\-l\fP (od glibc 2.2) Tryb biblioteki. Linkuj ręcznie pojedyncze biblioteki. Przeznaczone tylko dla ekspertów. .TP \fB\-n\fP Process only the directories specified on the command line. Don't process the trusted directories, nor those specified in \fI/etc/ld.so.conf\fP. Implies \fB\-N\fP. .TP \fB\-N\fP Nie przebudowuje cache. O ile nie podano \fB\-X\fP, linki są wciąż odnawiane. .TP \fB\-p\fP, \fB\-\-print\-cache\fP Wyświetla listę katalogów i biblioteki, przechowywane w bieżącym cache. .TP \fB\-r \fP\fIroot\fP Zmienia katalog główny na \fIroot\fP i używa go. .TP \fB\-v\fP, \fB\-\-verbose\fP Tryb gadatliwy. Wyświetla bieżący numer wersji, nazwę każdego skanowanego katalogu i każdy tworzony link. Unieważnia tryb cichy. .TP \fB\-V\fP, \fB\-\-version\fP Wyświetla wersję programu. .TP \fB\-X\fP Nie odnawia linków. O ile nie podano \fB\-N\fP, cache jest wciąż przebudowywane. .SH PLIKI .\" FIXME Since glibc-2.3.4, "include" directives are supported in ld.so.conf .\" .\" FIXME Since glibc-2.4, "hwcap" directives are supported in ld.so.conf .PD 0 .TP \fI/lib/ld.so\fP Konsolidator czasu uruchamiania. .TP \fI/etc/ld.so.conf\fP Plik zawierający listę katalogów, po jednym w wierszu, wskazujących, gdzie szukać bibliotek. .TP \fI/etc/ld.so.cache\fP Plik zawierający uporządkowaną listę bibliotek, znalezionych w katalogach wymienionych w \fB/etc/ld.so.conf\fP oraz w zaufanych katalogach. .PD .SH "ZOBACZ TAKŻE" \fBldd\fP(1), \fBld.so\fP(8) .SH "O STRONIE" Angielska wersja tej strony pochodzi z wydania 5.10 projektu Linux \fIman\-pages\fP. Opis projektu, informacje dotyczące zgłaszania błędów oraz najnowszą wersję oryginału można znaleźć pod adresem \%https://www.kernel.org/doc/man\-pages/. .PP .SH TŁUMACZENIE Autorami polskiego tłumaczenia niniejszej strony podręcznika są: Przemek Borys , Robert Luberda i Michał Kułach . .PP Niniejsze tłumaczenie jest wolną dokumentacją. Bliższe informacje o warunkach licencji można uzyskać zapoznając się z .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License w wersji 3 .UE lub nowszej. Nie przyjmuje się ŻADNEJ ODPOWIEDZIALNOŚCI. .PP Błędy w tłumaczeniu strony podręcznika prosimy zgłaszać na adres listy dyskusyjnej .MT manpages-pl-list@lists.sourceforge.net .ME .