* [gentoo-user] guvcview update produces an executable with missing lib... @ 2016-08-29 16:29 Meino.Cramer 2016-08-29 18:11 ` waltdnes 0 siblings, 1 reply; 7+ messages in thread From: Meino.Cramer @ 2016-08-29 16:29 UTC (permalink / raw To: Gentoo Hi, after updateing my system, beside others guvcview was updated: from qlop Mon Aug 29 17:44:08 2016 >>> media-video/guvcview-2.0.4 After ldconfig as root and rehash (zsh) as user I got: /home/user>guvcview guvcview: error while loading shared libraries: libgviewv4l2core-1.0.so.1: cannot open shared object file: No such file or directory [1] 23848 exit 127 guvcview ...hmmmm. What did I wrong? Best regards, mcc ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] guvcview update produces an executable with missing lib... 2016-08-29 16:29 [gentoo-user] guvcview update produces an executable with missing lib Meino.Cramer @ 2016-08-29 18:11 ` waltdnes 2016-08-29 19:05 ` Daniel Frey 0 siblings, 1 reply; 7+ messages in thread From: waltdnes @ 2016-08-29 18:11 UTC (permalink / raw To: gentoo-user On Mon, Aug 29, 2016 at 06:29:50PM +0200, Meino.Cramer@gmx.de wrote > Hi, > > after updateing my system, beside others guvcview was updated: > > from qlop > Mon Aug 29 17:44:08 2016 >>> media-video/guvcview-2.0.4 > > After ldconfig as root and rehash (zsh) as user I got: > > /home/user>guvcview > guvcview: error while loading shared libraries: libgviewv4l2core-1.0.so.1: cannot open shared object file: No such file or directory > [1] 23848 exit 127 guvcview > > > ...hmmmm. > > What did I wrong? > > Best regards, > mcc The first suggestion in a case like this is to run revdep-rebuild. As a matter of fact, it probably wouldn't hurt to run revdep-rebuild after every update. -- Walter Dnes <waltdnes@waltdnes.org> I don't run "desktop environments"; I run useful applications ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] guvcview update produces an executable with missing lib... 2016-08-29 18:11 ` waltdnes @ 2016-08-29 19:05 ` Daniel Frey 2016-08-30 1:55 ` Meino.Cramer 2016-09-01 23:29 ` Kai Krakow 0 siblings, 2 replies; 7+ messages in thread From: Daniel Frey @ 2016-08-29 19:05 UTC (permalink / raw To: gentoo-user On 08/29/2016 11:11 AM, waltdnes@waltdnes.org wrote: > On Mon, Aug 29, 2016 at 06:29:50PM +0200, Meino.Cramer@gmx.de wrote >> Hi, >> >> after updateing my system, beside others guvcview was updated: >> >> from qlop >> Mon Aug 29 17:44:08 2016 >>> media-video/guvcview-2.0.4 >> >> After ldconfig as root and rehash (zsh) as user I got: >> >> /home/user>guvcview >> guvcview: error while loading shared libraries: libgviewv4l2core-1.0.so.1: cannot open shared object file: No such file or directory >> [1] 23848 exit 127 guvcview >> >> >> ...hmmmm. >> >> What did I wrong? >> >> Best regards, >> mcc > > The first suggestion in a case like this is to run revdep-rebuild. As > a matter of fact, it probably wouldn't hurt to run revdep-rebuild after > every update. > Yes, I do. Portage occasionally misses a rebuild. It's a lot better now at catching them but it still misses them. Dan ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] guvcview update produces an executable with missing lib... 2016-08-29 19:05 ` Daniel Frey @ 2016-08-30 1:55 ` Meino.Cramer 2016-09-01 23:45 ` [gentoo-user] " Kai Krakow 2016-09-01 23:29 ` Kai Krakow 1 sibling, 1 reply; 7+ messages in thread From: Meino.Cramer @ 2016-08-30 1:55 UTC (permalink / raw To: gentoo-user Daniel Frey <djqfrey@gmail.com> [16-08-30 03:48]: > On 08/29/2016 11:11 AM, waltdnes@waltdnes.org wrote: > > On Mon, Aug 29, 2016 at 06:29:50PM +0200, Meino.Cramer@gmx.de wrote > >> Hi, > >> > >> after updateing my system, beside others guvcview was updated: > >> > >> from qlop > >> Mon Aug 29 17:44:08 2016 >>> media-video/guvcview-2.0.4 > >> > >> After ldconfig as root and rehash (zsh) as user I got: > >> > >> /home/user>guvcview > >> guvcview: error while loading shared libraries: libgviewv4l2core-1.0.so.1: cannot open shared object file: No such file or directory > >> [1] 23848 exit 127 guvcview > >> > >> > >> ...hmmmm. > >> > >> What did I wrong? > >> > >> Best regards, > >> mcc > > > > The first suggestion in a case like this is to run revdep-rebuild. As > > a matter of fact, it probably wouldn't hurt to run revdep-rebuild after > > every update. > > > > Yes, I do. Portage occasionally misses a rebuild. It's a lot better now > at catching them but it still misses them. > > > > Dan > Ok, we now know that depclean and redep rebuild are needed after each update. It is someting, which I put together into one script which I run after each update. And we know that portage seems to be guilty. And that it should not be guilty. And that it does better in this cases. One thing remains: How can I get that guvcview up and running? Best regards, Meino ^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: guvcview update produces an executable with missing lib... 2016-08-30 1:55 ` Meino.Cramer @ 2016-09-01 23:45 ` Kai Krakow 2016-09-03 6:06 ` Meino.Cramer 0 siblings, 1 reply; 7+ messages in thread From: Kai Krakow @ 2016-09-01 23:45 UTC (permalink / raw To: gentoo-user Am Tue, 30 Aug 2016 03:55:32 +0200 schrieb Meino.Cramer@gmx.de: > Daniel Frey <djqfrey@gmail.com> [16-08-30 03:48]: > > On 08/29/2016 11:11 AM, waltdnes@waltdnes.org wrote: > > > On Mon, Aug 29, 2016 at 06:29:50PM +0200, Meino.Cramer@gmx.de > > > wrote > [...] > [...] > [...] > > > > > > The first suggestion in a case like this is to run > > > revdep-rebuild. As a matter of fact, it probably wouldn't hurt > > > to run revdep-rebuild after every update. > > > > > > > Yes, I do. Portage occasionally misses a rebuild. It's a lot better > > now at catching them but it still misses them. > > > > > > > > Dan > > > > Ok, we now know that depclean and redep rebuild are needed after each > update. It is someting, which I put together into one script which > I run after each update. > > And we know that portage seems to be guilty. And that it should not be > guilty. And that it does better in this cases. > > One thing remains: > How can I get that guvcview up and running? Try "emerge -1a @preserved-rebuild". It should catch preserved libs that revdep-rebuild cannot see at missing but doesn't scan neither because it doesn't consider them as part of the installed files. Usually, after rebuilding everything to new metadata, you no longer use revdep-rebuild because the preserved-libs feature renders it mostly useless. Instead, @preserved-rebuild jumps in to rebuild and cleanup. You may, however, catch a situation where the configure phase detects the new version of a lib but the linker phase uses the preserved lib of an older version of a dependent package. I'd consider this a bug of the ebuild or the package's build system usually. The way out here is do forcefully uninstall the package with the "broken" preserved lib, then reinstall what is not working. It'd try this: # Try to unmerge the package that portage thinks the file belongs to: $ emerge -Ca /usr/lib/libgviewv4l2core-1.0.so.1 (or whereever this file should be, you can use pfl for finding out) # rebuild binary broken packages now (we used -C, not -c) $ revdep-rebuild # rebuild packages using preserved libs $ emerge -1a @preserved-rebuild # rebuild your package now, it should now link to the correct lib $ emerge -1a guvcview If that still doesn't help, try "qcheck -BHTP" to find packages with missing files. Rebuild those: $ emerge -1a $(qcheck -BHTP) If that also doesn't help, pretend that no dependencies are installed - this may rebuild A LOT of packages: $ emerge -1e guvcview -- Regards, Kai Replies to list-only preferred. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: guvcview update produces an executable with missing lib... 2016-09-01 23:45 ` [gentoo-user] " Kai Krakow @ 2016-09-03 6:06 ` Meino.Cramer 0 siblings, 0 replies; 7+ messages in thread From: Meino.Cramer @ 2016-09-03 6:06 UTC (permalink / raw To: gentoo-user Kai Krakow <hurikhan77@gmail.com> [16-09-02 03:52]: > Am Tue, 30 Aug 2016 03:55:32 +0200 > schrieb Meino.Cramer@gmx.de: > > > Daniel Frey <djqfrey@gmail.com> [16-08-30 03:48]: > > > On 08/29/2016 11:11 AM, waltdnes@waltdnes.org wrote: > > > > On Mon, Aug 29, 2016 at 06:29:50PM +0200, Meino.Cramer@gmx.de > > > > wrote > > [...] > > [...] > > [...] > > > > > > > > The first suggestion in a case like this is to run > > > > revdep-rebuild. As a matter of fact, it probably wouldn't hurt > > > > to run revdep-rebuild after every update. > > > > > > > > > > Yes, I do. Portage occasionally misses a rebuild. It's a lot better > > > now at catching them but it still misses them. > > > > > > > > > > > > Dan > > > > > > > Ok, we now know that depclean and redep rebuild are needed after each > > update. It is someting, which I put together into one script which > > I run after each update. > > > > And we know that portage seems to be guilty. And that it should not be > > guilty. And that it does better in this cases. > > > > One thing remains: > > How can I get that guvcview up and running? > > Try "emerge -1a @preserved-rebuild". It should catch preserved libs > that revdep-rebuild cannot see at missing but doesn't scan neither > because it doesn't consider them as part of the installed files. > > Usually, after rebuilding everything to new metadata, you no longer use > revdep-rebuild because the preserved-libs feature renders it mostly > useless. Instead, @preserved-rebuild jumps in to rebuild and cleanup. > > You may, however, catch a situation where the configure phase detects > the new version of a lib but the linker phase uses the preserved lib of > an older version of a dependent package. I'd consider this a bug of the > ebuild or the package's build system usually. The way out here is do > forcefully uninstall the package with the "broken" preserved lib, then > reinstall what is not working. > > It'd try this: > > # Try to unmerge the package that portage thinks the file belongs to: > $ emerge -Ca /usr/lib/libgviewv4l2core-1.0.so.1 > (or whereever this file should be, you can use pfl for finding out) > > # rebuild binary broken packages now (we used -C, not -c) > $ revdep-rebuild > > # rebuild packages using preserved libs > $ emerge -1a @preserved-rebuild > > # rebuild your package now, it should now link to the correct lib > $ emerge -1a guvcview > > If that still doesn't help, try "qcheck -BHTP" to find packages with > missing files. Rebuild those: > > $ emerge -1a $(qcheck -BHTP) > > If that also doesn't help, pretend that no dependencies are installed - > this may rebuild A LOT of packages: > > $ emerge -1e guvcview > > -- > Regards, > Kai > > Replies to list-only preferred. > > Hi Kai, thank you very much for your useful help!!! :) 8) This procedure finally fixed that problem. I saved your posting to my "HowTo"s... :) Have a nice weekend! Best regards, Meino ^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: guvcview update produces an executable with missing lib... 2016-08-29 19:05 ` Daniel Frey 2016-08-30 1:55 ` Meino.Cramer @ 2016-09-01 23:29 ` Kai Krakow 1 sibling, 0 replies; 7+ messages in thread From: Kai Krakow @ 2016-09-01 23:29 UTC (permalink / raw To: gentoo-user Am Mon, 29 Aug 2016 12:05:51 -0700 schrieb Daniel Frey <djqfrey@gmail.com>: > On 08/29/2016 11:11 AM, waltdnes@waltdnes.org wrote: > > On Mon, Aug 29, 2016 at 06:29:50PM +0200, Meino.Cramer@gmx.de > > wrote > >> Hi, > >> > >> after updateing my system, beside others guvcview was updated: > >> > >> from qlop > >> Mon Aug 29 17:44:08 2016 >>> media-video/guvcview-2.0.4 > >> > >> After ldconfig as root and rehash (zsh) as user I got: > >> > [...] > >> guvcview: error while loading shared libraries: > >> libgviewv4l2core-1.0.so.1: cannot open shared object file: No such > >> file or directory [1] 23848 exit 127 guvcview > >> > >> > >> ...hmmmm. > >> > >> What did I wrong? > >> > >> Best regards, > >> mcc > > > > The first suggestion in a case like this is to run > > revdep-rebuild. As a matter of fact, it probably wouldn't hurt to > > run revdep-rebuild after every update. > > > > Yes, I do. Portage occasionally misses a rebuild. It's a lot better > now at catching them but it still misses them. I think this mainly happens for very old packages not built in a long time. The install database simply misses the relevant info. Rebuilding the package should catch up on this. I usually see this on old packages installed but not updated for a long time. "emerge @preserved-rebuild" usually doesn't see them, revdep-rebuild most of the time sees them but may miss packages which @preserved-rebuild sees (because revdep-rebuild does only detect missing binary deps but cannot identify orphaned libs which are still there but should be removed). And some simply need to rebuild once to migrate to new installation meta data. Packages caught in such a way are from then on usually seen by @preserved-rebuild. I'm using only "emerge @preserved-rebuild" in a long time now, without falling back to revdep-rebuild. The latter is quite obsolete to me. -- Regards, Kai Replies to list-only preferred. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-09-03 6:06 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-08-29 16:29 [gentoo-user] guvcview update produces an executable with missing lib Meino.Cramer 2016-08-29 18:11 ` waltdnes 2016-08-29 19:05 ` Daniel Frey 2016-08-30 1:55 ` Meino.Cramer 2016-09-01 23:45 ` [gentoo-user] " Kai Krakow 2016-09-03 6:06 ` Meino.Cramer 2016-09-01 23:29 ` Kai Krakow
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox