Could not link driver rlm_sql_postgresql:

Bogaczewicz Paweł Pawel.Bogaczewicz at netia.pl
Tue Jun 16 13:15:44 CEST 2020


I'm copying server from one machine to another,


old machine is centos7, freeradius 3.0.14, compiled from sources.

new machine is centos7, freeradius 3.0.21, from repo networkradius


on old machine is all working just fine.

on new machine, when i copy and enable module sql_postgresql mod sql with dialect postgres, server crashes. radiusd -X prints



[cut[

Could not link driver rlm_sql_postgresql: /lib64/libldap_r-2.4.so.2: undefined symbol: ber_sockbuf_io_udp
Make sure it (and all its dependent libraries!) are in the search path of your system's ld
/etc/raddb/mods-enabled/sql_postgresql[20]: Instantiation failed for module "postgresql"



selinux it;s turned off, ldd doesn't show any errors, on 'old' machine' libldap is in tge same version. and this config there just works. i ran out of ideas. where should i look?


More information about the Freeradius-Users mailing list