Debian 8 64-bit: Chaning DA binaries to dynamic

Version 1.5

Bugfix
Finished

Due to a report of compatibility issues with a release of Ubuntu (Debian 8 64-bit), I've changed the directadmin, dataskq, and da-popb4smtp binaries to be dynamic. However, I've kept libmysqlclient.so as static, so there are no issues if you are swapping around MySQL versions. Related gdb segfault and backtrace: ============================================================ Warning: couldn't activate thread debugging using libthread_db: Cannot find new threads: generic error warning: File "/lib/x86_64-linux-gnu/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". To enable execution of this file add add-auto-load-safe-path /lib/x86_64-linux-gnu/libthread_db-1.0.so line to your configuration file "/root/.gdbinit". To completely disable this security protection add set auto-load safe-path / line to your configuration file "/root/.gdbinit". For more information about this security protection see the "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: info "(gdb)Auto-loading safe path" warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. Program received signal SIGSEGV, Segmentation fault. (gdb) bt full #0 0x0000000000000000 in ?? () No symbol table info available. #1 0x00007ffff6c9bfaa in __pthread_initialize_minimal_internal () at nptl-init.c:464 pd = <optimized out> sa = {__sigaction_handler = {sa_handler = 0x7ffff6c9bc40 <sighandler_setxid>, sa_sigaction = 0x7ffff6c9bc40 <sighandler_setxid>}, sa_mask = {__val = {6442450944, 0 <repeats 15 times>}}, sa_flags = 268435460, sa_restorer = 0x1} static_tls_align = 16 limit = {rlim_cur = 8388608, rlim_max = 18446744073709551615} pagesz = <optimized out> minstack = <optimized out> rtld_lock_count = <optimized out> #2 0x00007ffff6c9b5b9 in _init () at ../sysdeps/x86_64/crti.S:72 No locals. #3 0x000000770000006e in ?? () No symbol table info available. #4 0x00000000007fc89d in call_init.part () No symbol table info available. #5 0x00000000007fc9e5 in _dl_init () No symbol table info available. #6 0x00000000007daab7 in dl_open_worker () No symbol table info available. #7 0x00000000007d8dd4 in _dl_catch_error () No symbol table info available. #8 0x00000000007da463 in _dl_open () No symbol table info available. #9 0x00000000007dd3f7 in do_dlopen () No symbol table info available. #10 0x00000000007d8dd4 in _dl_catch_error () No symbol table info available. #11 0x00000000007dd437 in dlerror_run () No symbol table info available. #12 0x00000000007dd623 in __libc_dlopen_mode () No symbol table info available. #13 0x00000000007cd6cb in __nss_lookup_function () No symbol table info available. #14 0x00000000007cd8d3 in __nss_next2 () No symbol table info available. #15 0x00000000007bcd8f in getpwnam_r () No symbol table info available. #16 0x00000000007bc74f in getpwnam () No symbol table info available. #17 0x000000000046c5b5 in getHomeDir(char const*) () ============================================================ where the getHomeDir is DA's call, but everything beyond that belong to the system libraries.

Interested to try DirectAdmin? Get a 30-day Free Trial!