-
Notifications
You must be signed in to change notification settings - Fork 105
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
Compilation Error #42
Comments
Hi, which OS and distribution are you trying to run this on? |
Ubuntu 16.04 LTS |
I moved everything up one directory because for some reason all my php files were stored in /usr/include/php/20151012. But now I am getting the following error: /usr/bin/ld: cannot find -lphp7
collect2: error: ld returned 1 exit status |
Try building with the
|
Ok thanks. |
I'm still getting the ld returned 1 error. |
Is it possible that you haven't installed the right package? You'd need to install |
steps I had to follow to install under ubuntu: on compile I still was getting error. had to change context.go(I took those definitions from php7-debian): -// #cgo CFLAGS: -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM |
In case anyone else runs into this same issue: I am running Ubuntu 16.04 and encountered this same issue when trying to 'go get' the library (
|
I am having this issue when trying to compile my project:
Could this be because I set up the project incorrectly or another reason
The text was updated successfully, but these errors were encountered: