Page 1 of 1

libidn2 Dilemma

Posted: 14 Jul 2017 04:07
by atipp
In my Slackel openbox-7.0 I just made an upgrade after which I cannot open slapt-get since library libidn2 is missing. :shock:

According to some info in this forum libidn2 can be added later with slapt-get -i libidn2.

Unfortunately slapt-get does not open w/o this library. :twisted:

Where do I get then libidn2?

Re: libidn2 Dilemma

Posted: 14 Jul 2017 05:25
by djemos
libidn2-2.0.2-x86_64-1.txz] for 64bit
libidn2-2.0.2-i586-1.txz for 32 bit
install it with sudo spkg libidn2-2.0.2-x86_64-1.txz for 64 bit
or sudo installpkg libidn2-2.0.2-x86_64-1.txz

Thank you for the report. Because slapt- is already installed it will not pull libidn2 because it was not a dep in previous installed version of slapt-get. So libidn2 has to installed before upgrade slapt-get.
I have change the info in forum.

Re: libidn2 Dilemma

Posted: 14 Jul 2017 08:17
by atipp
Did install the lib.

slapt-get still complains about lack of libunistring.so.0.

Made a symlink and slapt-get opens. :)

Re: libidn2 Dilemma

Posted: 14 Jul 2017 11:44
by djemos
No. Do not link to previous version of libunistring. Please install new libunistring version to not have problems in the future. Also reinstall slapt-get to be sure you have the latest version.
So since slapt-get is working now type.

Code: Select all

sudo slapt-get -u
sudo slapt-get -i --reinstall libunistring
sudo slapt-get -i --reinstall slapt-get

Re: libidn2 Dilemma

Posted: 16 Jul 2017 02:41
by atipp
Just for the record. I did not link to the previous version of libunistring.

I remember very well seeing libunistring being upgraded. Therefore
I had the latest version and @libunistring.so.0 was not there. For which
reason slapt-get would not open until I made the link.

Re: libidn2 Dilemma

Posted: 16 Jul 2017 19:36
by djemos
There is no linunistring.so.0

Code: Select all

ls -l /usr/lib64/libunistring.so*
lrwxrwxrwx 1 root root      21 Ιούλ  8 12:38 /usr/lib64/libunistring.so -> libunistring.so.2.0.0
lrwxrwxrwx 1 root root      21 Ιούλ  8 12:38 /usr/lib64/libunistring.so.2 -> libunistring.so.2.0.0
-rwxr-xr-x 1 root root 1503080 Ιούλ  6 21:57 /usr/lib64/libunistring.so.2.0.0