-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Symbol not found: _getentropy #7532
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
Comments
I think you need to direct your ire at XCode, which is used to build Python3. We just use it's output! What Mac OS version are you using? No other Mac users have reported this issue, so it seems like something special in your config, likely related to the OS version, some libs you might have/not have, or maybe something path related. You can remove the python3 executable installed in the tools dir and make a symlink to your system's native Python3 interpreter, in a pinch, to get going. |
I am running OSX 10.11.6. My ire would have been directed at Apple, were it not for the fact that your core went from "working" to "broken" without any other changes to my system, simply by updating it to the latest version.
Seems that error is thrown simply by running the python executable you have bundled. Strikes me that the problem here lies entirely with the version of python you have bundled with your core. If my version of python works, and yours does not, how is this "a problem with my os", "a problem with xcode" or "a problem with my path"? This is your python! EDIT: It occurs to me, upon re-reading your response, that you may in fact be compiling python on my system. Leaving aside for the moment why you would even do that, given that python already exists on my machine.....if xcode failed to build python, it would not produce an executable. The executable clearly exists, therefore it seems far more likely that the error is due to some kind of assumption on your part - either in the source code, or when initiating the compilation. Garbage in, garbage out. |
Single warning: I will ask you to please contain your frustration and mind your phrasing. The build on Mac is currently covered by CI. In addition, no other user has reported a build problem. |
I can confirm that the latest versions of ESP8266 for Arduino aren't working for the 4 year old version of MacOS referenced. With a little experimentation we've found 2.5.2 still works with MacOS 10.11.6. Our real answer is to upgrade to as new-a-MacOS as the machine in question can support. |
"Your OS is four years old, therefore it's your problem" is not a valid stance. Only three versions of Windows, for example, have been published in the last 20 years. Plus, older Macs won't run the newer OSs, for no good reason other than "Apple like money". It is not my job to ensure that my system works with your software. It is your job to ensure that your software works with as many operating systems as possible. Your core used to work on 10.11.6 without issues. It's only recently that it's been broken. The solution is not for me to make radical changes to my computer. The solution is for you to figure out what you did to break it, and then unbreak it. |
Nope! Nobody here is getting paid. It is certainly not our job to maintain your build environment. I will repeat: this is a community driven development.
Also nope! None of the current maintainers use Mac. We support Mac in a best-effort basis, similar to how PIO is covered, e. g. we have building on Mac covered by CI, but that's it. Anything beyond that must come from the community, including more CI jobs to improve coverage. |
When attempting to compile any sketch against the ESP8266 core version 2.7.4 on a Mac, I get this error:
What the hell is going on?
Are you, by any chance, making assumptions about my system libraries without actually checking?
FYI, it worked without issue on version 2.3.0 of the core.
The text was updated successfully, but these errors were encountered: