Closed jakewilliami closed 3 years ago
This is behavior is expected as the package dependency of zlib precompiled files are created for Julia 1.3+ and pre 1.3 builds the deps/build.jl files are used.
Modifying this behavior will make the package unsupported for Julia 1.0 version which is an LTS version for Julia and thus make the package unusable for those users. Removing support for Julia 1.0 and making minimum required version to Julia 1.3 will fix the problem.
The same applies for OpenSSL as well. The warning is typically reported once.
This warning is reported every time I use PDFIO
. I will add the above into the LibCrypto.jl
file. Do you know where this is found? It does not seem to be in ~/.julia/packages/PDFIO/
or ~/.julia/compiled/PDFIO/
.
The above is added to PDFIO already. And only reported when the PDFIO has to be compiled. The packages are stored in the ~/.julia/packages/PDFIO/
The simplest will be ]add OpenSSL_jll
before you call using PDFIO
.
Do I need to Pkg.add("OpenSSL_jll")
before using PDFIO
every time to suppress this warning? Because I have added OpenSSL_jll
but the warning keeps showing up.
There is no functionality loss due to this issue and there is just a mere annoyance. So there is no urgency on fixing this.
@sambitdash why don't you just add Zlib_jll
and OpenSSL_jll
to this project's Project.toml
. JLL packages are safe to install even with Julia 1.0 .. they are a no-op when installing on older versions of Julia. In general, installing packages at runtime is not a great idea.
Ideally, I'd just support Julia 1.3 and above in this package, but of course you may have your reasons to support 1.0 and up.
Thanks @aviks. https://github.com/sambitdash/PDFIO.jl/commit/57e2c068e009c163c119f39b28a22787cd78b85f should fix this now.
I notice #73 adds the library OpenSSL. However, after updating from
v0.1.7
tov0.1.9
, I get this message every time I importPDFIO
:I've never seen this message printed (except for the
precompiling
bit) when usingusing
.