2017-01-01 3 views
1

にLIB-OpenSSLを必要と私は他の質問を見て、私はsolution.Whileはタイトルで述べたように、私はエラーを取得するJWTパッケージをインストールしようとして見つけることができませんでした。私はマックOS上でXAMPPのバージョン7.0.8を使用していますnamshi /ホセ5.0.2はMacOSXの

は、次のように私が手にエラーがあるPHP 5.6.Theとシエラのxは。

Problem 1 
    - namshi/jose 5.0.2 requires lib-openssl * -> the requested linked library openssl has the wrong version installed or is missing from your system, make sure to have the extension providing it. 
    - namshi/jose 5.0.1 requires lib-openssl * -> the requested linked library openssl has the wrong version installed or is missing from your system, make sure to have the extension providing it. 
    - namshi/jose 5.0.0 requires lib-openssl * -> the requested linked library openssl has the wrong version installed or is missing from your system, make sure to have the extension providing it. 
    - tymon/jwt-auth 0.5.9 requires namshi/jose 5.0.* -> satisfiable by namshi/jose[5.0.0, 5.0.1, 5.0.2]. 
    - Installation request for tymon/jwt-auth ^0.5.9 -> satisfiable by tymon/jwt-auth[0.5.9]. 

ありがとうございます。 the Jose library I developedを使用しています

答えて

0

誰かが同じ問題に遭遇していました。彼が開いた問題はon this pageです。

MacOS Sierraでは、OpenSSLの実装がコンポーザーによって正しく検出されず、ライブラリにlib-opensslが必要な場合、このメッセージが表示されます。

次のコマンドラインを実行して、OpenSSLの実装を確認することができます:あなたはそれを変更しようとし、その後LibreSSLが表示された場合

php -i | grep OpenSSL 

を:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 
brew tap homebrew/dupes 
brew tap homebrew/versions 
brew tap homebrew/php 
brew install curl --with-libssh2 --with-openssl 

今すぐあなたのOpenSSLの実装がOpenSSLとする必要がありますnamshi/joseのインストールはうまくいくはずです。

+0

ありがとうございました!私はmampをインストールした後に試してみました。 – ccoeder

関連する問題