Apacheのmake時にエラーが出ます。
OS:CentOS 5.4上でSSL対応Apcaheをソースからインストールしてるのですが、Apacheのmakeを実行すると、下記のエラーが出ます。
◎ぐぐったのですけど、解決策を見つけることはできませんでした。
ssl_util_ssl.c: In function ‘SSL_X509_isSGC’:
ssl_util_ssl.c:297: error: ‘EXTENDED_KEY_USAGE’ undeclared (first use in this function)
ssl_util_ssl.c:297: error: (Each undeclared identifier is reported only once
ssl_util_ssl.c:297: error: for each function it appears in.)
ssl_util_ssl.c:297: error: ‘sk’ undeclared (first use in this function)
ssl_util_ssl.c:306: error: expected expression before ‘)’ token
make[3]: *** [ssl_util_ssl.lo] エラー 1
make[3]: ディレクトリ `/usr/local/src/httpd-2.2.15/modules/ssl' から出ます
make[2]: *** [all-recursive] エラー 1
make[2]: ディレクトリ `/usr/local/src/httpd-2.2.15/modules/ssl' から出ます
make[1]: *** [all-recursive] エラー 1
make[1]: ディレクトリ `/usr/local/src/httpd-2.2.15/modules' から出ます
make: *** [all-recursive] エラー 1
○ここで停止
対応策をご存知の方、教えてください。
◎コンフィグは、./configure --enable-ssl --with-ssl=/usr/local/ssl で実施してます。
なお、Open_sslは、configure ->make->make installまで完了しています。
Versionは、apache:2.2-15
openssl:0.9.6c
です。
宜しくお願いします。
No.1ベストアンサー
- 回答日時:
Apache のリリースに対して OpenSSL が古すぎるのだと思います。
機能面でもセキュリティ面でも不利なので、
せめて 0.9.7 以降を使いましょう。
ちなみに、最新は昨日リリースされた 0.9.8n です。
この回答への補足
ご回答、ありがとうございます。
早速、0.9.8nをダウンロードしてきて、
・./config
・make
したのですが、makeの最後で、
../libcrypto.a(bn_asm.o):bn_asm.c:(.text+0x3cc): first defined here
/usr/bin/ld: Warning: size of symbol `bn_sqr_words' changed from 265 in ../libcrypto.a(bn_asm.o) to 225 in ../libcrypto.a(bn86-elf.o)
../libcrypto.a(bn86-elf.o): In function `bn_div_words':
bn-586.s:(.text+0x4f0): multiple definition of `bn_div_words'
../libcrypto.a(bn_asm.o):bn_asm.c:(.text+0x4757): first defined here
/usr/bin/ld: Warning: size of symbol `bn_div_words' changed from 333 in ../libcrypto.a(bn_asm.o) to 23 in ../libcrypto.a(bn86-elf.o)
../libcrypto.a(bn86-elf.o): In function `bn_add_words':
bn-586.s:(.text+0x510): multiple definition of `bn_add_words'
../libcrypto.a(bn_asm.o):bn_asm.c:(.text+0x4d5): first defined here
/usr/bin/ld: Warning: size of symbol `bn_add_words' changed from 261 in ../libcrypto.a(bn_asm.o) to 428 in ../libcrypto.a(bn86-elf.o)
../libcrypto.a(bn86-elf.o): In function `bn_sub_words':
bn-586.s:(.text+0x6c0): multiple definition of `bn_sub_words'
../libcrypto.a(bn_asm.o):bn_asm.c:(.text+0x5da): first defined here
/usr/bin/ld: Warning: size of symbol `bn_sub_words' changed from 226 in ../libcrypto.a(bn_asm.o) to 428 in ../libcrypto.a(bn86-elf.o)
collect2: ld はステータス 1 で終了しました
make[2]: *** [link_app.] エラー 1
make[2]: ディレクトリ `/usr/local/src/openssl-0.9.8n/apps' から出ます
make[1]: *** [openssl] エラー 2
make[1]: ディレクトリ `/usr/local/src/openssl-0.9.8n/apps' から出ます
make: *** [build_apps] エラー 1
で、止まってしまいました。
少し調べてみます。
もし、なにかご存知でしたら、教えてください。
お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!
関連するカテゴリからQ&Aを探す
おすすめ情報
- ・漫画をレンタルでお得に読める!
- ・14歳の自分に衝撃の事実を告げてください
- ・架空の映画のネタバレレビュー
- ・「お昼の放送」の思い出
- ・昨日見た夢を教えて下さい
- ・ちょっと先の未来クイズ第4問
- ・【大喜利】【投稿~10/21(月)】買ったばかりの自転車を分解してひと言
- ・メモのコツを教えてください!
- ・CDの保有枚数を教えてください
- ・ホテルを選ぶとき、これだけは譲れない条件TOP3は?
- ・家・車以外で、人生で一番奮発した買い物
- ・人生最悪の忘れ物
- ・【コナン30周年】嘘でしょ!?と思った○○周年を教えて【ハルヒ20周年】
- ・ハマっている「お菓子」を教えて!
- ・最近、いつ泣きましたか?
- ・夏が終わったと感じる瞬間って、どんな時?
- ・10秒目をつむったら…
- ・人生のプチ美学を教えてください!!
- ・あなたの習慣について教えてください!!
- ・牛、豚、鶏、どれか一つ食べられなくなるとしたら?
- ・都道府県穴埋めゲーム
デイリーランキングこのカテゴリの人気デイリーQ&Aランキング
-
ANA・JALのAPI
-
csvデータのダブルクォーテーシ...
-
Xamppはオープンソースのディス...
-
Python openpyxlを使用したセル...
-
mayaでコンストレイントの始点...
-
stable diffusionのインストー...
-
【ChatGTPのオープンソースソフ...
-
Blenderでオリジナルの作品を作...
-
PowerShellのスクリプトでイベ...
-
OSS(オープンソースソフトウェ...
-
みなさん、mvなどはどのアプリ...
-
Webサイトのビデオプレーヤーに...
-
研究する文献がたくさんありま...
-
研究する文献がたくさんありま...
-
chatgpt 4oを使っています。あ...
-
【abc】に【完全一致】する正規...
-
プロジェクター
-
WindowsでのPythonの挙動について
-
Paiza Cloudです。学籍番号と氏...
-
Paiza Cloudです。 どうやれば...
マンスリーランキングこのカテゴリの人気マンスリーQ&Aランキング
-
OpenPNEをドメイン直下で公開し...
-
Apache2.0がX509_freeというエ...
-
apacheのmod_sslであて先がプラ...
-
Apache2 インストール後モジュ...
-
Scilabのplot2dの線幅の一括設...
-
Apacheで特定ファイルへのアク...
-
Apache2で仮想ディレクトリ(ali...
-
複数時間情報の重複を求める
-
ftpコマンドの戻り値をチェック...
-
VB6にて、テキストファイルの内...
-
秀丸エディタでのファイル分割
-
マイナポータルの住宅借入金当...
-
ファイル名を変更前の名前に戻す方
-
warファイル 「種類:WAR ファ...
-
簡単にEXEファイルを作れるプロ...
-
VB.NETでフォルダの一覧を更新...
-
JCL(富士通/MSP)について教...
-
HTMLでファビコンを変更したいです
-
コマンドプロンプト "expand" ...
-
VB Scriptで隠しファイル、フォ...
おすすめ情報