Skip to content

Fedora 41: openssl/engine.h: No such file or directory #626

Open
@tmontney

Description

@tmontney

Fresh install of Fedora 41 Server, fully updated. The following packages are installed:

  • qt5-qtbase-devel
  • qt5-qttools-devel
  • openssl-devel

cmake -B build xca completes fine; however, cmake --build build -j5 gets stuck at 47%.

[ 45%] Building CXX object CMakeFiles/xcalib.dir/lib/pk11_attribute.cpp.o
[ 45%] Building CXX object CMakeFiles/xcalib.dir/lib/settings.cpp.o
[ 46%] Building CXX object CMakeFiles/xcalib.dir/lib/db_temp.cpp.o
[ 47%] Building CXX object CMakeFiles/xcalib.dir/lib/pkcs11.cpp.o
[ 47%] Building CXX object CMakeFiles/xcalib.dir/lib/sql.cpp.o
/home/FOO/xca/lib/pkcs11.cpp:20:10: fatal error: openssl/engine.h: No such file or directory
   20 | #include <openssl/engine.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/xcalib.dir/build.make:489: CMakeFiles/xcalib.dir/lib/pkcs11.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [CMakeFiles/Makefile2:945: CMakeFiles/xcalib.dir/all] Error 2
gmake: *** [Makefile:166: all] Error 2a

Installing openssl1.1-devel-1.1.1q-5.fc39.x86_64 from Fedora 39 solves the issue, but not a good solution.

Additionally, cmake --build build -j5 completed successfully under Fedora 40 Server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions