mirror of https://github.com/MariaDB/server
Browse Source
Bootstrapping nodes on FreeBSD 15.0 with mariadb-backup currently broken. We should not need LD_LIBRARY_PATH trickery on FreeBSD, so skip setting it same as on Darwin. Alternatively putting /lib before /usr/lib also fixes it. WSREP_SST: [INFO] Preparing the backup at /var/db/mysql/.sst (20250608 14:44:04.000) WSREP_SST: [INFO] Evaluating /usr/local/bin/mariadb-backup --prepare ...... WSREP_SST: [ERROR] Cleanup after exit with status: 1 (20250608 14:44:04.000) With the following error in /var/db/mysql/mariabackup.prepare.log: ld-elf.so.1: /usr/local/bin/mariadb-backup: Undefined symbol "_ZNSt3__117bad_function_callD1Ev" I did not look for the root cause in FreeBSD 15.0 that changed this behaviour. Calling mariadb-backup directly from the shell works fine on FreeBSD 14.x and 15.x when LD_LIBRARY_PATH is not set (when using FreeBSD packages or installing from FreeBSD ports). Setting LD_LIBRARY_PATH manually like the script does, breaks mariadb-backup with the "Undefined symbol" error on FreeBSD 15.0 but not on 14.x. Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>pull/4195/head
committed by
Julius Goryavsky
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue