Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154587 - firefox-bin and thunderbird-bin fail to start due to libstdc++
Summary: firefox-bin and thunderbird-bin fail to start due to libstdc++
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-09 12:00 UTC by Nelson Benítez
Modified: 2006-11-09 15:25 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 Nelson Benítez 2006-11-09 12:00:27 UTC
Hi, firefox-bin and thunderbird-bin does't work on my up_to_date gentoo (GCC 4.1.1 GLIBC_2.4) and fail to start with the following error:
No running windows found
/opt/thunderbird/thunderbird-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
thunderbird-bin exited with non-zero status (127)

I tried to re-emerge them but keeps same error.

If I emerge normal firefox (no -bin) it works OK. Now looking at these commands seems like I need libstdc++-v3:

gnelson nelson # eix libstdc++
* sys-libs/libstdc++-v3 
     Available versions:  ~3.3.3-r1:5 3.3.4:5 ~3.3.6:5
     Installed:           none
     Homepage:            http://gcc.gnu.org/libstdc++/
     Description:         Compatibility package for running binaries linked against a pre gcc 3.4 libstdc++
     Provides:            none
     License:             GPL-2 LGPL-2.1

* virtual/libstdc++ 
     Available versions:  3.3:3.3
     Installed:           3.3
     Homepage:            http://www.gentoo.org/proj/en/base/
     Description:         Virtual for the GNU Standard C++ Library
     Provides:            none
     License:             GPL-2

Found 2 matches.
gnelson nelson # equery depends libstdc++
[ Searching for packages depending on libstdc++... ]
mail-client/mozilla-thunderbird-bin-1.5.0.7
www-client/mozilla-firefox-bin-1.5.0.7
gnelson nelson # 

So I made this bug so Gentoo provide new firefox-bin and thunderbird-bin compiled against new libstdc++...
Comment 1 Nelson Benítez 2006-11-09 12:52:50 UTC
I was about to emerge libstdc++-v3 in order to fix firefox-bin and thunderbird-bin, but seeing the emerge was 22MB I prefered to emerge source thunderbird ebuild until a working thunderbird-bin is created...
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-09 13:00:24 UTC
It already does depend on virtual/libstdc++
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-11-09 13:02:02 UTC
(In reply to comment #1)
> I was about to emerge libstdc++-v3 in order to fix firefox-bin and
> thunderbird-bin, but seeing the emerge was 22MB I prefered to emerge source
> thunderbird ebuild until a working thunderbird-bin is created...
> 

We won't be creating anything, we download the binary tarball from upstream. And as said, the needed dependency is already there. If you unmerged sys-libs/libstdc++-v3 by mistake, then re-emerge it.
Comment 4 Nelson Benítez 2006-11-09 15:25:33 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > I was about to emerge libstdc++-v3 in order to fix firefox-bin and
> > thunderbird-bin, but seeing the emerge was 22MB I prefered to emerge source
> > thunderbird ebuild until a working thunderbird-bin is created...
> > 
> 
> We won't be creating anything, we download the binary tarball from upstream.

I thought -bin packages were created by gentoo crew instead of upstream... good to know...

> And as said, the needed dependency is already there. If you unmerged
> sys-libs/libstdc++-v3 by mistake, then re-emerge it.

If the -bin binary is provided directly from upstream with that dependency then it's ok to require libstdc++-v3, but if gentoo were the ones to provide it it should be depended just on libstdc++ (glibc-2.4 aware). 
Anyway, as I said, I emerged plain ebuilds for firefox and thunderbird and are working ok without having to emerge that 22MB second libstdc++-v3.

Thanks for your answers and explanations.