ライブラリのインストール
Posted: 2015年9月17日(木) 17:55
いつもお世話になっております。
本日はとあるライブラリをインストールしようとしたところ、前提となるライブラリも揃っているはずなのにインストール出来ない、ということについてご助力をいただこうと思っています。
件のライブラリがこちら。
http://www.cipher.risk.tsukuba.ac.jp/tepla/index.html
筑波大学が公開している暗号プリミティブ用のライブラリです。
インストールのタブで書いているように、前提として多倍長演算用のgmpとopensslが必要とのことで、当方は
sudo apt-get install openssl
を実行しました。
gmpは既にインストールしていた(普通にライブラリとして使っている)ので問題無いはず、と思い
ダウンロードしてきてファイルを
tar zxvf tepla-1.0.tar.gz
で解答し、解凍して出来たディレクトリに潜り込んで
./configure
コマンドを実行したところ
-----------------------------------------------------------------------------
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for main in -lgmp... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking for openssl/ssl.h in /usr/local/ssl... no
checking for openssl/ssl.h in /usr/lib/ssl... no
checking for openssl/ssl.h in /usr/ssl... no
checking for openssl/ssl.h in /usr/pkg... no
checking for openssl/ssl.h in /usr/local... no
checking for openssl/ssl.h in /usr... no
checking whether compiling and linking against OpenSSL works... no
configure: error: "Test for library openssl failed"
-----------------------------------------------------------------------------
こんなんが出ました。
プロンプトで
openssl version
を実行しても
OpenSSL 1.0.1k 8 Jan 2015
とちゃんとインストールされていることが確認出来ます。
これもうわかんねぇなぁ……
どうかご協力お願いします。
本日はとあるライブラリをインストールしようとしたところ、前提となるライブラリも揃っているはずなのにインストール出来ない、ということについてご助力をいただこうと思っています。
件のライブラリがこちら。
http://www.cipher.risk.tsukuba.ac.jp/tepla/index.html
筑波大学が公開している暗号プリミティブ用のライブラリです。
インストールのタブで書いているように、前提として多倍長演算用のgmpとopensslが必要とのことで、当方は
sudo apt-get install openssl
を実行しました。
gmpは既にインストールしていた(普通にライブラリとして使っている)ので問題無いはず、と思い
ダウンロードしてきてファイルを
tar zxvf tepla-1.0.tar.gz
で解答し、解凍して出来たディレクトリに潜り込んで
./configure
コマンドを実行したところ
-----------------------------------------------------------------------------
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for main in -lgmp... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking for openssl/ssl.h in /usr/local/ssl... no
checking for openssl/ssl.h in /usr/lib/ssl... no
checking for openssl/ssl.h in /usr/ssl... no
checking for openssl/ssl.h in /usr/pkg... no
checking for openssl/ssl.h in /usr/local... no
checking for openssl/ssl.h in /usr... no
checking whether compiling and linking against OpenSSL works... no
configure: error: "Test for library openssl failed"
-----------------------------------------------------------------------------
こんなんが出ました。
プロンプトで
openssl version
を実行しても
OpenSSL 1.0.1k 8 Jan 2015
とちゃんとインストールされていることが確認出来ます。
これもうわかんねぇなぁ……
どうかご協力お願いします。