Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

[PATCH] db 18.1.25 fails to build with OpenSSL 1.1.x

1063383Feb 15 2019 — edited Feb 15 2019

db 18.1.25 fails to build if OpenSSL >= 1.1 is used.

../src/repmgr/repmgr_net.c:2897:6: error: use of undeclared identifier
      'repmgr_ssl_mutex_arr'
        if (repmgr_ssl_mutex_arr != NULL) {
            ^
../src/repmgr/repmgr_net.c:2899:8: error: use of undeclared identifier          
      'repmgr_ssl_mutex_arr'
                        if (repmgr_ssl_mutex_arr[i] != NULL)
                            ^
../src/repmgr/repmgr_net.c:2900:33: error: use of undeclared identifier         
      'repmgr_ssl_mutex_arr'
                                __repmgr_destroy_mutex(env, repmgr_ssl_mu...
                                                            ^
../src/repmgr/repmgr_net.c:2903:3: error: use of undeclared identifier          
      'repmgr_ssl_mutex_arr'
                repmgr_ssl_mutex_arr = NULL;
                ^
4 errors generated.                                                         

The problem is that repmgr_ssl_mutex_arr is (correctly) created only for OpenSSL < 1.1, but cleaned up even for OpenSSL >= 1.1. The fix is to conditionalize the cleanup the same way the initialization is conditionalized.

Here's the fix:

https://github.com/OpenMandrivaAssociation/db18/blob/master/db-18.1.25-openssl-1.1.patch

Comments

karianna

This is in the wrong community, can a moderator please shift to the correct Oracle product?

Ismail Rajiwate

Thanks Dear Karianna, Question is related to JAVA. if this is not correct group/community, then which one should be the correct? please advise. Ismail

eudriscabrera-JavaNet

Hi, you should ask about Java Installation in space.

joe9804
Launch the Java Control Panel on Mac (10.7.3 and above)
  1. Click on Apple icon on upper left of screen.
  2. Go to System Preferences
  3. Click on the Java icon to access the Java Control Panel.

If anyone still can't do it on their own then they should contact an expert. Like macbook repair Singapore is also renowned for their expertise on Apple products.

1 - 4

Post Details

Added on Feb 15 2019
1 comment
283 views