Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82659 - faad2-2.0-r4 linking failed
Summary: faad2-2.0-r4 linking failed
Status: RESOLVED DUPLICATE of bug 78858
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: foser (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-20 03:06 UTC by Andrew Gaydenko
Modified: 2005-07-17 13:06 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 Andrew Gaydenko 2005-02-20 03:06:40 UTC
I have gcc 3.3.5 emerged. Nevertheless, faad2-2.0-r4 try to link with
3.4.1/libstdc++.la (and, of course, emerging fails):

...
mkdir .libs
libtool: link: cannot find the library `/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/libstdc++.la'
...

My system is synced with ~x86 except for gcc 3.4.x which is masked.
Plenty of other apps work and (re)emerge without any problems.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-20 06:44:36 UTC
You can't mix gcc 3.3.x and gcc 3.4.x. Choose the compiler you want to use with gcc-config and run `revdep-rebuild -X -soname <foo>`, where <foo> is libstdc++.so.6, if you want to stay with gcc 3.3 and libstdc++.so.5 otherwise.
Comment 2 Andrew Gaydenko 2005-02-20 07:16:13 UTC
Carsten,

I'm not sure the metod you have suggested will resolve the problem: 

revdep-rebuild has not found anything about libstdc++.so (only few packages
depending on FLAC because of recent FLAC updating were found).

And, well, I have not gcc 3.4.x installed at all:

# gcc-config -l
[1] i686-pc-linux-gnu-3.3.5 *
[2] i686-pc-linux-gnu-3.3.5-hardened
[3] i686-pc-linux-gnu-3.3.5-hardenednopie
[4] i686-pc-linux-gnu-3.3.5-hardenednossp
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-20 07:25:25 UTC
The question is, if you used 3.4.1 once.
Comment 4 Andrew Gaydenko 2005-02-20 07:38:20 UTC
Carsten,

You are right, there was short period with gcc 3.4.x. After that I spent many time to eliminate all gcc 3.4.x traces (using revdep-rebuild too). Few last months I have not noticed any problems concerning gcc 3.4.x (few hundreds of packages emerging/updating).

Is there way to be sure some gcc 3.4.x traces are still in my system? If it is, I'll try to remove them and to emerge faad2.
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-20 08:40:33 UTC
As I said: `revdep-rebuild -X -soname libstdc++.so.6`
Comment 6 Andrew Gaydenko 2005-02-20 09:28:14 UTC
Carsten,

I have (revedep-)rebuilt everything related to FLAC update, and now 

revdep-rebuild -X -soname libstdc++.so.6

founds nothing to rebuild.
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-20 13:09:55 UTC
Then you'll most likely have some stale .la files lying around.

Marinus: Can this relate to the latest patch?
Comment 8 foser (RETIRED) gentoo-dev 2005-02-20 13:25:01 UTC

*** This bug has been marked as a duplicate of 78858 ***