Hello, I’m setting up a new server running Slackware Linux 14.2 x64 with urbackup 2.4.10.
I’ve installed cryptopp 7.0.0 from the slackbuilds repository and then installed urbackup 2.4.10 using the usual
./configure --with-mountvhd
make -j3
make install
When i try to run the server, it just crashes after a few seconds:
root@srv01:~# /usr/local/bin/urbackupsrv run
2019-10-30 15:41:07: Starting HTTP-Server on port 55414
2019-10-30 15:41:07: HTTP: Server started up successfully!
2019-10-30 15:41:07: Generating Server private/public ECDSA key…
Segmentation fault
Could you check wether or not it compiles with -DCRYPTOPP_DISABLE_ASM and wether your distribution crypto++ was compiled with -DCRYPTOPP_DISABLE_ASM ?
If this doesn’t match the detection in configure does not work. Could you upload config.log in this case? (Also it should start working if you edit configure and delete/edit -DCRYPTOPP_DISABLE_ASM )
Adding -lpthread to the line https://github.com/uroni/urbackup_backend/blob/dev/configure.ac_server#L165 (and running autoconf) did the trick.
I’ve tried adding $PTHREAD_LIBS instead, but that variable seems to be empty at that point of the script: it didn’t show up in the commandline of the gcc call