biokoda / actordb

ActorDB distributed SQL database
Mozilla Public License 2.0
1.9k stars 71 forks source link

Won't start on Mac OSX 10.11.6 (El Capitan) #51

Closed bploetz closed 7 years ago

bploetz commented 7 years ago

I downloaded the latest release for Mac OSX (https://dzbscw1ubdtyw.cloudfront.net/actordb-0.10.25-OSX-x86_64.tar.gz) and am getting this error trying to start actordb:

> ./bin/actordb start
!!!!
!!!! WARNING: ulimit -n is 256; 32768 is the recommended minimum.
!!!!
actordb failed to start within 15 seconds,
see the output of 'actordb console' for more information.
If you want to wait longer, set the environment variable
WAIT_FOR_ERLANG to the number of seconds to wait.

> ./bin/actordb console
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
  Referenced from: /Users/bploetz/Downloads/actordb-0.10.25/erts-8.2/bin/beam.smp (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /Users/bploetz/Downloads/actordb-0.10.25/erts-8.2/bin/beam.smp (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib

Error reading  -config /Users/bploetz/Downloads/actordb-0.10.25/bin/../etc/app.config -args_file /Users/bploetz/Downloads/actordb-0.10.25/bin/../etc/vm.args -vm_args /Users/bploetz/Downloads/actordb-0.10.25/bin/../etc/vm.args 

Any ideas?

SergejJurecko commented 7 years ago

Most likely it's because it was built on 10.12. I will check on another machine tomorrow.

SergejJurecko commented 7 years ago

Try downloading again for OSX. It was rebuilt on 10.11

bploetz commented 7 years ago

That seems to have fixed it.