[UE5-0-3][Linux] Unable to create C++ project

I got error when try to create C++ project from editor:

An error occurred while trying to generate project files.

Running /home/max/bin/ue-release/Linux/Engine/Build/BatchFiles/Linux/Build.sh  -projectfiles -project="/home/max/sources/ue/projects/tests/Shoot/Shoot.uproject" -game -rocket -progress
Setting up bundled DotNet SDK
Running command : dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll -projectfiles -project=/home/max/sources/ue/projects/tests/Shoot/Shoot.uproject -game -rocket -progress
No usable version of libssl was found
/home/max/bin/ue-release/Linux/Engine/Build/BatchFiles/Linux/Build.sh: Crash (memory stack flushed to disk) dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll "$@"



How to fix it?

System info:

$ lsb_release --all
No LSB modules are available.
Distributor ID:	Linuxmint
Description:	Linux Mint 21
Release:	21
Codename:	vanessa

$ uname -a
Linux undefined 5.15.0-47-generic #51-Ubuntu SMP Thu Aug 11 07:51:15 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

$ apt show libssl-dev
Package: libssl-dev
Version: 3.0.2-0ubuntu1.6
Priority: optional
Section: libdevel
Source: openssl
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian OpenSSL Team <pkg-openssl-devel@alioth-lists.debian.net>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12.4 MB
Depends: libssl3 (= 3.0.2-0ubuntu1.6)
Suggests: libssl-doc
Conflicts: libssl1.0-dev
Homepage: https://www.openssl.org/
Download-Size: 2370 kB
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
Description: Secure Sockets Layer toolkit - development files
 This package is part of the OpenSSL project's implementation of the SSL
 and TLS cryptographic protocols for secure communication over the
 Internet.
 .
 It contains development libraries, header files, and manpages for libssl
 and libcrypto.


I’m using Ubuntu 22.04 LTS and don’t have this problem, and Linux Mint 21 should be very similar as it is based on it. However if you google “No usable version of libssl was found” you’ll find references to some Ubuntu 22.04 compatibility issue with the openssl library, and some fixes are suggested. I would try monkey with that, and if you can’t fix it then try reinstalling operating system to Ubuntu 22.04 LTS (not Mint) and try again.

Я не собираюсь устанавливать Ubuntu, так как оно не является целевой ОС.

Что ж, тогда погуглите сообщение об ошибке openssl и попробуйте некоторые из предложенных исправлений.

1 Like

Я не пишу на форумах, если решение есть в поиске.

К сожалению. часто бывает так, что на мои вопросы нет ответов в сети…

З.Ы.: Задолбался переводить на английский.

I found linux - when i open unity and make something project then the error is coming that " no usable version of libssl was found " - Stack Overflow

This is works for me.