Re: Probleme beim compilieren eines kleinen Programms

From: Oliver Fromme <olli(at)lurza.secnetix.de>
Date: Wed, 27 Sep 2006 19:48:57 +0200 (CEST)

Rainer Duffner wrote:
> nag-ng# gmake
> gcc -c filtercmd.c -DSQUIRRELMAILCONFIGFILE='"../../config/config.php"'
> gcc -c checkcreds_cclient.c -I/usr/local/include/c-client
> '-DMAIL_H="mail.h"' '-DLINKAGE_C="linkage.c"' -DIMAP_TIMEOUT=2
> gcc -o filtercmd filtercmd.o checkcreds_cclient.o -L/usr/local/lib
> -L/usr/local/lib/compat -lc-client4 -lssl -lpam -lgssapi -lcrypt -lkrb5
> -lcom_err -lz -lcrypto -lopie -lradius -lskey -ltacplus -lutil -lmd -static
> /usr/bin/ld: cannot find -lskey
> gmake: *** [filtercmd] Error 1
>
> ldconfig -r
> ....
> ...
> 241:-lskey.2 => /usr/local/lib/compat/libskey.so.2

ldconfig ist für den Linker irrelevant.

Mach mal in /usr/local/lib/compat einen Symlink
libskey.so -> libskey.so.2

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.
"C is quirky, flawed, and an enormous success."
        -- Dennis M. Ritchie.
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 27 Sep 2006 - 19:50:52 CEST

search this site