armyops is linked to libstdc++.so.5. ammericas-army ebuild must depend on libstdc++-v3-3.3.6 when use whith gcc-3.4.3 Reproducible: Always Steps to Reproduce: 1.configure linux to use gcc-3.4.3 2.run armyops 3. Actual Results: ./armyops-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory Expected Results: amryops must find libstdc++.so.5
Please post your emerge info. According to the gcc ebuild, sys-libs/libstdc++-v3 is a dependency of gcc >= 3.4 anyway, so it should alreayd be on your system unless you've done something funny to remove it.
(In reply to comment #1) > According to the gcc ebuild, sys-libs/libstdc++-v3 is a dependency of gcc >= 3.4 > anyway, so it should alreayd be on your system unless you've done something > funny to remove it. Only on x86, but americas-army is also keyworded amd64.
PDEPEND="!nocxx? ( !mips? ( !ia64? ( !elibc_uclibc? ( !build? ( sys-libs/libstdc++-v3 ) ) ) ) )" That says nothing about being x86-specific. As stated, if you have gcc >=3.4, then you should have libstdc++-v3 anyway, unless you've done soemthing like put nocxx in your USE flags, or are trying to run the game against uclibc, which won't work anyway. I don't have a problem with adjusting the dependencies to "fix" this "problem", but would really like to determine what is causing it for Cedric.
Alright, I don't know why my system hadn't libstc++-v3. Sorry
(In reply to comment #3) > PDEPEND="!nocxx? ( !mips? ( !ia64? ( !elibc_uclibc? ( !build? ( > sys-libs/libstdc++-v3 ) ) ) ) )" That's a quote from gcc-3.4.3-r1.ebuild, if you look at gcc-3.4.4-r1.ebuild you will find PDEPEND="|| ( app-admin/eselect-compiler sys-devel/gcc-config ) x86? ( !nocxx? ( !elibc_uclibc? ( !build? ( || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* ) ) ) ) )" See what I mean?
...GRR... This will affect more than just America's Army, as any C++-based binary game will need the dependencies fixed. I'm going to REOPEN this for now until I get a chance to fix up this ebuild and any others that happen to also have amd64 KEYWORDS.
It appears that for proper multilib support for binary applications on amd64, that gcc should RDEPEND on libstdc++-v3 on both x86 *and* amd64? What do you guys think?
i think it's a horrible idea but that's the amd64's team call
Actually, that's right, since it would need to be a 32-bit libstdc++-v3. amd64 team: Is there an emul-* package that supplies libstdc++-v3? If not, can we have one made, as there are several games that will need it.
emul-linux-x86-compat already supplies sys-libs/libstdc++-v3, i just don't know what version
Thanks. Any version of libstdc++-v3 should work. The RDEPEND on americas-army has been updated. This will also be updated on the upcoming 2.5.0 version.