Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387045 - app-text/pybookreader-0.5.0 should (R)DEPEND on gnome-base/libgnome{,ui}
Summary: app-text/pybookreader-0.5.0 should (R)DEPEND on gnome-base/libgnome{,ui}
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-13 16:28 UTC by Sergey Torokhov
Modified: 2020-02-06 21:30 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Torokhov 2011-10-13 16:28:28 UTC
Recently I installed "app-text/pybookreader-0.5.0" and try to start it but program doesn't start. The console output show that there are no some libraries installed in system, one of them is libgnome.so. 
I instaled gnome-base/libgnome-2.32.1 (as I'm KDE user), but the result was the same until I manualy create a symbolic link called "/usr/lib/libgnome.so" to "/usr/lib/libgnome-2.so.0.3200.1" (there were "libgnome-2.so" and "libgnome-2.so.0" symlink already).

After that error of libglade about absence of "libgnome.so" library disappeared, but appear others. They were resolved by installing of gnome-base/libgnomeui-2.24.5 and reinstalling dev-lang/python-2.6.6-r2 (as 2.6 version is needed for pybookreader) with "berkdb" USE-flag.

After that pybookreader began to start and work.

So it's need to add to app-text/pybookreader-0.5.0.ebuild next dependences:
gnome-base/libgnome with creating libgnome.so symlink "/usr/lib/libgnome.so" to "/usr/lib/libgnome-2.so.XXXXXXX"  library or to already existing symlink "libgnome-2.so";
and such dependences as libgnomeui and python-2.x[berkdb]

Reproducible: Always

Steps to Reproduce:
1. install app-text/pybookreader-0.5.0 (without installed "libgnome", "libgnome" and python[berkdb]
2. try to start pybookreader in console ("pybr" command) and note that error about absence oĞ° libgnome.so appears
3. install libgnome package
4. Note that there is the same error after trying to start "pybr" again
5. create "/usr/lib/libgnome.so" symlink pointing to "libgnome-2.so" (for example) and now error about absence this library disappears but appears new errors.
6. install libgnomeui and install python-2.x[berkdb] - now pybookreader starts.


Expected Results:  
during installation app-text/pybookreader-0.5.0 must required described above packages.
Comment 1 Andrey Grozin gentoo-dev 2011-11-18 14:13:50 UTC
I see somewhat different behaviour. I'm also kde user, and I have no file libgnome.so in my system. When I start pybr, I see the message

(pybr:2285): libglade-WARNING **: Could not load support for `gnome': libgnome.so: cannot open shared object file: No such file or directory

After that, pybr starts and works normally. This is only a warning; probably, this library provides a better integration with gnome, I don't know details because I don't use gnome.

The package pybookreader contains 2 different book readers, pybr and ob. When I start ob, I see a similar message

(ob:2334): libglade-WARNING **: Could not load support for `gnome': libgnome.so: cannot open shared object file: No such file or directory

but ob works fine. By the way, I use python-2.7.2, not 2.6. In any case, the warning comes not from the book readers (pybr or ob). They are written in pure python, and just use pygtk. This seems to be a pygtk problem.
Comment 2 Sergey Torokhov 2020-02-06 21:30:54 UTC
Close as obsolete because of masked package to removal in 30 days since 2020-feb-04