[Nix-dev] [missing libgcrypto]: Openssl installed but pkg-config not able to find libgcrypto

rohit yadav rohityadav7787 at gmail.com
Mon Feb 27 22:40:43 CET 2017


Hi,

I am trying to build nix with non-default store/state dir. I am building it
on a nixos system. I have installed all the basic packages required to
build nix, however, while running configure command I get the following
error. Please note that I have installed openssl package.

=================

checking for OPENSSL... no
configure: error: Package requirements (libcrypto) were not met:

No package 'libcrypto' found

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

Alternatively, you may set the environment variables OPENSSL_CFLAGS
and OPENSSL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
-bash: --with-store-dir=/home/royadav/opt/nix/store: No such file or
directory
-bash: --localstatedir=/home/royadav/opt/nix/state: No such file or
directory
====================
Thanks,
Rohit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170227/30eae1b8/attachment-0001.html>


More information about the nix-dev mailing list