Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 408201 - app-editors/qxmledit-0.8.0 - QXmlEdit: error while loading shared libraries: libQXmlEditSessions.so.0: cannot open shared object file: No such file or directory
Summary: app-editors/qxmledit-0.8.0 - QXmlEdit: error while loading shared libraries: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-14 19:06 UTC by Aiwendil
Modified: 2012-03-16 14:44 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (app-editors:qxmledit-0.8.0:20120314-184403.log,202.68 KB, text/plain)
2012-03-14 19:06 UTC, Aiwendil
Details
emerge --info (file_408201.txt,6.44 KB, text/plain)
2012-03-14 19:07 UTC, Aiwendil
Details
patch for fixed qxmledit-0.8.0-r1.ebuild (qxmledit-fix.patch,619 bytes, patch)
2012-03-14 19:29 UTC, Ben Kohler
Details | Diff
(better) patch for fixed qxmledit-0.8.0-r1.ebuild (qxmledit-fix.patch,619 bytes, patch)
2012-03-14 19:43 UTC, Ben Kohler
Details | Diff
patch for fixed qxmledit-0.8.0-r1.ebuild (qxmledit-fix.patch,596 bytes, text/plain)
2012-03-14 19:45 UTC, Ben Kohler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aiwendil 2012-03-14 19:06:23 UTC
Created attachment 305341 [details]
build log

QXmlEdit 0.8.0 compiles fine but seems to forget installing a needed library. The result is "QXmlEdit: error while loading shared libraries: libQXmlEditSessions.so.0: cannot open shared object file: No such file or directory" when trying to start it. Also revdep-rebuild complains about that library and rebuilds QXmlEdit every time again.
Comment 1 Aiwendil 2012-03-14 19:07:10 UTC
Created attachment 305343 [details]
emerge --info
Comment 2 Aiwendil 2012-03-14 19:15:51 UTC
Some additional info (thanks to iamben)

with
"LD_LIBRARY_PATH=/opt/qxmledit QXmlEdit" 
it works. So the library is installed, just not in a place to can be found by default.

Also seems there are others with difficulties there as well: http://code.google.com/p/qxmledit/issues/detail?id=21
Comment 3 Ben Kohler gentoo-dev 2012-03-14 19:29:19 UTC
Created attachment 305345 [details, diff]
patch for fixed qxmledit-0.8.0-r1.ebuild

We are already sed-fixing the widget library's .pro file, added the fix for the 2 remaining .pro files, now runs ok.  Needs revbump I think, as build/install succeeded but was non-functional.
Comment 4 Aiwendil 2012-03-14 19:39:40 UTC
Just tested Ben's patch and works great for me. Thanks a lot.
Comment 5 Ben Kohler gentoo-dev 2012-03-14 19:43:22 UTC
Created attachment 305347 [details, diff]
(better) patch for fixed qxmledit-0.8.0-r1.ebuild

Last patch had redundant fix on src/QXmlEdit.pro, updated.  Also, upstream's bug has just been "accepted" by the author minutes ago, may just want to see if it gets fixed there.
Comment 6 Ben Kohler gentoo-dev 2012-03-14 19:45:44 UTC
Created attachment 305349 [details]
patch for fixed qxmledit-0.8.0-r1.ebuild

I can't win today, here is the real patch.  Sorry for the spam.
Comment 7 Juergen Rose 2012-03-16 11:48:26 UTC
Thanks Ben,

the patch worked for me. Any chance, that it cames into the portage tree?
Comment 8 Davide Pesavento (RETIRED) gentoo-dev 2012-03-16 14:44:23 UTC
Fixed in 0.8.0-r1. Thanks Ben for the patch!