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

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to