Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: hiro on November 26, 2017, 04:01:56 AM

Title: qemu needs other libgcrypt
Post by: hiro on November 26, 2017, 04:01:56 AM
$ qemu-system-x86_64
qemu-system-x86_64: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory

on tc8
Title: Re: qemu needs other libgcrypt
Post by: Juanito on November 28, 2017, 02:22:47 AM
I guess this happened because libgcrypt is missing from the qemu-x86 dep file

Do things work with libgcrypt from the Core-5.x repo?
Title: Re: qemu needs other libgcrypt
Post by: Rich on November 28, 2017, 06:37:49 AM
Hi hiro
The 8.x repo has the older version also, it's called  libgcrypt1.tcz.
Title: Re: qemu needs other libgcrypt
Post by: hiro on December 08, 2017, 08:35:45 AM
I always just manually ln the .20 one, but then i never use any feature in qemu that would actually require gcrypt, so i don't know if it would work.

I have this problem also on tc6, there is no libgcrypt1.tcz there.

btw, i didn't get any mail notifications for some while on this forum!
Title: Re: qemu needs other libgcrypt
Post by: Rich on December 08, 2017, 09:38:01 AM
Hi hiro
I have this problem also on tc6, there is no libgcrypt1.tcz there.
TC6 has the older version, 1.5.0 which is called libgcrypt.tcz
TC8 has the older version, 1.5.0 which is called libgcrypt1.tcz
TC8 has a newer version, 1.7.6 which is called libgcrypt.tcz

Quote
btw, i didn't get any mail notifications for some while on this forum!
Another forum member recently mentioned they were not getting Email notifications either, I think it was remus. One of the
administrators would need to see why that's so.
Title: Re: qemu needs other libgcrypt
Post by: neonix on May 20, 2018, 08:53:02 PM
I have the same problem on TC 9.x (32-bit)

$ qemu-system-i386
/usr/local/bin/qemu-system-i386: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory

After instaling libgcrypt.tcz I have to create symlink to
/usr/local/lib/libgcrypt.so.20.0.5
and then it works.
Title: Re: qemu needs other libgcrypt
Post by: neonix on December 15, 2018, 10:57:56 PM
In TC9 (x86) there's missing dependency for:
qemu-common.tcz require libgcrypt.so.11 exacly in /usr/lib/
qemu-x86.tcz require libgcrypt.so.11 in /usr/lib/ or /usr/local/lib
 
Could someone fix this simple problem?
Title: Re: qemu needs other libgcrypt
Post by: Juanito on December 15, 2018, 11:35:07 PM
That version of the libgcrypt extension dates back to tc-5.x.

Rather than copy an old version of libgcrypt into the tc-9.x repo, it would be better to update the qemu extension(s).

Would you be willing to take over as the x86 qemu maintainer? It would be much appreciated.
Title: Re: qemu needs other libgcrypt
Post by: Juanito on December 22, 2018, 05:53:16 AM
updated qemu posted
Title: Re: qemu needs other libgcrypt
Post by: neonix on December 23, 2018, 05:11:57 AM
Great Juanito. You done this better than I would do. Too bad that I still have to type "qemu-system-i386" instead just "qemu".
Title: Re: qemu needs other libgcrypt
Post by: Rich on December 23, 2018, 07:18:09 AM
Hi neonix
That's so it's obvious which processor is being emulated. That extension also contains  qemu-system-x86_64.  If you install
qemu_arm.tcz  you'll have  qemu-system-arm  in addition to those 2 since  qemu.tcz  is a dependency of  qemu_arm.tcz.
If you want to start it as  qemu  then create a link for that:
Code: [Select]
ln -sf /usr/local/bin/qemu-system-i386 ~/.local/bin/qemu