[tex-live] TeXLive 2016 asymptote on archlinux
Ken Moffat
zarniwhoop at ntlworld.com
Tue Jan 17 20:05:03 CET 2017
On Tue, Jan 17, 2017 at 08:06:12AM -0700, Nelson H. F. Beebe wrote:
> Christophe Jorssen <christophe.jorssen at gmail.com> reports about his
> new ArchLinux laptop:
>
> >> asy: error while loading shared libraries: libreadline.so.5: cannot open
>
> You can find many alternative bin distributions for TeX Live 2016 at
>
> http://www.math.utah.edu/pub/texlive-utah/
>
> The x86_64-linux-arch version of asy refers to libreadline.so.6, so I
> checked all of the other x86_64-linux*/asy files, and found that they
> need either libreadline.so.5 or libreadline.so.6.
>
> ArchLinux uses a bleeding-edge rolling release model (as does Debian
> unstable/testing, Fedora Rawhide, OpenSUSE Tumbleweed, TrueOS, and
> Ubuntu RR), and regrettably, the distributors fail to understand that
> once released, shared library versions need to be preserved, and not
> deleted, because user code may be linked against them.
>
> As a temporary fix, I suggest doing this on your system:
>
> sudo ln -s libreadline.so.7 /usr/lib/libreadline.so.6
>
> That allows asy on my ArchLinux system to at least respond to
> --version. I've had to do similar things for -lreadline in the past
> for other packages, so I suspect you'll then be just fine.
In BLFS (beyond linuxfromscratch) we give instrutions to install the
old 5.2 for those using binary texlive.
http://www.linuxfromscratch.org/blfs/view/svn/pst/tl-installer.html
configure ; make ;
as root -
install -v -m755 shlib/libreadline.so.5.2 /usr/lib ;
ln -sv /usr/lib/libreadline.so.5{.2,}
(except that I didn't spell out the details, I just wrote that it
should be manually copied and symlinked).
That link is for the development sysv book, but the page should be
the same in our systemd development version (and in our 7.10
releases, unless there were any typos I've forgotten about).
ĸen
--
`I shall take my mountains', said Lu-Tze. `The climate will be good
for them.' -- Small Gods
More information about the tex-live
mailing list