Date: Fri, 24 Feb 2012 11:15:32 -0800 From: Chuck Swiger <cswiger@mac.com> To: Norman Khine <norman@khine.net> Cc: freebsd-ports@freebsd.org Subject: Re: dl library and fdatasync(2) Message-ID: <133E41CB-0B0E-4249-907B-AEB2CA919DBD@mac.com> In-Reply-To: <CAKgQ7UJDxDPh-LwBT%2Bd9_wXUWgLFo%2Bcsi=X3KMJde125e9REcg@mail.gmail.com> References: <CAKgQ7UJDxDPh-LwBT%2Bd9_wXUWgLFo%2Bcsi=X3KMJde125e9REcg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 24, 2012, at 10:40 AM, Norman Khine wrote: > i am trying to build nodejs on freebsd9, and get a warning: > > Checking for library dl : not found > > Checking for fdatasync(2) with c++ : no > > could someone point me where these libraries are? FreeBSD's libc provides dlopen(), dlclose(), etc-- there's no need for a separate libdl to do dynamic loading. fdatasync(2) is a cheaper version of fsync(2) which does not try to update filesystem metadata; using soft updates with FreeBSD's UFS2 filesystem already provides most of the benefits. So you don't need that either, just call fsync() instead. Regards, -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?133E41CB-0B0E-4249-907B-AEB2CA919DBD>