FreeRadius SQL driver undefined symbol __aeabi_uidivmod
Date: Sun, 17 Dec 2023 06:41:55 UTC
Hello, I’m trying to setup FreeRadius3 on RPi2 (armv6) running FreeBSD-13.2. I’m using MySQL as a backend because it runs nicely on a low resource hardware. Enabling the SQL driver yields the following error: ``` Could not link driver rlm_sql_mysql: /usr/local/lib/libunwind.so.8: Undefined symbol "__aeabi_uidivmod" Make sure it (and all its dependent libraries!) are in the search path of your system's ld /usr/local/etc/raddb/mods-enabled/sql[27]: Instantiation failed for module “sql" ``` There is a discussion in bugtraq[^1] about this exact issue and there seems to be a patch as well[^2]. Can someone help me apply this patch or point me to a tutorial? I used “pkg” to install "mysql80-server" and "freeradius3-mysql“, however I have the ports collection installed so I could use that if it helps. Kind regards, P. [^1]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271087 [^2]: https://bugs.freebsd.org/bugzilla/attachment.cgi?bugid=271087&action=viewall -- Panagiotis (atmosx) Atmatzidis email: atma@convalesco.org URL: http://www.convalesco.org GnuPG ID: 0x1A7BFEC5 gpg --keyserver pgp.mit.edu --recv-keys 1A7BFEC5 "Everyone thinks of changing the world, but no one thinks of changing himself.” - Leo Tolstoy