-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error under mac... #255
Comments
hi, |
After upgrade to g++-6, then do
|
Change -soname to -install_name |
After change lineno 179 (makefile) from ${LINKER} ${PHP_LINKER_FLAGS} -Wl,-soname,libphpcpp.so.$(SONAME) -o $@ ${COMMON_SHARED_OBJECTS} ${PHP_SHARED_OBJECTS} To ${LINKER} ${PHP_LINKER_FLAGS} -Wl,-install_name,libphpcpp.so.$(SONAME) -o $@ ${COMMON_SHARED_OBJECTS} ${PHP_SHARED_OBJECTS} Then i got this:
Maybe i shouldn't compile it under mac? |
you need add -undefined dynamic_lookup to LINKER_FLAGS |
@willianszwy Here are the steps for those who want to compile it under mac.
|
Forgot to say thank you, @willianszwy |
mac version 10.10.5
php installed from homebrew:
The text was updated successfully, but these errors were encountered: