-
Bug
-
Resolution: Unresolved
-
Normal
-
CentOS Stream 10
-
None
-
openldap-2.6.7-6.el10
-
No
-
Moderate
-
rhel-sst-idm-ds
-
ssg_idm
-
0
-
False
-
-
None
-
CentOS Stream
-
None
-
Pass
-
RegressionOnly
-
x86_64
-
None
What were you trying to do that didn't work?
The following error occurs when attempting to build the native extensions for the pg ruby gem:
/lib64/libldap.so.2: undefined symbol: EVP_md2, version OPENSSL_3.0.0
What is the impact of this issue to you?
I am unable to build and install the pg gem into the embedded ruby included with chef/cinc.
Please provide the package NVR for which the bug is seen:
openldap-2.6.6-3.el9.x86_64
How reproducible is this bug?:
Always
Steps to reproduce
- Install minimal OS
- sudo dnf install -y http://downloads.cinc.sh/files/stable/cinc/18.5.0/el/9/cinc-18.5.0-1.el9.x86_64.rpm
- sudo dnf install -y automake autoconf gcc postgresql-devel
- sudo /opt/cinc/embedded/bin/gem install pg
Expected results
Successful installation of the pg gem in the embedded ruby
Actual results
Building local extensions fails when attempting to check for PQconnectdb():
have_library: checking for PQconnectdb() in -lpq... -------------------- no "gcc -o conftest -I/opt/cinc/embedded/include/ruby-3.1.0/x86_64-linux -I/opt/cinc/embedded/include/ruby-3.1.0/ruby/backward -I/opt/cinc/embedded/include/ruby-3.1.0 -I. -I/usr/include -I/opt/cinc/embedded/include -O3 -D_FORTIFY_SOURCE=2 -fstack-protector -O3 -g -pipe -I/opt/cinc/embedded/include -I/opt/cinc/embedded/include -O3 -D_FORTIFY_SOURCE=2 -fstack-protector -O3 -g -pipe -fPIC conftest.c -L. -L/opt/cinc/embedded/lib -Wl,-rpath,/opt/cinc/embedded/lib -L/usr/lib64 -Wl,-rpath,/usr/lib64 -L/opt/cinc/embedded/lib -Wl,-rpath,/opt/cinc/embedded/lib -L. -Wl,-rpath,/opt/cinc/embedded/lib -L/opt/cinc/embedded/lib -fstack-protector-strong -L/opt/cinc/embedded/lib -Wl,-rpath,/opt/cinc/embedded/lib -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/cinc/embedded/lib -L/opt/cinc/embedded/lib -lruby -lpq -lm -lc" /bin/ld: /usr/lib64/libldap.so.2: undefined reference to `EVP_md2@OPENSSL_3.0.0' collect2: error: ld returned 1 exit status checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include <libpq-fe.h> 4: 5: /*top*/ 6: extern int t(void); 7: int main(int argc, char **argv) 8: { 9: if (argc > 1000000) { 10: int (* volatile tp)(void)=(int (*)(void))&t; 11: printf("%d", (*tp)()); 12: } 13: 14: return !!argv[argc]; 15: } 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQconnectdb; return !p; } /* end */
- clones
-
RHEL-59715 openldap compiled with OpenSSL MD2 support which is no longer included in libcrypto.so.3(OPENSSL_3.0.0)
-
- Release Pending
-
- links to
-
RHBA-2025:144789 openldap update