| Summary: | Phoenix-bin crashes on start up with an error that it cannot load libgtk1.2.0.so.0 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Stuart Still <stustill> |
| Component: | Current packages | Assignee: | George Shapovalov (RETIRED) <george> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Hi Stuart. Thanks for spotting this! Fixed. Please test. Please note, phoenix-bin has been moved to install under /opt, as it should have from the beginning. George George,
To test, I unmerged gtk+, which removed gtk+-2.0.8-r1 and gtk+-1.2.0-r8. Then, with my USE flags set to USE="gtk2 -gtk" I did 'emerge phoenix-bin'. That emerged gtk+-2.2.1-r1, and then phoenix-bin. The end result was that gtk+-2.2.1-r1 was installed, and no version og gtk+-1 was installed. Phoenix therefore couldn't start, as it is compiled against gtk+-1.2
The RDEPEND still lists:
( gtk2? >=x11-libs/gtk+-2.0.8 :
=x11-libs/gtk+-1.2* )
So, it seems that if gtk2 is in USE flags, then it depends upon gtk+-2.0.8, when it should be depending upon gtk+-1.2. Therefore, I think it should be:
RDEPEND=">=sys-libs/lib-compat-1.0-r2
=x11-libs/gtk+-1.2*
virtual/x11
!net-www/phoenix-cvs"
Hopefully, I did all that testing with the correct ebuild :)
Stuart
Hi Stuart. Oops, sorry. looks like my fix to DEPEND, which I did on all versions got undone by further fixups to plugin handling in the -r1 (the version in stable is Ok from what I see). Added the fix back, Please test. George PS Could you please reopen the bug if you report any trouble and the bug is in TEST-REQUEST? This makes my searching for the bug a bit easier ;). Thats it sorted now. Sorry for not reopening the bug, not really too familiar with bugzilla :) Anyway, hopefully it will all be in vane, cause firebird 0.6 is on its way real soon according to the firebird homepage. I hope you gentoo devs have got a shiny new mozilla-firebird ebuild on the way :) Stu reclosing the bug |
With "gtk2" in the USE flags, phoenix-bin installs gtk2.2.0, however, it won't run, giving an error about the lack of libgtk1.2.0.so.0. Emerging gtk1.2.0 explicitly solves the problem. Reproducible: Always Steps to Reproduce: 1. Emerge phoenix-bin when gtk1.2.0 is not installed. 2. Run phoenix-bin Actual Results: Error: libgtk1.2.0.so.0 is missing Expected Results: Phoenix web browser should have appeared on screen. I suspect this should be changed: RDEPEND=">=sys-libs/lib-compat-1.0-r2 ( gtk2? >=x11-libs/gtk+-2.0.8 : =x11-libs/gtk+-1.2* ) virtual/x11 !net-www/phoenix-cvs" To read: RDEPEND=">=sys-libs/lib-compat-1.0-r2 =x11-libs/gtk+-1.2* virtual/x11 !net-www/phoenix-cvs"