Re: openldap: gdb: symbol lookup error: /lib64/libldap.so.2: undefined symbol: EVP_md2, version OPENSSL_3.0.0

2023-03-28 Thread Jun Aruga (he / him)
All right. Thank you for your clear answer! Jun On Tue, Mar 28, 2023 at 4:20 PM Dmitry Belyavskiy wrote: > > Dear Jun, > > No, it's not a Fedora-specific issue. You try to provide a replacement > to a system library, and this change may affect all the binaries built > with the system area. >

Re: openldap: gdb: symbol lookup error: /lib64/libldap.so.2: undefined symbol: EVP_md2, version OPENSSL_3.0.0

2023-03-28 Thread Dmitry Belyavskiy
Dear Jun, No, it's not a Fedora-specific issue. You try to provide a replacement to a system library, and this change may affect all the binaries built with the system area. You shouldn't replace or shadow the system library with your own one, otherwise you get PROBLEMS. On Tue, Mar 28, 2023 at

Re: openldap: gdb: symbol lookup error: /lib64/libldap.so.2: undefined symbol: EVP_md2, version OPENSSL_3.0.0

2023-03-28 Thread Jun Aruga (he / him)
Dear Dmitry, Thanks! The workaround worked! Is this issue Fedora specific? Can we fix the case: `LD_LIBRARY_PATH=/home/jaruga/.local/openssl-3.0.8/lib/ gdb` to work by modifying the gdb or openldap patches? Which is better to fix the gdb or openldap? Jun On Mon, Mar 27, 2023 at 5:45 PM Dmitry

Re: openldap: gdb: symbol lookup error: /lib64/libldap.so.2: undefined symbol: EVP_md2, version OPENSSL_3.0.0

2023-03-27 Thread Dmitry Belyavskiy
Dear Jan, Yes. gdb expects system openssl (providing this function) To workaround it, you have to provide the LD_SET_LIBRARY inside gdb, via (gdb) set environment LD_LIBRARY_PATH /home/jaruga/.local/openssl-3.0.8/lib/ On Mon, Mar 27, 2023 at 5:39 PM Jun Aruga (he / him) wrote: > > Hi, > > I

openldap: gdb: symbol lookup error: /lib64/libldap.so.2: undefined symbol: EVP_md2, version OPENSSL_3.0.0

2023-03-27 Thread Jun Aruga (he / him)
Hi, I opened this issue's ticket for openldap on Bugzilla. https://bugzilla.redhat.com/show_bug.cgi?id=2181668 But let me ask on the devel@ mailing list too, as I want to debug a program with gdb and the source-compiled openssl soon. I am using Fedora 37. I built the openssl 3.0.8 from the