Re: Probleme beim compilieren eines kleinen Programms

From: Rainer Duffner <rainer(at)ultra-secure.de>
Date: Wed, 27 Sep 2006 15:28:27 +0200

Patrick Hess wrote:
> Hallo,
>
> Rainer Duffner schrieb:
>
>> /usr/bin/ld: cannot find -lskey
>>
>
> Der Linker findet die libskey.so nicht. Befindet sich diese Datei
> irgendwo auf deiner Platte? Welches System kommt denn zum Einsatz?
>
> Auf einem FreeBSD 4.8 befand sich diese Datei noch unter /usr/lib.
> Ab FreeBSD 5.x scheint sie jedoch nicht mehr vorhanden zu sein.
> Eventuell hilft der Port misc/compat4x weiter, in dem diese Lib
> enthalten sein dürfte.
>
>

Und wie bindet man die dann ein?

nag-ng# gmake
gcc -o filtercmd filtercmd.o checkcreds_cclient.o
-L/usr/local/lib/compat -L/usr/local/lib -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

nag-ng# ll /usr/local/lib/compat/libskey*
-r--r--r-- 1 root wheel 24252 Sep 27 15:09
/usr/local/lib/compat/libskey.so.2

Rainer

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 - 15:31:07 CEST

search this site