Midgard - expat - nastaveni PATH (RH 6.2)
Luboš Horňa
luboss na bk.cz
Čtvrtek Únor 15 13:49:20 CET 2001
Dobry den vsem!
Snazim se nainstlovat a vyzkouset "Midgard" (midgard-project.com). Narazil
jsem na problem pri istalaci XML parseru "expat1.95.1".
Instalace expat-u skoncila s nasledujici hlaskou:
[root na dodo expat-1.95.1]# make install
make[1]: Entering directory `/home/luboss/midgard/expat-1.95.1/lib'
/bin/sh ../conftools/mkinstalldirs /usr/local/lib /usr/local/include
mkdir /usr/local/include
/bin/sh ../libtool --mode=install /usr/bin/install -c libexpat.la
/usr/local/lib/libexpat.la
/usr/bin/install -c .libs/libexpat.so.0.0.1 /usr/local/lib/libexpat.so.0.0.1
(cd /usr/local/lib && rm -f libexpat.so.0 && ln -s libexpat.so.0.0.1
libexpat.so.0)
(cd /usr/local/lib && rm -f libexpat.so && ln -s libexpat.so.0.0.1
libexpat.so)
/usr/bin/install -c .libs/libexpat.lai /usr/local/lib/libexpat.la
/usr/bin/install -c .libs/libexpat.a /usr/local/lib/libexpat.a
ranlib /usr/local/lib/libexpat.a
chmod 644 /usr/local/lib/libexpat.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
---------------------------------------------------------------------
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?
Dekuji predem za kazdou radu.
Lubos Horna
luboss na bk.cz
Další informace o konferenci Linux