GithubHelp home page GithubHelp logo

Comments (8)

sambitdash avatar sambitdash commented on June 21, 2024 1

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.

@static if Base.VERSION > v"1.3-" && !(Sys.iswindows() && Sys.WORD_SIZE == 32)

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.

from pdfio.jl.

sambitdash avatar sambitdash commented on June 21, 2024 1

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/ folder. But for editing the package you will need to checkout the PDFIO in the dev mode. Please look into package management of Julia to understand those.

The simplest will be ]add OpenSSL_jll before you call using PDFIO.

from pdfio.jl.

sambitdash avatar sambitdash commented on June 21, 2024 1

There is no functionality loss due to this issue and there is just a mere annoyance. So there is no urgency on fixing this.

from pdfio.jl.

sambitdash avatar sambitdash commented on June 21, 2024 1

Thanks @aviks. 57e2c06 should fix this now.

from pdfio.jl.

sambitdash avatar sambitdash commented on June 21, 2024

The same applies for OpenSSL as well. The warning is typically reported once.

@static if Base.VERSION > v"1.3-" && !(Sys.iswindows() && Sys.WORD_SIZE == 32)

from pdfio.jl.

jakewilliami avatar jakewilliami commented on June 21, 2024

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/.

from pdfio.jl.

jakewilliami avatar jakewilliami commented on June 21, 2024

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.

from pdfio.jl.

aviks avatar aviks commented on June 21, 2024

@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.

from pdfio.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.