"Problem" SuSE has installed Libsodium and the following error occurred while installing ZEROMQ?

Source: Internet
Author: User

1. "Problem" SuSE has installed Libsodium and the following error occurred while installing ZEROMQ?

Checking for libsodium ... noconfigure:error:Package requirements (libsodium >= 0.0.0) were not met:no package ' LIBSO  Dium ' found consider adjusting the PKG_CONFIG_PATH environment variable if youinstalled software in a non-standard prefix. Alternatively, you could set the environment variables Libsodium_cflagsand libsodium_libs to avoid the need-call Pkg-con Fig. See the Pkg-config Mans page for more details.

Workaround:

Due to the use of the normal user, and is a 64-bit system.

So files for 64-bit operating systems are usually placed in/usr/lib64 instead of/usr/lib.

So you need this:

A. Installing the Libsodium

Use the 64-bit GCC compiler with CC variables.

sudo tar zxf libsodium-1.0. 2. tar. gz; CD libsodium-1.0. 2 ; sudo ./configure cc="gcc-m64"sudomakesudo  Make Install

B. Installing ZEROMQ

Using the 64-bit GCC compiler with CC variables

sudo tar zxf zeromq-4.1. 3. tar. gz; CD zeromq-4.1. 3 ; sudo ./configure--prefix=/usr cc="gcc-m64" pkg_config_path= " /usr/lib64/pkgconfig " sudo  Make sudo  Make Install

The Pkg_config_path parameter is a search directory that adds a pkgconfig file.

"Problem" SuSE has installed Libsodium and the following error occurred while installing ZEROMQ?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.