all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* lualatex doesn't find libzzip-0.so.13 (easy bug?)
@ 2021-03-27 19:22 Sergiu Ivanov
  2021-03-28 10:29 ` bug#47448: " Andreas Enge
  0 siblings, 1 reply; 5+ messages in thread
From: Sergiu Ivanov @ 2021-03-27 19:22 UTC (permalink / raw)
  To: Help-Guix

Hello,

I have trouble running lualatex from the TeX Live distribution (package
texlive) :

$ lualatex
/home/scolobb/.guix-profile/bin/lualatex: error while loading shared libraries: libzzip-0.so.13: cannot open shared object file: No such file or directory

I installed the zziplib package which brings in libzzip.so.13, but not
libzzip-0.so.13.

pdflatex and xelatex run without any issues.

I suppose this should be as simple to fix as updating the reference to
the libzzip file in the definitions of texlive, but after a quick look
I can't see a direct reference to the file libzzip-0.so.13 in tex.scm.

I'll take more time to look into this issue soon, but maybe some people
with greater experience with Guix could fix it in no time, way before
I will be able to :-)

-
Sergiu


^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#47448: lualatex doesn't find libzzip-0.so.13 (easy bug?)
  2021-03-27 19:22 lualatex doesn't find libzzip-0.so.13 (easy bug?) Sergiu Ivanov
@ 2021-03-28 10:29 ` Andreas Enge
  2021-03-28 14:31   ` Sergiu Ivanov
  2021-03-30  8:06   ` Efraim Flashner
  0 siblings, 2 replies; 5+ messages in thread
From: Andreas Enge @ 2021-03-28 10:29 UTC (permalink / raw)
  To: Sergiu Ivanov; +Cc: 47448

Hello Sergiu,

Am Sat, Mar 27, 2021 at 08:22:30PM +0100 schrieb Sergiu Ivanov:
> I have trouble running lualatex from the TeX Live distribution (package
> texlive) :
> $ lualatex
> /home/scolobb/.guix-profile/bin/lualatex: error while loading shared libraries: libzzip-0.so.13: cannot open shared object file: No such file or directory

I confirm the bug, and am forwarding it to the bugtracker.
lualatex is a wrapped binary, and the following shows the problem:
$ ldd $(guix build texlive-bin)/bin/luatex
...
	libzzip-0.so.13 => not found

> I installed the zziplib package which brings in libzzip.so.13, but not
> libzzip-0.so.13.

Indeed this seems to be the problem, and I suspect it is happening in the
zziplib package. Its version is 0.13.72, but the soname versions are
13.0.72, which already suggests that there is some confusion happening.
Regardless, part of the version number should not appear before the "so"
in libzzip-0.so.13.

Hm, the following looks correct, issued from a profile containing zziplib:
$ pkg-config --libs zziplib
-L/gnu/store/fx0cdzzppd8jc09sianbq6gl1h7mxx3x-zziplib-0.13.72/lib -L/gnu/store/rykm237xkmq7rl1p0nwass01p090p88x-zlib-1.2.11/lib -lzzip -lz

So it might be a problem with texlive-bin instead.

Andreas





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#47448: lualatex doesn't find libzzip-0.so.13 (easy bug?)
  2021-03-28 10:29 ` bug#47448: " Andreas Enge
@ 2021-03-28 14:31   ` Sergiu Ivanov
  2021-03-30  8:06   ` Efraim Flashner
  1 sibling, 0 replies; 5+ messages in thread
From: Sergiu Ivanov @ 2021-03-28 14:31 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 47448

Hello Andreas,

Thus quoth  Andreas Enge  on Sun Mar 28 2021 at 12:29 (+0200):
> Hello Sergiu,
>
> Am Sat, Mar 27, 2021 at 08:22:30PM +0100 schrieb Sergiu Ivanov:
>> I have trouble running lualatex from the TeX Live distribution (package
>> texlive) :
>> $ lualatex
>> /home/scolobb/.guix-profile/bin/lualatex: error while loading shared libraries: libzzip-0.so.13: cannot open shared object file: No such file or directory
>
> I confirm the bug, and am forwarding it to the bugtracker.

Thank you!

> lualatex is a wrapped binary, and the following shows the problem:
> $ ldd $(guix build texlive-bin)/bin/luatex
> ...
> 	libzzip-0.so.13 => not found
>
>> I installed the zziplib package which brings in libzzip.so.13, but not
>> libzzip-0.so.13.
>
> Indeed this seems to be the problem, and I suspect it is happening in the
> zziplib package. Its version is 0.13.72, but the soname versions are
> 13.0.72, which already suggests that there is some
> confusion happening.

Ah, I didn't even think to check the zziplib package.

> Regardless, part of the version number should not appear before the "so"
> in libzzip-0.so.13.

Yeah, that looks weird indeed.

> Hm, the following looks correct, issued from a profile containing zziplib:
> $ pkg-config --libs zziplib
> -L/gnu/store/fx0cdzzppd8jc09sianbq6gl1h7mxx3x-zziplib-0.13.72/lib -L/gnu/store/rykm237xkmq7rl1p0nwass01p090p88x-zlib-1.2.11/lib -lzzip -lz
>
> So it might be a problem with texlive-bin instead.

Oh, thank you for these ideas!

TeX Live packages kind of scare me a little, because they tend to be
complex (at least from my modest Nix experience).  I do plan to do some
small contributions to Guix packages soon, which should get me started
with the workflow, and help me fix such issues directly in the future.

-
Sergiu




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#47448: lualatex doesn't find libzzip-0.so.13 (easy bug?)
  2021-03-28 10:29 ` bug#47448: " Andreas Enge
  2021-03-28 14:31   ` Sergiu Ivanov
@ 2021-03-30  8:06   ` Efraim Flashner
  2021-03-30 12:09     ` Sergiu Ivanov
  1 sibling, 1 reply; 5+ messages in thread
From: Efraim Flashner @ 2021-03-30  8:06 UTC (permalink / raw)
  To: Andreas Enge; +Cc: Sergiu Ivanov, 47448-done

[-- Attachment #1: Type: text/plain, Size: 278 bytes --]

Bug fixed with commit 9098745b181b3022587a35afd255f7ff1d41ac86.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#47448: lualatex doesn't find libzzip-0.so.13 (easy bug?)
  2021-03-30  8:06   ` Efraim Flashner
@ 2021-03-30 12:09     ` Sergiu Ivanov
  0 siblings, 0 replies; 5+ messages in thread
From: Sergiu Ivanov @ 2021-03-30 12:09 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 47448-done

Perfect, works like a charm!

Thanks a lot!

-
Sergiu


Thus quoth  Efraim Flashner  on Tue Mar 30 2021 at 10:06 (+0200):
> Bug fixed with commit 9098745b181b3022587a35afd255f7ff1d41ac86.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-30 14:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-27 19:22 lualatex doesn't find libzzip-0.so.13 (easy bug?) Sergiu Ivanov
2021-03-28 10:29 ` bug#47448: " Andreas Enge
2021-03-28 14:31   ` Sergiu Ivanov
2021-03-30  8:06   ` Efraim Flashner
2021-03-30 12:09     ` Sergiu Ivanov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.