-
Notifications
You must be signed in to change notification settings - Fork 77
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
openssl/ssl.h needed on osx el-capitan (latest 10.11.3)/postgres 9.5 #94
Comments
Hi, There were two things here. First, the The real problem is on lines 3105 to 3107 of the log file:
The cause seems to be Apple shipping El Capitan without the OpenSSL headers. In that message, suggested resolutions are to build OpenSSL locally, or install it from Homebrew or MacPorts. Also annoying, also not fixable here, it just has to be added to the build requirements in the OS X build docs. I will update that page. I see I saw that you tested many different git branches. That must have been some work. It is probably easiest to test from |
Thanks! This make sense! Yes I did use Homebrew to install postgres. Now when I tried to update the openssl again. The Mac OS give the following message which is very promising: brew install openssl and run This formula is keg-only, which means it was not symlinked into /usr/local. Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries Generally there are no consequences of this for you. If you build your
==> Summary I have checked the pg_config log, LDFLAGS is already there. How do I add |
Strange ... when I look at the |
That might not help anyway ... for now, you may need to edit |
thanks a lot! That made the build successful. Will continue the rest of installation of pljava. |
I know this is a new issue, but I can use some help: After setting pljava.libjvm_location and pljava.classpath (in postgresql.conf), pljava.libjvm_location='/Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/jre/lib/server/libjvm.dylib' I am getting this with the famous Mac popup saying the program can only run the old Java 1.6 runtime. I have no java 1.6 running at all, everything is the latest java 1.8. load 'libpljava-so-1.5.0-BETA1.bundle'; |
Unfortunately no ideas come to mind about that popup. I have no Mac here to test with, and in earlier testing on OS X, the direct naming of the I am not sure whether this means Apple has changed something to make it worse, or something is peculiar about the setup of your Mac. You might supply a screenshot of the exact popup; this issue is hard to search for because the web is full of various partially related threads about Java on OS X and many of them are probably not relevant here, so it will help to be as specific as possible. But please do start a new issue; this isn't about openssl. |
One thought does occur to me. You mentioned at the top of this report that you had built from a whole bunch of different git branches. It may be very helpful if you just erase all of that, make sure none of it is left installed, and do a clean build of exactly the That will not include any of a few changes committed since In general, there are only two ways you would want to obtain and build the source: if you want to live on the bleeding edge and participate in development, then check out the source from |
Please start a new issue, and include the output of
|
Documented in 1.5.0-BETA2. |
Documented in 1.5.0 release. |
Follow the suggestion from issue 63 (tried all branches same issue) - I believe that I could build it with Issue 63 branch with postgres 9.4.5 but unfortunately I upgraded to postgres 9.5 no data for that scenario with postgres 9.4.5.
cd pljava-so
mvn -Dnar.cores=1 -Pwnosign -X clean comple>compiledebuglogs
compiledebugwithpgconfig.zip
The text was updated successfully, but these errors were encountered: