-
Notifications
You must be signed in to change notification settings - Fork 52
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
Bundle syso for darwin_64 and linux_64 #7
Comments
👍 |
@DAddYE any help on how to cross-compile and app that uses Vips? I'm running OS X (darwin) and need to compile for linux/amd64. I've tried doing
but get a linker error of
Do you need to maybe add some of the #cgo LDFLAGS directives?
|
any news on this problem? @cpjolicoeur did you manage to solve it? we've the same issue |
Description of the issue: Running a build of my project (uses vips) for linux in a macbook: to build a binary for deploying it into a linux server, I get: If I do a simple build, without specifying the GOOS and GOARCH, leads to a successful build with no errors. The strange thing is that the code builds and runs locally in my machine, but the problem comes when trying to generate the linux bin. |
I know this is not the best thing but will allow two things:
The text was updated successfully, but these errors were encountered: