Segmentation fault with self compiled client on Debian unstable

I’ve just recompiled the urbackupclient following those instructions:
https://www.urbackup.org/client_debian_ubuntu_install.html
Unfortunately it doesn’t work afterwards. I’m getting a segmentation fault. Seems to have todo with libcrypto++. Maybe it’s too new? (I think before version 6 was installed on the system)

[39085.212041] internet client[170941]: segfault at 10 ip 00007fdad5284fe0 sp 00007fdab37fd540 error 4 in libcrypto++.so.8.4.0[7fdad515b000+1e6000]
[39085.212083] Code: c1 49 8b 45 00 8d 71 f8 48 c1 e9 02 4c 8d 79 ff e9 b9 fe ff ff 0f 1f 44 00 00 85 db 74 2c 49 c1 ec 02 74 8e 66 0f 1f 44 00 00 <41> 8b 0c 86 48 8b 5c 24 08 0f c9 89 0c 83 48 83 c0 01 49 39 c4 75

# urbackupclientbackend -v debug -i 
2021-01-13 10:34:26: SQLite: recovered 16189 frames from WAL file /usr/local/var/urbackup/backup_client.db-wal code: 283
2021-01-13 10:34:26: urbackupserver: Server started up successfully!
2021-01-13 10:34:26: FileSrv: Server started up successfully
2021-01-13 10:34:26: Started UrBackupClient Backend...
2021-01-13 10:34:26: urbackupserver: No available slots... starting new Worker
2021-01-13 10:34:26: ClientService cmd: STATUS#pw=tMn6dGG0VY91m51fy0KrFLGtVBXZEd
2021-01-13 10:34:27: Looking for old Sessions... 0 sessions
2021-01-13 10:34:27: Final path: /var/www
2021-01-13 10:34:27: Final path: /home/rmm
2021-01-13 10:34:27: Final path: /etc
2021-01-13 10:34:27: Final path: /var/lib/postgresql
2021-01-13 10:34:27: Final path: /var/lib/mysql
2021-01-13 10:34:28: Trying to connect to internet server "urbackup.rmm.li" at port 55417
2021-01-13 10:34:28: Successfully connected.
[1]    171210 segmentation fault  urbackupclientbackend -v debug -i

Since you self-compiled it, could you run it with gdb --args urbackupclientbackend -v debug -i , then run, bt.

Afterwards, it probably works with ./configure --enable-embedded-cryptopp

I’ve recompiled with the suggested configure parameter and it’s working now.
Here is the gdb output:

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff711f700 (LWP 292228)]
[New Thread 0x7ffff691e700 (LWP 292229)]
2021-01-13 18:28:20: SQLite: recovered 16189 frames from WAL file /usr/local/var/urbackup/backup_client.db-wal code: 283
[New Thread 0x7ffff611d700 (LWP 292230)]
2021-01-13 18:28:20: urbackupserver: Server started up successfully!
[New Thread 0x7ffff591c700 (LWP 292231)]
[New Thread 0x7ffff511b700 (LWP 292232)]
2021-01-13 18:28:20: FileSrv: Server started up successfully
[New Thread 0x7ffff491a700 (LWP 292233)]
[New Thread 0x7fffe7fff700 (LWP 292234)]
2021-01-13 18:28:20: Started UrBackupClient Backend...
2021-01-13 18:28:21: urbackupserver: No available slots... starting new Worker
[New Thread 0x7fffe77fe700 (LWP 292237)]
2021-01-13 18:28:21: ClientService cmd: STATUS#pw=tMn6dGG0VY91m51fy0KrFLGtVBXZEd
[New Thread 0x7fffe6ffd700 (LWP 292238)]
2021-01-13 18:28:21: Looking for old Sessions... 0 sessions
2021-01-13 18:28:21: Final path: /var/www
2021-01-13 18:28:21: Final path: /home/rmm
2021-01-13 18:28:21: Final path: /etc
2021-01-13 18:28:21: Final path: /var/lib/postgresql
2021-01-13 18:28:21: Final path: /var/lib/mysql
2021-01-13 18:28:22: Trying to connect to internet server "urbackup.rmm.li" at port 55417
2021-01-13 18:28:22: Successfully connected.
[New Thread 0x7fffe67fc700 (LWP 292248)]

Thread 11 "internet client" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe67fc700 (LWP 292248)]
0x00007ffff7dc8fe0 in CryptoPP::IteratedHashBase<unsigned int, CryptoPP::HashTransformation>::TruncatedFinal(unsigned char*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libcrypto++.so.8