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) <jaruga@xxxxxxxxxx> wrote: > > 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 source > downloading the source from https://www.openssl.org/source/ . > > ``` > $ ./Configure --prefix=$HOME/.local/openssl-3.0.8 --libdir=lib shared > linux-x86_64 > $ make -j4 > $ make install > ``` > > Then the gdb fails with the error below. Do you know why this error > happens? And is there a workaround to avoid this error? > > ``` > $ rpm -qf /lib64/libldap.so.2 > openldap-2.6.4-1.fc37.x86_64 > > $ rpm -q gdb > gdb-13.1-1.fc37.x86_64 > > $ ldd /bin/gdb | grep ldap > libldap.so.2 => /lib64/libldap.so.2 (0x00007f147899a000) > > $ LD_LIBRARY_PATH=/home/jaruga/.local/openssl-3.0.8/lib/ gdb > gdb: symbol lookup error: /lib64/libldap.so.2: undefined symbol: > EVP_md2, version OPENSSL_3.0.0 > > $ echo $? > 127 > ``` > > Thanks! > > -- > Jun | He - Him | Timezone: UTC+1 or 2, Czech Republic > See <https://www.worldtimebuddy.com/czech-republic-prague-to-utc> for > the timezone. > _______________________________________________ > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx > 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/devel@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue -- Dmitry Belyavskiy _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue