Sehr geehrte Kollegen,
habe Libraries auf meiner TS-459 installiert.
Mein Problem ist, nach einem Neustart ist alles wieder weg.
Daß, das so richtig ist, hab ich verstanden.
Mir fehlt nur der Weg wie ich es richtig mache.
Könnt Ihr mir einen Ratschlag geben?
Folgendes hatte ich installiert:
Code
[/opt/compile/pthsem_2.07] # make install
make[1]: Entering directory `/share/HDA_DATA/.qpkg/Optware/compile/pthsem_2.07'
./shtool mkdir -f -p -m 755 /usr/local
./shtool mkdir -f -p -m 755 /usr/local/bin
./shtool mkdir -f -p -m 755 /usr/local/include
./shtool mkdir -f -p -m 755 /usr/local/lib
./shtool mkdir -f -p -m 755 /usr/local/man/man1
./shtool mkdir -f -p -m 755 /usr/local/man/man3
./shtool mkdir -f -p -m 755 /usr/local/share/aclocal
./shtool install -c -m 755 pth-config /usr/local/bin/pthsem-config
./shtool install -c -m 644 pth-config.1 /usr/local/man/man1/pthsem-config.1
./shtool install -c -m 644 pth.3 /usr/local/man/man3/pthsem.3
./shtool install -c -m 644 pth.m4 /usr/local/share/aclocal/pthsem.m4
./shtool install -c -m 644 pth.h /usr/local/include/pthsem.h
./shtool install -c .libs/libpthsem.so.20.0.27 /usr/local/lib/libpthsem.so.20.0.27
(cd /usr/local/lib && { ln -s -f libpthsem.so.20.0.27 libpthsem.so.20 || { rm -f libpthsem.so.20 && ln -s libpthsem.so.20.0.27 libpthsem.so.20; }; })
(cd /usr/local/lib && { ln -s -f libpthsem.so.20.0.27 libpthsem.so || { rm -f libpthsem.so && ln -s libpthsem.so.20.0.27 libpthsem.so; }; })
./shtool install -c .libs/libpthsem.lai /usr/local/lib/libpthsem.la
./shtool install -c .libs/libpthsem.a /usr/local/lib/libpthsem.a
chmod 644 /usr/local/lib/libpthsem.a
ranlib /usr/local/lib/libpthsem.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 the `-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.
----------------------------------------------------------------------
make[1]: Leaving directory `/share/HDA_DATA/.qpkg/Optware/compile/pthsem_2.07'
make[1]: Entering directory `/share/HDA_DATA/.qpkg/Optware/compile/pthsem_2.07'
Now please type `' to run a quick test suite. Hope it works.
make[1]: Leaving directory `/share/HDA_DATA/.qpkg/Optware/compile/pthsem_2.07'
Alles anzeigen