Re: Probleme beim compilieren eines kleinen Programms

From: Oliver Fromme <olli(at)lurza.secnetix.de>
Date: Thu, 28 Sep 2006 16:11:35 +0200 (CEST)

Rainer Duffner wrote:
> nag-ng# gmake
> [...]
> undefined reference to `key_free'
> undefined reference to `key_load_private'
> undefined reference to `key_free'
> undefined reference to `ssh_get_authentication_connection'
> [...]

Ich hatte mal ein Skript geschrieben, dass zu solchen Sym-
bolen alle Libraries ermittelt, die es definieren. Wenn
ich da Deine Liste von »undefined reference« reinfüttere,
erhalte ich:

/usr/lib/libasn1.so.7
/usr/lib/libroken.so.7
/usr/lib/libssh.so.2
/usr/lib/libssh.so.2 /usr/lib/libssh.so.3
/usr/lib/libypclnt.so.1 /usr/lib/libypclnt.so.2

Die libskey oder libopie kommt da nirgends vor. Das Skript
kann man hier finden (seine Ausgabe ist mehr verbose):

http://www.secnetix.de/~olli/scripts/lsisl

Gruß
   Olli

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"Documentation is like sex; when it's good, it's very, very good,
and when it's bad, it's better than nothing."
        -- Dick Brandon
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 28 Sep 2006 - 16:14:08 CEST

search this site