Skip to content
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

update tectonic_jll to 0.15.0 #8487

Open
fkastner opened this issue Apr 16, 2024 · 5 comments
Open

update tectonic_jll to 0.15.0 #8487

fkastner opened this issue Apr 16, 2024 · 5 comments

Comments

@fkastner
Copy link

There's a new version of tectonic that in particular links to OpenSSL 3.x. This fixes a problem on newer Linuxes where libssl.so.1.1 could not be found.

I have no experience with BinaryBuilder, but the last PR (#7087) makes it seem like I only have to update the version number in that script. Is that all that is needed?

@giordano
Copy link
Member

This fixes a problem on newer Linuxes where libssl.so.1.1 could not be found.

Can you please elaborate on what this means?

it seem like I only have to update the version number in that script. Is that all that is needed?

Well, no, you also have to update the source, which I just realised was completely missed in that PR (and I didn't spot it).

@fkastner
Copy link
Author

I get

error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

and seeing tectonic#1025 as well as this stackoverflow question I thought this has something to do with OpenSSL. But I could also be completely wrong.

@giordano
Copy link
Member

I get

You don't explain what you're doing, what commands your trying to run.

@fkastner
Copy link
Author

Ok, so actually I was investigating a problem with the Franklin.jl demos page (Franklin.jl#1077).
When I try to "compile" (optimize(minify=false, prerender=false)) that page I get the above error:

→ evaluating code [_ceval_5] in (index.md)
/home/kastner/.julia/artifacts/ddbf999b089a7d8b8aadf1b24722b7e9ade6e5b7/bin/tectonic: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

So I assumed that this must be a tectonic problem, found the GH discussion linked above and figured updating tectonic would fix it.

Now that I tried to create a MWE, actually there is no error.
Tectonic is used here through TikzPictures.jl and the following works for me without error:

#] add TikzPictures
using TikzPictures
tikzUseTectonic(true)
tp = TikzPicture("\\draw (0,0) -- (10,10);\n\\draw (10,0) -- (0,10);\n\\node at (5,5) {tikz \$\\sqrt{\\pi}\$};", options="scale=0.25", preamble="")
save(SVG("test.svg"),tp)

Unfortunately, I don't have time right now to investigate this further.

@giordano
Copy link
Member

giordano commented Apr 16, 2024

My first reaction when seeing the issue is that someone, either you or the package you're using, didn't read https://docs.binarybuilder.org/stable/jll/#ExecutableProduct

julia> using tectonic_jll

julia> run(`$(tectonic()) --version`);
Tectonic 0.13.1

(tmp) pkg> st -m tectonic_jll OpenSSL_jll
Status `/tmp/Manifest.toml`
⌅ [458c3c95] OpenSSL_jll v1.1.23+0
⌃ [d7dd28d6] tectonic_jll v0.13.1+0
Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m`

I'd look into that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants