Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2023 08:41:55 +0200
From:      Panagiotis Atmatzidis <atma@convalesco.org>
To:        freebsd-arm@freebsd.org
Subject:   FreeRadius SQL driver undefined symbol __aeabi_uidivmod
Message-ID:  <5331A126-5DF4-4758-A607-31F23DD5C5B7@convalesco.org>

next in thread | raw e-mail | index | archive | help

--Apple-Mail=_7C0140E9-529A-4C1F-838F-AE289A9EC039
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hello,

I=E2=80=99m trying to setup FreeRadius3 on RPi2 (armv6) running =
FreeBSD-13.2. I=E2=80=99m 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 =E2=80=9Csql"
```

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 =E2=80=9Cpkg=E2=80=9D to install "mysql80-server" and =
"freeradius3-mysql=E2=80=9C, 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=3D271087
[^2]: =
https://bugs.freebsd.org/bugzilla/attachment.cgi?bugid=3D271087&action=3Dv=
iewall

--
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.=E2=80=9D - Leo Tolstoy






--Apple-Mail=_7C0140E9-529A-4C1F-838F-AE289A9EC039
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: =
after-white-space;">Hello,<div><br></div><div>I=E2=80=99m trying to =
setup FreeRadius3 on RPi2 (armv6) running FreeBSD-13.2. I=E2=80=99m =
using MySQL as a backend because it runs nicely on a low resource =
hardware.</div><div><br></div><div>Enabling the SQL driver yields the =
following error:</div><div><br></div><div>```</div><div><div>Could not =
link driver rlm_sql_mysql: /usr/local/lib/libunwind.so.8: Undefined =
symbol "__aeabi_uidivmod"</div><div>Make sure it (and all its dependent =
libraries!) are in the search path of your system's =
ld</div><div>/usr/local/etc/raddb/mods-enabled/sql[27]: Instantiation =
failed for module =
=E2=80=9Csql"</div></div><div>```</div><div><br></div><div>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?</div><div><br></div><div>I used =E2=80=9Cpkg=E2=80=9D to =
install "mysql80-server" and "freeradius3-mysql=E2=80=9C, however I have =
the ports collection installed so I could use that if it =
helps.</div><div><br></div><div>Kind =
regards,</div><div><br></div><div>P.</div><div><br></div><div><br></div><d=
iv>[^1]:&nbsp;<a =
href=3D"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271087">https:=
//bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271087</a></div><div>[^2]:&n=
bsp;https://bugs.freebsd.org/bugzilla/attachment.cgi?bugid=3D271087&amp;ac=
tion=3Dviewall</div><div><div>
<meta charset=3D"UTF-8"><br>--<br>Panagiotis (atmosx) =
Atmatzidis<br><br>email:<span class=3D"Apple-tab-span" =
style=3D"white-space: pre;">	</span>atma@convalesco.org<br>URL:<span =
class=3D"Apple-tab-span" style=3D"white-space: pre;">	=
</span>http://www.convalesco.org<br>GnuPG ID: 0x1A7BFEC5<br>gpg =
--keyserver pgp.mit.edu --recv-keys&nbsp;1A7BFEC5<br><br>"Everyone =
thinks of changing the world,&nbsp;but no one thinks of changing =
himself.=E2=80=9D -&nbsp;Leo Tolstoy<br><br><br><br><br>
</div>
<br></div></body></html>=

--Apple-Mail=_7C0140E9-529A-4C1F-838F-AE289A9EC039--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5331A126-5DF4-4758-A607-31F23DD5C5B7>