Midgard - expat - nastaveni PATH (RH 6.2)
Petr Hrbek
hrbek na iinfo.cz
Čtvrtek Únor 15 13:54:10 CET 2001
On 15-Feb-2001 Luboš Horňa wrote:
> ---------------------------------------------------------------------
> Libraries have been installed in:
> /usr/local/lib
>
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use `-LLIBDIR'
> flag during linking and do at least one of the following:
> - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
> during execution
> - add LIBDIR to the `LD_RUN_PATH' environment variable
> during linking
> - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
> - have your system administrator add LIBDIR to `/etc/ld.so.conf'
>
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> -------------------------------------------------------------------
>
> Z manualovych stranek jsem pouziti "ld" moc nepochopil, a protoze jsem
> zacatecnik netoufam si s timto moc experimentovat.
>
> Mohl by mi prosim s timto nekdo poradit? ...nasmerovat, nakopnout?
Asi vas potesim, protoze se nejedna o chybu. Vicemene jde o upozorneni, ze
abyste mohl pouzivat tyto dynamicke knihovny, musi system vedet, kde je
hledat. Nejednodussi je asi uvest cestu ke knihovnam v /etc/ld.so.conf.
A jelikoz jste instaloval knihovny do /usr/local/lib, tak predpokladam,
ze tuto cestu budete mit v /etc/ld.so.conf uz uvedenou.
Petr Hrbek
Internet Info, s. r. o.
Tel.: +420241442481
Fax: +420241441572
Další informace o konferenci Linux