linux-l: Verlinkung von libs oder der Fehler sitzt mal wieder vor dem Monitor
Michael Wiedmann
michael.wiedmann at detewe.de
Do Sep 23 08:01:05 CEST 1999
Alexander Stielau schrieb:
> Beim Kompilieren von Nessus bekomme ich immer wieder die folgende
> Meldung beim 'make install':
> ---------
> Libraries have been installed in:
> /usr/local/lib
>
> To link against installed libraries in a given directory, LIBDIR,
> you must use the `-LLIBDIR' flag during linking.
>
> You will also need to do 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.
> ----------
Ich gehe davon aus, dass es sich um das Paket 'nessus-libraries-0.98.x'
handelt.
Obige Meldung will dir nur sagen, dass du dafür sorgen mußt, dass
LIBDIR vom 'ld.so' irgendwie gefunden wird. Am einfachsten erreichst du
das,
indem du LIBDIR in die '/etc/ld.so.conf' aufnimmst (und entsprechend
aktualisierst mit 'ldconfi').
Wahrscheinlich ist LIBDIR ('/usr/local/lib' in deinem Fall)
schon in deiner '/etc/ld.so.conf' eingetragen. Dann hat sich die Meldung
erledigt.
Michael
------------------------------------------------------------------------
Michael Wiedmann |
Cordless Technology A/S | Free your computer,
Köpenicker Str. 180 | install Linux
D-10997 Berlin |
------------------------------------------------------------------------
Mehr Informationen über die Mailingliste linux-l