WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: qemu needs other libgcrypt  (Read 3688 times)

Offline hiro

  • Hero Member
  • *****
  • Posts: 1217
qemu needs other libgcrypt
« 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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: qemu needs other libgcrypt
« Reply #1 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?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: qemu needs other libgcrypt
« Reply #2 on: November 28, 2017, 06:37:49 AM »
Hi hiro
The 8.x repo has the older version also, it's called  libgcrypt1.tcz.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1217
Re: qemu needs other libgcrypt
« Reply #3 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!

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: qemu needs other libgcrypt
« Reply #4 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.

Offline neonix

  • Sr. Member
  • ****
  • Posts: 302
Re: qemu needs other libgcrypt
« Reply #5 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.

Offline neonix

  • Sr. Member
  • ****
  • Posts: 302
Re: qemu needs other libgcrypt
« Reply #6 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?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: qemu needs other libgcrypt
« Reply #7 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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: qemu needs other libgcrypt
« Reply #8 on: December 22, 2018, 05:53:16 AM »
updated qemu posted

Offline neonix

  • Sr. Member
  • ****
  • Posts: 302
Re: qemu needs other libgcrypt
« Reply #9 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".

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: qemu needs other libgcrypt
« Reply #10 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