Compile problems osx Yosemite


#1

I’m experiencing the following problems while compiling the client on the new Apple os:

4 warnings generated.
duplicate symbol _aerospike_globals in:
.libs/aerospike.o
.libs/aerospike_helper.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [aerospike.la] Error 1


#2

Hi Daniel,

Yes, I can confirm that’s the case. It’s a problem with the linker that seems particular to OS X. We’re in progress with a fix, and in the meanwhile you can check how it works on a Linux virtual machine (vagrant-managed or directly on VirtualBox or VMWare).

Sorry about the inconvenience.

Ronen


#3

Hi again,

The latest release (3.3.0) should have fixed the compilation problem for OS X. Can you try it?

https://github.com/aerospike/aerospike-client-php/releases/tag/3.3.0

Thanks, Ronen


#4

Thanks a lot Ronen, works perfectly now