Skip to content
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 errors when building from Windows OS with GOOS=linux #162

Open
smdonsos opened this issue Sep 20, 2021 · 2 comments
Open

Compile errors when building from Windows OS with GOOS=linux #162

smdonsos opened this issue Sep 20, 2021 · 2 comments

Comments

@smdonsos
Copy link

Hi,

I'm getting an error while trying to build a binary for Linux from a Windows OS:

image

Hope you can give me some pointers, thank you!

@alexbrainman
Copy link
Owner

'm getting an error while trying to build a binary for Linux from a Windows OS:

This looks normal. The github.com/alexbrainman/odbc packages uses cgo on Linux. So the build process expects to find appropriate C files.

Alex

@smdonsos
Copy link
Author

I've also tried to compile frorm cygwin with mingw64 libraries installed on my machine:
image

Both gcc and g++ libraries present:
image

Does this module require any specific C compiler? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants