solarisでopensshインストール方法について

このQ&Aのポイント
  • solarisでopensshをインストールする際には、opensslのインストールも必要です。
  • opensshの導入には、openssl0.9.4のインストールが必要です。
  • opensshのconfigure時に、OpenSSLのディレクトリが見つからないというエラーメッセージが表示される場合、opensslのインストールが上手く行っていない可能性があります。
回答を見る
  • ベストアンサー

solarisでopensshインストール

おしえてください!! opensshを導入しようと思い、調べてみると「opensslが必要で、インストールだけしてやれば良い」という情報がありました。 っで、「なんだ~インストールするだけでいいのね」とopenssl0.9.4をインストールして「ではopensshをば・・・」とopenssh2.1.0をconfigureしようとすると下記のメッセージが出てきます。 checking for OpenSSL directory... configure: error: Could not find working SSLeay / OpenSSL librarie s, please install なぜ、なにゆえ???これってopensslのインストールがうまくいってないということなのでしょうか?それとも設定をしてやらないといけないとか?

質問者が選んだベストアンサー

  • ベストアンサー
  • onosuke
  • ベストアンサー率67% (310/456)
回答No.2

>sslのライブラリを飛ばすオプションがないような気がするんですが・・・ SSLライブラリなしではopensshはコンパイルできません。飛ばすのは無理です。自前でBuildするにせよ,バイナリパッケージ使うにしろ,OpenSSLは必要不可欠です。 >オプション指定で >--with-ssl-dir=/usr/local/ssl >としました。結果は・・・同じでした >--with-ssl-dir=/usr/local/ssl/lib >としました。。。やはり同じでした あらら,何で上手く行かないかな… >教えていただいたSunSITEから取って来たパッケージでやっても結果は同じでした SunSITEのバイナリパッケージは,OpenSSL,OpenSSHの両方とも入れました? バイナリパッケージ使うなら,全てパッケージのものでそろえましょう。

amema999
質問者

お礼

両方は入れてないです。。。。。 OpenSSLのほうは元々すんなり入ってたので、SSHのほうだけとってきました 一度両方インストールを試してみます で、結果報告します

amema999
質問者

補足

ふう (;^_^A アセアセ・・・ なんとか入ってくれました。WARNINGがどうのこうの言われましたが・・・ onosukeさんどうもありがとうございました お世話になったついでに、OpenSSHの設定に関して役立つ日本語マニュアルページをご存知でしたら教えて頂けないでしょうか

その他の回答 (2)

  • onosuke
  • ベストアンサー率67% (310/456)
回答No.3

日本語なら,本家のwww.openssh.orgに日本語ページがありますよ。 左上の[ja]ってところ,クリックしてください。

参考URL:
http://www.openssh.org/
amema999
質問者

お礼

う~ん このページはチェックしたんですよ でも、肝心のマニュアルが全部(英語)なのでなんかがっかりしちゃいました 自分でもう一度さがしてみます ありがとうございます

  • onosuke
  • ベストアンサー率67% (310/456)
回答No.1

SunSITEというものはご存知でしょうか? 日本国内にもこのミラーサイトが,東京理科大学より提供されていて 「SunSITE Japan」 http://sunsite.sut.ac.jp/ ftp://sunsite.sut.ac.jp/ のURLです。 このSunSite内の「Solaris binaries」 http://sunsite.sut.ac.jp/sun/solbin/ では各種フリーソフトウェアのSolaris用binaryパッケージが配布されています。 お手軽な解決方法として,ここのバイナリパッケージを利用するのも一つの方法。後々の管理も楽ですしね。 まじめな解決方法: ./configure --help でヘルプ表示させると,OpenSSLのライブラリパスを指定するオプションがあるはず。

amema999
質問者

お礼

補足の補足です もう ここにしかカキコできない・・ オプション指定で --with-ssl-dir=/usr/local/ssl としました。結果は・・・同じでした --with-ssl-dir=/usr/local/ssl/lib としました。。。やはり同じでした sslはしっかりインストールされてるはずなのに、、、わけわかんないっす (:_;)(:_;)

amema999
質問者

補足

ありがとうございました お礼が遅くてすみまそん ですが、解決しないんです sslのライブラリを飛ばすオプションがないような気がするんですが・・・ ライブラリを指定するオプションならあるんですが よくわかりません もしライブラリを飛ばしても、結局いずれは詰まってしまうのでは、、という気もしますし、 教えていただいたSunSITEから取って来たパッケージでやっても結果は同じでした (:_;)

関連するQ&A

  • OpenSSHがビルドできない……

    お世話になります、Raspberry Pi Model B(初代のやつです)で、OpenSSHをビルドしようとすると、 checking OpenSSL header version... 1000203f (OpenSSL 1.0.2c 12 Jun 2015) checking OpenSSL library version... 1000105f (OpenSSL 1.0.1e 11 Feb 2013) checking whether OpenSSL's headers match the library... no configure: error: Your OpenSSL headers do not match your library. Check config.log for details. If you are sure your installation is consistent, you can disable the check by running "./configure --without-openssl-header-check". Also see contrib/findssl.sh for help identifying header/library mismatches. と出てしまいコンパイルできません。 ./configure --with-ssl-dir=/usr/local/ssl --with-md5-passwords でコンパイルしており、SSLの位置は指定してあります。 なお、OpenSSLについては、「./config shared」でコンパイルしており共有ライブラリーがあります。 さらに、/etc/ld.so.confにもライブラリー位置は記載しておりntpdはそれで正常にビルドできています。 ・contrib/findssl.shの結果です。 Searching for OpenSSL header files. OPENSSL_VERSION_NUMBER /usr/src/openssl-1.0.2c/include/openssl/opensslv.h OPENSSL_VERSION_NUMBER /usr/src/openssl-1.0.2c/crypto/opensslv.h OPENSSL_VERSION_NUMBER /usr/src/openssl-1.0.2b/include/openssl/opensslv.h OPENSSL_VERSION_NUMBER /usr/src/openssl-1.0.2b/crypto/opensslv.h OPENSSL_VERSION_NUMBER /usr/local/ssl/include/openssl/opensslv.h Searching for OpenSSL shared library files. 0x1000105fL /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0 0x1000203fL /usr/src/openssl-1.0.2c/libcrypto.so.1.0.0 0x1000203fL /usr/src/openssl-1.0.2c/libcrypto.so 0x1000202fL /usr/src/openssl-1.0.2b/libcrypto.so.1.0.0 0x1000202fL /usr/src/openssl-1.0.2b/libcrypto.so 0x1000203fL /usr/local/ssl/lib/libcrypto.so.1.0.0 0x1000203fL /usr/local/ssl/lib/libcrypto.so Searching for OpenSSL static library files. 0x1000203fL /usr/src/openssl-1.0.2c/libcrypto.a 0x1000202fL /usr/src/openssl-1.0.2b/libcrypto.a 0x1000203fL /usr/local/ssl/lib/libcrypto.a 他にライブラリーを指定する必要があるのでしょうか? よろしくお願いいたします。

  • vpopmailのインストール

    qmail関連ツールでvpopmailを入れようとしたところ./configureの部分で 詰まってしまいインストール出来ない状態です。 ./configure --enable-logging=p       --enable-relay-clear-minutes=30       --enable-roaming-users=y       --enable-tcpserver-file=/etc/tcpserver.d/smtp       --enable-default-domain=       --enable-hardquota=100000000 下記のメッセージが出てエラーになってしまいます。 --- loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking host system type... i386-unknown-freebsd4.7 checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking for POSIXized ISC... no checking how to run the C preprocessor... gcc -E checking for AIX... no No vpopmail user found. Please add the vchkpw group and vpopmail user. Then run configure again yes configure: error: No vpopmail user. --- No vpopmail user. <= ユーザーが作成されていない? # adduser -u 2009 -g vchkpw -d /usr/local/vpopmail -s /bin/false vpopmail ↑一応作ってあるのですが...

  • linux sambaインストール

    VmwareにLINUX(Redhat)をインストールし、SAMBAをインストールをしようとしているのですが、うまくいきまん。 SAMBAを解凍した後、ソースディレクトリに移動し、configureコマンドを実行したのですが、 #./configure checking for gcc・・・no checking for cc・・・no checking for cc・・・no checking for cc1・・・no configure error:no acceptable cc found in $path となってうまくいきません。どうしたらよいのでしょか。

  • libssh2のインストールについて

    php内でssh2_conect()を使用する必要があり ssh2をインストールする必要があるのですが、 ssh2のインストールにはlibssh2が必要となり、 libssh2インストールでエラーとなり困っています。 どなたかご教示いただけないでしょうか。 よろしくお願いします。 環境 OS CentOS 6.7 libssh2 version 1.2.8 コマンドおよび結果 % wget http://www.libssh2.org/download/libssh2-1.2.8.tar.gz % tar zxf libssh2-1.2.8.tar.gz % cd libssh2-1.2.8 % ./configure configure結果 checking for libssl... no checking for libgcrypt... no configure: error: cannot find OpenSSL or Libgcrypt, try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH % ./configure --with-libssl-prefix=/usr/local/ssl/lib --with-libgcrypt-prefix=/usr/local/ssl/lib /usr/local/ssl/libの配下にはいかが存在しています。 libcrypto.so libssl.a libssl.so.1.0.0 libcrypto.a libcrypto.so.1.0.0 libssl.so 結果はやり同じになってしまいます… checking for libssl... no checking for libgcrypt... no configure: error: cannot find OpenSSL or Libgcrypt, try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH その他、必要情報があれば教えていただけますでしょうか。 よろしくお願いいたします。

  • apache2.0.40の./configer …でエラー

    こんばんは。 現在、redhat9にhttpd-2.0.40を./configure --enable-sslしたと ころ、途中で「requires OpenSSL 0.9.6e or higher」とエラー メッセージが表示されて先に進めなくなってしまいました。 しかし、OpenSSLは、上位の「openssl-0.9.7a-2」がインストールさ れておりました。 httpをあとからインストールするのは、ディレクトリ構成をOSイン ストール時と異なる環境が作業する上での要件にあるためです。 解決策やアドバイスをお願いします。 ~環境~ redhat9 カーネル:2.4.20-8 (雑誌付録版) インストールでは、WWW(httpd_2.0.40)は、除外しました。 ~処理経過~ ○./configure --enable-sslを実行にあたり #tar zxvf httpd-2.0.40.tar.gz #cd httpd-2.0.40 #./configure --enable-ssl :(処理中) checking whether to enable mod_proxy_http... no checking whether to enable mod_ssl... checking dependencies checking for SSL/TLS toolkit base... configure: error: requires OpenSSL 0.9.6e or higher ←エラーメッセージ # ○opensslのインストール確認 #rpm -qa | grep openssl openssl-0.9.7a-2 openssl-devel-0.9.7a-2 #

  • Solaris8でOpenSSLのインストール

    Solaris8 2001年10月1日版に openssl-0.9.6cをソースからコンパイルしておりますがmakeでエラーがでました。対処方法や調査方法等をご教授いただけないでしょうか ***エラーの内容 *** Error code 1 make: Fatal error: Command failed for target `cbc_enc.o' Current working directory /export/home/sunset/openssl-0.9.6c/crypto/des *** Error code 1 make: Fatal error: Command failed for target `subdirs' Current working directory /export/home/sunset/openssl-0.9.6c/crypto *** Error code 1 make: Fatal error: Command failed for target `sub_all'

  • PHPのインストールがうまくできない。

    環境Fedora2 [root@localhost php-5.2.1]# ./configure --with-pgsql --with-apxs2=/usr/local/apache/bin/apxs --enable-mbstring --enable-mbregex ~省略~ checking if compiler supports -Wl,-rpath,... yes checking for re2c... re2c checking for re2c version... 0.11.0 (ok) checking for gawk... gawk checking for bison... no checking for byacc... no checking for bison version... invalid configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 (found: none). checking for flex... lex checking for yywrap in -ll... no checking lex output file root... ./configure: line 3375: lex: command not found configure: error: cannot find output from lex; giving up warning だと、PHP parsersのためのバージョンが必要ということでしょうか?当然makeもできません。 [root@localhost php-5.2.1]# make make: *** ターゲットが指定されておらず、makefile も見つかりません。中止。 調べたんですが aptの導入が必要のようですがよくわからないので詳しい方おねがいします。

  • Solaris10でCコンパイラが見つからない?

    Solaris 10 1/06 X86版にphp5.1.2をインストールしようとしているのですが、下記エラーが表示されてコンパイルが終了してしまいます。 エラー内容を見るとCコンパイラが見つからないといっているようなのですが、どう対応すればいいのでしょうか・・・ Solaris10にはgccコンパイラがインストールされていると思うのですが・・・ どなたかよろしくおねがいします。 # ./configure loading cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking for egrep... egrep checking for a sed that does not truncate output... /usr/bin/sed checking host system type... i386-pc-solaris2.10 checking target system type... i386-pc-solaris2.10 checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH

  • HP-UXにopensshでパスワード無しログイン

    ローカル(A)からリモート(B) にsshでパスワード無しの自動ログインをしようとしています. A:RedHat Linux 9, B:HP-UX(B.11.11) ○現状 ・Aにはrpmでopenssh-clients-3.5p1-11がインストールされています. ・Aにおいて,ssh-keygen -t dsa でパスフレーズ無しの鍵ペアを~/.ssh以下に作成 ・Aで作成した~/.ssh/id_dsa.pubをBの ~/.ssh/ 以下に authorized_keys としてコピー 関連ファイル,ディレクトリのパーミションはA,B共に以下のとおり. ~/.ssh/(700) ~/.ssh/id_dsa(600) ~/.ssh/id_dsa.pub(644) ~/.ssh/authorized_keys(644) Bには以下の手順でopenssl, openssh をインストール後,/usr/local/sbin/sshd でsshdを起動してあります.設定ファイルは変更していません. ・openssl-0.9.6c ./config && make && make test && make install ・openssh-3.7.1p2 ./configure && make && make install ○問題 AからBにsshで接続するとパスワードを聞かれてしまう. Bにopensshをインストールした際,何か,configure オプションや必要なライブラリが不足したりしているのでしょうか?

  • Solaris10 コンパイル エラー

    Solaris 10 (x86) に PHP 5.2.3 をインストール(コンパイル)しようとしているのですが、次のエラーが出てインストール出来ません。 どうすればインストール出来るのでしょうか? どなたかわかる方がいたら教えて下さい。 -------------------------------------------------- loading cache ./config.cache checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking for egrep... (cached) egrep checking for a sed that does not truncate output... (cached) /usr/bin/sed checking host system type... i386-pc-solaris2.10 checking target system type... i386-pc-solaris2.10 checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. --------------------------------------------------