On 10/26/26 1:48 AM, Patrick Dupre via users wrote:
*Sent: *Monday, October 26, 2026 at 2:22 AM
*From: *"Samuel Sieb" <[email protected]>
*To: *[email protected]
*Subject: *Re: libcrypto++
On 10/25/26 3:48 PM, Patrick Dupre via users wrote:
 > I get
 > cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
 > -- Checking for module 'libcrypto++'
 > --   Package 'libcrypto++' not found
> CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:1093 (message):
 >   The following required packages were not found:
 >    - libcrypto++
 > Call Stack (most recent call first):
 >   /usr/share/cmake/Modules/FindPkgConfig.cmake:1166
 > (_pkg_check_modules_internal)
 >   CMakeLists.txt:37 (pkg_check_modules)
If you did install "cryptopp-devel", then try copying
"/usr/lib64/pkgconfig/libcryptopp.pc" to
"/usr/lib64/pkgconfig/libcrypto++.pc"
In my opinion there is an issue with this library (at list with its name).
It seems that currently the same library has for name libcryptopp in fedora but libcrypto++ in debian. This make the porting of application from linux distribution to another one incompatible which is not good. Actually, I also had to change CMAKE_CXX_FLAGS_RELEASE and CMAKE_C_FLAGS_RELEASE (adding -fPIE) to make a debian application running under fedora (github). Unfortunately, I go not know how to inform the authors of the project (github).
Yes, it somehow has both names.  Did you try copying the .pc file?

--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to