Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2017 03:12:59 +0200
From:      "Timur I. Bakeyev" <timur@com.bat.ru>
To:        Francisco Reyes <lists@natserv.net>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Undefined symbol "fdatasync"
Message-ID:  <CALdFvJGC9xZgVs0phrJSQVH85u182ywow3BK9j6sLJuzGS=imw@mail.gmail.com>
In-Reply-To: <3f0d0123-b0f9-ad7e-d67d-9c190d713864@natserv.net>
References:  <3f0d0123-b0f9-ad7e-d67d-9c190d713864@natserv.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 15, 2017 at 3:07 AM, Francisco Reyes <lists@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:

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

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

With best regards,
Timur Bakeyev.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALdFvJGC9xZgVs0phrJSQVH85u182ywow3BK9j6sLJuzGS=imw>