[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[linux-users:71096] Re: リンク用のライブラリ名の調べ方法を教えてください


  大浦@京都です。

From: "william" <william _at_ sdg.mdd.ricoh.co.jp>
Subject: [linux-users:71095] リンク用のライブラリ名の調べ方法を教えてください
Date: Fri, 7 Jul 2000 03:20:12 +0900

> それを gcc a.c でコンパイルすると、
> gcc a.c
> /tmp/ccPaKsf1.o: In function `main':
> /tmp/ccPaKsf1.o(.text+0x11): undefined reference to `crypt'
> collect2: ld returned 1 exit status
> 
> のエラーが出ました。

  -lcryptですね。

> ライブラリが足りないでしょうか。そのライブラリなんでしょうか。
> どう調べられます。man cryptにはそれらしい情報はないようです。

  僕のDebian(potato)では、英語のmanpageに、

> Programs  using this function must be linked with -lcrypt.

と出ていました。日本語のmanpageには、明記されていませんでした。

----
***京都大学大学院文学研究科行動文化学専攻言語学専修修士1年

  大浦 真(Ohura Makoto)
    Makoto.Ohura _at_ mb4.seikyou.ne.jp
    http://ling.bun.kyoto-u.ac.jp/Home/Mohura/index.html
          言語学研究室TeX友の会公式ページ

   Constantly my mind asks for the meaning of life,
   And what's for supper tonight.
   And I have found the fundamental law:
   "A hungry man cannot win the war!"
                                    ---- Yamaguchi Hiroshi

この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
Follow-Ups: References: