# Compiling Xtrabackup 8.0.28-21 and OpenSSL 3.0.5

**URL:** <https://forums.percona.com/t/compiling-xtrabackup-8-0-28-21-and-openssl-3-0-5/16441>\
**Category:** Percona XtraBackup\
**Created:** [July 5, 2022, 9:38pm UTC](https://forums.percona.com/t/compiling-xtrabackup-8-0-28-21-and-openssl-3-0-5/16441 "2022-07-05T21:38:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://forums.percona.com/u/boris)\
**Post date:** [July 5, 2022, 9:38pm UTC](https://forums.percona.com/t/compiling-xtrabackup-8-0-28-21-and-openssl-3-0-5/16441/1 "2022-07-05T21:38:57Z")

</div>

I have compiled Xtrabackup 8.0.28-21 from source with OpenSSL 1.1.1p but I have upgraded a system that only uses OpenSSL 3.0.5 [3.x series]. But whenever I try to compile Xtrabackup, it now shows the following message

```auto
-- Check size of off64_t
-- Check size of off64_t - done
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Performing Test HAVE_CXX_W_missing_profile
-- Performing Test HAVE_CXX_W_missing_profile - Success
-- ZLIB_VERSION (bundled) is 1.2.11
-- ZSTD_LEGACY_SUPPORT not defined!
-- ZSTD_VERSION (bundled) is 1.5.0
-- OPENSSL_INCLUDE_DIR = /usr/include
-- OPENSSL_LIBRARY = /usr/lib64/libssl.so
-- CRYPTO_LIBRARY = /usr/lib64/libcrypto.so
-- OPENSSL_MAJOR_VERSION =
-- OPENSSL_MINOR_VERSION =
-- OPENSSL_FIX_VERSION =
-- Looking for SHA512_DIGEST_LENGTH
-- Looking for SHA512_DIGEST_LENGTH - found
--
Cannot find appropriate system libraries for WITH_SSL=system.
Make sure you have specified a supported SSL version.
Valid options are :
system (use the OS openssl library),
yes (synonym for system),
</path/to/custom/openssl/installation>

CMake Error at cmake/ssl.cmake:61 (MESSAGE):
  Please install the appropriate openssl developer package.

Call Stack (most recent call first):
  cmake/ssl.cmake:319 (FATAL_SSL_NOT_FOUND_ERROR)
  CMakeLists.txt:1651 (MYSQL_CHECK_SSL)

-- Configuring incomplete, errors occurred!

```

Is the latest Xtrabackup not compatible with OpenSSL 3.xx? I also tried compiling with -DWITH\_SSL=yes or -DWITH\_SSL=/usr and still the same issue.

---

<div class="post-metadata">

**Author:** ![Wayne\_Leutwyler](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/wayne_leutwyler/32/20829_2.png) [@Wayne\_Leutwyler](https://forums.percona.com/u/Wayne_Leutwyler)\
**Post date:** [July 5, 2022, 9:56pm UTC](https://forums.percona.com/t/compiling-xtrabackup-8-0-28-21-and-openssl-3-0-5/16441/2 "2022-07-05T21:56:27Z")

</div>

Did you verify that you have the libssl-dev packages installed?

---

<div class="post-metadata">

**Author:** ![Evgeniy\_Patlan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/evgeniy_patlan/32/41_2.png) [@Evgeniy\_Patlan](https://forums.percona.com/u/Evgeniy_Patlan)\
**Post date:** [July 6, 2022, 11:00am UTC](https://forums.percona.com/t/compiling-xtrabackup-8-0-28-21-and-openssl-3-0-5/16441/3 "2022-07-06T11:00:05Z")

</div>

Hi @boris  
We are aware of this issue and it will be fixed for next release

---

<div class="post-metadata">

**Author:** ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://forums.percona.com/u/boris)\
**Post date:** [July 6, 2022, 2:00pm UTC](https://forums.percona.com/t/compiling-xtrabackup-8-0-28-21-and-openssl-3-0-5/16441/4 "2022-07-06T14:00:36Z")

</div>

Perfect, thank you 🙂
