Undefined symbol "fdatasync"

Timur I. Bakeyev timur at com.bat.ru
Tue Aug 15 01:13:31 UTC 2017

On Tue, Aug 15, 2017 at 3:07 AM, Francisco Reyes <lists at natserv.net> wrote:

> Two different programs, Samba and Postgresql, are giving me an error about
> Undefined symbol "fdatasync"
> /usr/local/lib/libtdb.so.1: Undefined symbol "fdatasync" <-- samba
> /usr/local/bin/postgres: Undefined symbol "fdatasync"   <-- Postgresql
> FreeBSD 11.0
> Is this some sort of missing library?
> Upgrading the machine to 11.1 to see if that helps.

man fdatasync says it all:

     The fsync() system call appeared in 4.2BSD.  The fdatasync() system
     appeared in FreeBSD 11.1.

Seems you are using ports, compiled on the 11.1 on an older system.

With best regards,
Timur Bakeyev.

More information about the freebsd-questions mailing list