Macでjanus-gatewayサーバーを構成しているときに、 `libssl`と` libcryptが見つからないことに気づきました。

記事の開始アドレス

マックの下ヤヌス・ゲートウェイ・サーバを設定するときに、私が見つかりません遭遇libsslし、libcryptoエラーが発生しました。
次のような詳細は、次のとおりです。

./configure
...
checking for
                    glib-2.0 >= 2.34
                    libconfig
                    nice
                    jansson >= 2.5
                    libssl >= 1.0.1
                    libcrypto
                    zlib
                  ... no
configure: error: Package requirements (
                    glib-2.0 >= 2.34
                    libconfig
                    nice
                    jansson >= 2.5
                    libssl >= 1.0.1
                    libcrypto
                    zlib
                  ) were not met:

No package 'libssl' found
No package 'libcrypto' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix

実行するためにカスタマイズPKG_CONFIG_PATHする必要があります

./configure --prefix=/usr/local/janus PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig

前にコマンドラインで実行してください

export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig

そうでない場合はlibffiHome brewインストールを使用してクリックできます

おすすめ

転載: blog.51cto.com/13824996/2546611