LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-25-2019, 10:41 PM   #1
ernie young
Member
 
Registered: Feb 2016
Distribution: Slackware -current x64 Multilib
Posts: 101

Rep: Reputation: Disabled
libvirt error: libidn.so.11 (caused by upgrading to Current64)


Hi Slackware community,

I recently upgraded from Slackware stable 14.2 x64 to Current64. I have been able to get the programs up and running as I use them, however with KVM, I was able to install libvirt but having issues with virt-manager. I get the following error:

Error starting Virtual Machine Manager: g-invoke-error-quark: Could not locate gvir_init: libidn.so.11: cannot open shared object file: No such file or directory (1)

Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager", line 291, in <module>
main()
File "/usr/share/virt-manager/virt-manager", line 272, in main
LibvirtGLib.init(None)
Error: g-invoke-error-quark: Could not locate gvir_init: libidn.so.11: cannot open shared object file: No such file or directory (1)

I have /usr/lib64/libidn.so.12
This has been happening with a couple of other applications but got them fixed. I found a solution (http://tiny.cc/3c5pbz)but I am not sure if this is the best solution.

To prevent this in the future, how do I go about upgrading the libraries correctly? Please feel free to impart other useful advice.

Thank you in advance for any help provided and the patience.
 
Old 08-25-2019, 11:16 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
did you run this command?
Code:
slackpkg install-new
 
Old 08-26-2019, 08:45 AM   #3
ernie young
Member
 
Registered: Feb 2016
Distribution: Slackware -current x64 Multilib
Posts: 101

Original Poster
Rep: Reputation: Disabled
I did. I later realized that I was to run the command before
Code:
slackpkg upgrade-all
because I ran it afterward.
 
Old 08-26-2019, 08:59 AM   #4
ernie young
Member
 
Registered: Feb 2016
Distribution: Slackware -current x64 Multilib
Posts: 101

Original Poster
Rep: Reputation: Disabled
Should I run it again, just in case? I have tried some commands like
Code:
upgradepkg --install-new --reinstall *.txz
where I did not run
Code:
slackpkg install-new
 
Old 08-26-2019, 09:06 AM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by ernie young View Post
This has been happening with a couple of other applications but got them fixed. I found a solution (http://tiny.cc/3c5pbz)but I am not sure if this is the best solution.
no, creating random symlink is not a solution and it will surely break things in the long run.

Quote:
To prevent this in the future, how do I go about upgrading the libraries correctly? Please feel free to impart other useful advice.
if you upgrade from 14.2 to current (and often also after applying some current updates) you better rebuild your third party packages that link to libraries not on your system anymore: if you don't know how to find what libraries links to whatever else, you can in alternative rebuild all of your third party packages.
also, don't do this on the same machine that you have upgraded: create a slackware current full installation in a virtual machine and build your packages there, then move them where you need them.

Last edited by ponce; 08-26-2019 at 09:09 AM.
 
2 members found this post helpful.
Old 08-26-2019, 07:58 PM   #6
ernie young
Member
 
Registered: Feb 2016
Distribution: Slackware -current x64 Multilib
Posts: 101

Original Poster
Rep: Reputation: Disabled
Since I am trying to get my virtual machine up, I was rebuilding the virt-manager package from Ponce's Current sbopkg, however I see your point very clear with this infinite loop:
Quote:
Vte-2.91.gir:5384.1-5384.0: error: unexpected end of file
Vte-2.91.gir:5384.1-5384.0: warning: expected end element of `type'
Vte-2.91.gir:5384.1-5384.0: error: unexpected end of file
Vte-2.91.gir:5384.1-5384.0: warning: expected end element of `type'
Vte-2.91.gir:5384.1-5384.0: error: unexpected end of file
Vte-2.91.gir:5384.1-5384.0: warning: expected end element of `type'
Vte-2.91.gir:5384.1-5384.0: error: unexpected end of file
Vte-2.91.gir:5384.1-5384.0: warning: expected end element of `type'
Vte-2.91.gir:5384.1-5384.0: error: unexpected end of file
Vte-2.91.gir:5384.1-5384.0: warning: expected end element of `type'
Vte-2.91.gir:5384.1-5384.0: error: unexpected end of file
I tried rebuilding virt-manager by running sbopkg and reinstalling all the dependencies of virt-manager by creating sqg. The results above are from vte3. Does someone know what I am doing wrong?
 
Old 08-26-2019, 08:28 PM   #7
Poprocks
Member
 
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 522

Rep: Reputation: 279Reputation: 279Reputation: 279
No idea, as this appears to be some kind of vala-related issue which I have very limited knowledge of.

I have read some reports online of people fixing similar errors by uninstalling dependencies and rebuilding, and installing each rebuilt dependency one by one, like a link in the chain.

Best of luck...
 
Old 08-27-2019, 12:01 AM   #8
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by ernie young View Post
Since I am trying to get my virtual machine up, I was rebuilding the virt-manager package from Ponce's Current sbopkg, however I see your point very clear with this infinite loop:

I tried rebuilding virt-manager by running sbopkg and reinstalling all the dependencies of virt-manager by creating sqg. The results above are from vte3. Does someone know what I am doing wrong?
there should be no vte3 package in slackware current (is called just "vte" there and is provided by Slackware, while vte in 14.2 has been moved to the unofficial repositoy for current and it's called "vte2"): most probably when you upgraded you haven't issued the command
Code:
slackpkg clean-system
that should have taken care to uninstall whatever has been removed from current.
be aware that then you will run it, it will also try to remove any third party package you have installed, but that could not be necessarily a bad thing as you could create a list of what it is removing and rebuild the third party stuff later... you are in charge of handling this, deselecting from slackpkg's dialog interface what you prefer too keep.

also, if you have vte3 in a sqg queue, most probably sqg and/or sbopkg point to the wrong repository (14.2 and not current).

to fix that see here for sbopkg and edit the pointers to repository directly the sqg script in a similar way (you can find it with the command "which sqg").

Last edited by ponce; 08-27-2019 at 01:34 AM.
 
1 members found this post helpful.
Old 08-27-2019, 08:01 PM   #9
ernie young
Member
 
Registered: Feb 2016
Distribution: Slackware -current x64 Multilib
Posts: 101

Original Poster
Rep: Reputation: Disabled
Thank you for the help provided willysr, Rockpops, and ponce.

Concerning
Code:
slackpkg clean-system
when I run it, only SBo-git packages appear and are the ones I got working before virt-manager, should I still run it?

I checked /etc/sbopkg/sbopkg.conf and the file was reset. I updated the .conf file but the sqf still generates the Stable packages even though I deleted the previous queue. I say this because the vte3 dependency is there. I have uploaded the file.

I have deleted
Code:
rm -fR /var/lib/sbopkg/SBo-git
and have run
Code:
sbopkg -r
but no luck.
Attached Files
File Type: txt virt-manager.txt (296 Bytes, 5 views)
 
Old 08-27-2019, 08:27 PM   #10
ernie young
Member
 
Registered: Feb 2016
Distribution: Slackware -current x64 Multilib
Posts: 101

Original Poster
Rep: Reputation: Disabled
I ran this command from this thread http://tiny.cc/wbbubz:
Code:
rm -rf /var/lib/sbopkg/*
and removed the queues, 14.2, and SBo-git folders. But now I am getting this
Quote:
ERROR: /var/lib/sbopkg/queues or /var/lib/sbopkg/SBo/14.2 do not exist or are not writable.
Check the configurable variables at the top of the script.
when I run:
Code:
sqg -p virt-manager
 
Old 08-28-2019, 12:18 AM   #11
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
you delete the whole SBo repository used by sbopkg, so it's normal that you receive the error message
try running sbopkg -r again to re-download the whole repository.
 
1 members found this post helpful.
Old 08-28-2019, 07:23 PM   #12
ernie young
Member
 
Registered: Feb 2016
Distribution: Slackware -current x64 Multilib
Posts: 101

Original Poster
Rep: Reputation: Disabled
Quote:
you delete the whole SBo repository used by sbopkg, so it's normal that you receive the error message
try running sbopkg -r again to re-download the whole repository.
I ran the command prior to my previous post and again after the suggestion but I still get the error. The folders in /var/lib/sbopkg are "queues" & "SBo-git".
This is the output after running the command:
Quote:
bopkg -r
Syncing with the remote repository into /var/lib/sbopkg/SBo-git.
From git://github.com/Ponce/slackbuilds
* branch current -> FETCH_HEAD
Already up to date.
HEAD is now at e153103edc 20190824.2 global branch merge.

Repository update complete.
 
Old 08-31-2019, 09:34 PM   #13
ernie young
Member
 
Registered: Feb 2016
Distribution: Slackware -current x64 Multilib
Posts: 101

Original Poster
Rep: Reputation: Disabled
These past few days have been busy but I was finally able to look into this again and I found the solution in this thread, Ponce's answer: https://www.linuxquestions.org/quest...po-4175639249/
I am going to see if virt-manager installs like it should, wish me luck.
 
Old 09-01-2019, 11:39 PM   #14
ernie young
Member
 
Registered: Feb 2016
Distribution: Slackware -current x64 Multilib
Posts: 101

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Poprocks View Post
I have read some reports online of people fixing similar errors by uninstalling dependencies and rebuilding, and installing each rebuilt dependency one by one, like a link in the chain.
I have the following example,
Code:
slackpkg search pyparsing

Looking for pyparsing in package list. Please wait... DONE

The list below shows all packages with name matching "pyparsing".

[ Status           ] [ Repository               ] [ Package                                  ]
  upgrade                  slackware64                  pyparsing-2.3.1-x86_64-1_SBo --> pyparsing-2.4.0-x86_64-1
Is there something to update all the packages that have an upgrade available collectively instead of one by one? I ran
Code:
slackpkg update  

slackpkg install-new  

slackpkg upgrade-all
but an update like the one in the example was not picked up. So I ran
Code:
slackpkg download pyparsing-2.4.0-x86_64-1

upgradepkg --install-new --reinstall pyparsing-2.4.0-x86_64-1
I ask because I am sure there's an efficient way but I don't know how to do it.
 
Old 09-02-2019, 09:07 AM   #15
ernie young
Member
 
Registered: Feb 2016
Distribution: Slackware -current x64 Multilib
Posts: 101

Original Poster
Rep: Reputation: Disabled
libvirt: libgcrypt.la no such file

In installing every package individually to install virt-manager, I have arrived to installing the libvirt package which is giving me the following output:
Quote:
/usr/bin/grep: /usr/lib64/libgcrypt.la: No such file or directory
/usr/bin/sed: can't read /usr/lib64/libgcrypt.la: No such file or directory
libtool: error: '/usr/lib64/libgcrypt.la' is not a valid libtool archive
make[3]: *** [Makefile:8313: libvirt_storage_backend_iscsi-direct.la] Error 1
make[3]: Leaving directory '/tmp/SBo/libvirt-5.6.0/src'
make[2]: *** [Makefile:7086: all] Error 2
make[2]: Leaving directory '/tmp/SBo/libvirt-5.6.0/src'
make[1]: *** [Makefile:2129: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/libvirt-5.6.0'
make: *** [Makefile:2022: all] Error 2
Has someone faced something like this before?
Btw, happy Labor Day!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Citrix Receiver problems due to missing libidn.so.11 in -current of 2018-06-21 gargamel Slackware 4 12-13-2018 05:47 AM
Strange SSA e-mail for libidn (Thu Jul 28 18:17:17 UTC 2016) atelszewski Slackware 6 07-29-2016 03:24 PM
tar-command not found while compiling glibc-libidn-2.7.tar.bz2 of lfs6.3 aditya_gpch Linux From Scratch 1 05-13-2008 11:27 PM
standalone libidn vs. glibc libidn plugin: mutually exclusive or able to coexist? HowDoIProgramIt Linux From Scratch 0 08-30-2007 11:57 AM
libidn.so missing kamransoomro84 Slackware 3 09-03-2005 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration