You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\POC\SoftHSMv2-develop\build>cmake .. -G "MinGW Makefiles"
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/ucrt64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/ucrt64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building with no support for object store backend database
-- Building with no migration tool
-- Build Configuration: RelWithDebInfo
-- Found PkgConfig: C:/msys64/ucrt64/bin/pkg-config.exe (found version "2.3.0")
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Looking for include file sys/mman.h
-- Looking for include file sys/mman.h - not found
CMake Warning at cmake/modules/CompilerOptions.cmake:93 (message):
======================================================================
SoftHSM has been configured to store sensitive data in non-page RAM
(i.e. memory that is not swapped out to disk). This is the default and
most secure configuration. Your system, however, is not configured to
support this model in non-privileged accounts (i.e. user accounts).
You can check the setting on your system by running the following
command in a shell:
ulimit -l
If this does not return "unlimited" and you plan to run SoftHSM from
non-privileged accounts then you should edit the configuration file
/etc/security/limits.conf (on most systems).
You will need to add the following lines to this file:
#<domain> <type> <item> <value>
* - memlock unlimited
Alternatively, you can elect to disable this feature of SoftHSM by
re-running cmake with the option "-DDISABLE_NON_PAGED_MEMORY=ON".
Please be advised that this may seriously degrade the security of
SoftHSM.
======================================================================
-- Looking for dlopen in dl
-- Looking for dlopen in dl - not found
-- Looking for LoadLibrary
-- Looking for LoadLibrary - not found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - not found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file stddef.h
-- Looking for include file stddef.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for getpwuid_r
-- Looking for getpwuid_r - not found
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found version "3.5.1")
CMake Error at cmake/modules/CompilerOptions.cmake:287 (message):
Failed to find OpenSSL!
Call Stack (most recent call first):
CMakeLists.txt:116 (include)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to setup SoftHSM at local windows environment unable to build it below is console log
C:\POC\SoftHSMv2-develop\build>echo %OPENSSL_INCLUDE_DIR%
C:\msys64\ucrt64\include
C:\POC\SoftHSMv2-develop\build>echo %OPENSSL_CRYPTO_LIBRARY%
C:\msys64\ucrt64\lib\libcrypto.dll.a
C:\POC\SoftHSMv2-develop\build>cmake .. -G "MinGW Makefiles"
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/ucrt64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/ucrt64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building with no support for object store backend database
-- Building with no migration tool
-- Build Configuration: RelWithDebInfo
-- Found PkgConfig: C:/msys64/ucrt64/bin/pkg-config.exe (found version "2.3.0")
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Looking for include file sys/mman.h
-- Looking for include file sys/mman.h - not found
CMake Warning at cmake/modules/CompilerOptions.cmake:93 (message):
======================================================================
SoftHSM has been configured to store sensitive data in non-page RAM
(i.e. memory that is not swapped out to disk). This is the default and
most secure configuration. Your system, however, is not configured to
support this model in non-privileged accounts (i.e. user accounts).
Call Stack (most recent call first):
CMakeLists.txt:116 (include)
-- Looking for dlopen in dl
-- Looking for dlopen in dl - not found
-- Looking for LoadLibrary
-- Looking for LoadLibrary - not found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - not found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file stddef.h
-- Looking for include file stddef.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for getpwuid_r
-- Looking for getpwuid_r - not found
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found version "3.5.1")
CMake Error at cmake/modules/CompilerOptions.cmake:287 (message):
Failed to find OpenSSL!
Call Stack (most recent call first):
CMakeLists.txt:116 (include)
-- Configuring incomplete, errors occurred!
Beta Was this translation helpful? Give feedback.
All reactions