[Pdns-users] PowerDNS on Mac OS X 10.3.6

Michel Stol michel at powerdns.com
Wed Nov 10 15:22:22 UTC 2004

> I was able to complete the compile, but had errors upon testing it ...
> /usr/local/sbin/pdns_server monitor
> Nov 10 06:32:16 Cannot create semaphore: Function not implemented
> Rob Casey raised this same issue here:
> http://mailman.powerdns.com/pipermail/pdns-users/2004-May/001560.html
> ... But in browsing the list archives, it doesn't appear that it was ever
> addressed.
> What's the workaround for this? I know pdns is popular on Linux  
> platforms,
> but a whole world awaits in the growing crowd of Mac OS X sysadmins.
> Would love to get pdns working if possible.
> Thanks,
> Clay

It seems that POSIX semaphores aren't implemented on MacOS X, a workaround
might be to write your own semaphore wrapper class for MacOS X that uses
native semaphore support (if available). Or you could use a mutex in
combination with an integer to emulate a semaphore.


- Michel Stol


More information about the Pdns-users mailing list