dl library and fdatasync(2)

2012-02-24 Thread Norman Khine
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?

thanks norman

-- 
% .join( [ {'*':'@','^':'.'}.get(c,None) or
chr(97+(ord(c)-83)%26) for c in ,adym,*)uzq^zqf ] )
___
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


Re: dl library and fdatasync(2)

2012-02-24 Thread Chuck Swiger
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