-
Notifications
You must be signed in to change notification settings - Fork 295
Python and/or Openssl broken with the new dynamic-linker hack #129
Comments
Hi, It seems that I found the "root" cause. Indeed, if I revert 0b330bf everything works again. Best, |
That patch 0b330bf removes the need to force link formula that are |
I cannot, linuxbrew say that I must link openssl before beeing able to instal python. Best. |
Try |
Hi, the installation "works" like this but pip is broken:
The thing that I do not understand is that everything seems to work just reverting this patch. Perhaps that the problem is another dependency.... |
@mbsullivan Would you please be able to lend a hand getting Python working again? OpenSSL seems broken. curl also uses openssl. That could be a second test case. |
@sjackman sure, I'll take a look at it again! (Unfortunately, I will only have time after tomorrow evening due to an impending deadline.) |
I just figured it out. Homebrew was mistakenly setting |
My patch is good enough to fix pip, but it's not perfect. Python inc_dirs = self.compiler.include_dirs + ['/usr/include'] It results in warnings like these in the build log
|
I seem to be having a similar (or maybe the same) error. I can't seem to import ssl in python and when i try to use pip i get an error about openssl
|
I've also experienced issues with Python and OpenSSL. I know that I don't have any issues now with a fresh install. My best suggestion for a workaround would be to remove Python and all its dependencies and reinstall it. |
As reported in #107 python/openssl is broken probably because of the dynamiclinker hack. The postinstall step fail to install pip. Python segfault when invoking the openssl library:
I will try to investigate a bit
Jerome
The text was updated successfully, but these errors were encountered: