Bug 277768 - databases/mariadb106 : [ERROR] Incompatible OpenSSL version. Cannot continue...
Summary: databases/mariadb106 : [ERROR] Incompatible OpenSSL version. Cannot continue...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-17 22:11 UTC by korsani
Modified: 2024-05-06 05:13 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description korsani 2024-03-17 22:11:26 UTC
Hi,
I just compile mariadb 10.6.17.
It fails to launch, with this message:

[ERROR] Incompatible OpenSSL version. Cannot continue...

I compiled with libressl 3.8.3


options        :
        COLUMNSTORE    : off
        CONNECT_EXTRA  : off
        DOCS           : off
        GSSAPI_BASE    : off
        GSSAPI_HEIMDAL : off
        GSSAPI_MIT     : off
        GSSAPI_NONE    : on
        INNOBASE       : on
        LZ4            : off
        LZO            : off
        MROONGA        : off
        MSGPACK        : off
        OQGRAPH        : off
        ROCKSDB        : off
        S3             : off
        SNAPPY         : off
        SPHINX         : off
        SPIDER         : off
        WSREP          : off
        ZMQ            : off

Downgrading to 10.6.16 works fine
Comment 1 wcarson.bugzilla 2024-05-06 05:13:49 UTC
Changing files/patch-mysys__ssl_openssl.c to return 0 instead of 1 seems to have resolved it for me, but I'm not sure what consequences this will have as it seems to have purposefully disabled LibreSSL?

--- a/databases/mariadb106-server/files/patch-mysys__ssl_openssl.c
+++ b/databases/mariadb106-server/files/patch-mysys__ssl_openssl.c
@@ -7,7 +7,7 @@
 +#elif defined(LIBRESSL_VERSION_NUMBER)
 +int check_openssl_compatibility()
 +{
-+  return 1;
++  return 0;
 +}
  #else
  #include <openssl/evp.h>