Freeradius Packages

Jorge Pereira jpereira at freeradius.org
Thu May 30 16:26:48 CEST 2019


Nicolas,

Do some research about LD_LIBRARY_PATH.

e.g:

1. mkdir /opt/test/libs
2. ln -fs /path/libmysql-newversion.so
/opt/tests/libs/libmysqlclient_r.so.16
3. export LD_LIBRARY_PATH=/opt/tests/libs
4. /usr/sbin/radiusd

ps. not sure if it will work, but feel free to try it.


On Thu, May 30, 2019 at 4:48 AM Nicolas Breuer <Nicolas.Breuer at belcenter.biz>
wrote:

> Hello,
>
> Is there a way to change the link to a more recent mysql client library ?
> The linked library is the compat mysql lib.
>
> [root at ns1 freeradius]# ldd rlm_sql_mysql.so
>         linux-vdso.so.1 =>  (0x00007ffe659bb000)
>         libmysqlclient_r.so.16 => /usr/lib64/mysql/libmysqlclient_r.so.16
> (0x00007efed1200000)
>         libz.so.1 => /lib64/libz.so.1 (0x00007efed0fea000)
>         libpthread.so.0 => /lib64/libpthread.so.0 (0x00007efed0dcc000)
>         libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007efed0b95000)
>         libnsl.so.1 => /lib64/libnsl.so.1 (0x00007efed097c000)
>         libm.so.6 => /lib64/libm.so.6 (0x00007efed06f7000)
>         libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007efed048b000)
>         libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007efed00a6000)
>         libc.so.6 => /lib64/libc.so.6 (0x00007efecfd11000)
>         /lib/ld-linux.so.2 (0x000055a5f8a11000)
>         libfreebl3.so => /lib64/libfreebl3.so (0x00007efecfb0e000)
>         libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2
> (0x00007efecf8ca000)
>         libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007efecf5e2000)
>         libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007efecf3de000)
>         libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007efecf1b2000)
>         libdl.so.2 => /lib64/libdl.so.2 (0x00007efecefad000)
>         libkrb5support.so.0 => /lib64/libkrb5support.so.0
> (0x00007efeceda2000)
>         libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007efeceb9f000)
>         libresolv.so.2 => /lib64/libresolv.so.2 (0x00007efece984000)
>         libselinux.so.1 => /lib64/libselinux.so.1 (0x00007efece765000)
>
>
> Thanks
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list