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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to