* [gentoo-user] overnetclc: error while loading shared libraries: libstdc++.so.5: cannot open
@ 2006-03-15 14:29 Bo Andresen
2006-03-16 5:57 ` Boyd Stephen Smith Jr.
0 siblings, 1 reply; 7+ messages in thread
From: Bo Andresen @ 2006-03-15 14:29 UTC (permalink / raw
To: gentoo-user
I am having a problem with overnet on an amd64 computer. For some reason it
connat load libstdc++.so.5.
$ overnetclc
overnetclc: error while loading shared libraries: libstdc++.so.5: cannot open
shared object file: No such file or directory
I checked and realized that I did not have this file so I emerged
libstdc++-v3. This did get me the file in /usr/lib64. Still no luck. I
suppose the problem is that overnet is a binary package which requires a 32
bit library. Still I don't know how to solve this problem. Perhaps the
problem is that I need multilib but I don't know how to select that since the
multilib use flag is missing.
# equery hasuse multilib
[ Searching for USE flag multilib in all categories among: ]
* installed packages
[I--] [ ] sys-libs/libstdc++-v3-3.3.4 (5)
[I--] [ -] sys-libs/glibc-2.3.5-r2 (2.2)
[I--] [ -] sys-devel/gcc-3.4.4-r1 (3.4)
# emerge -vp `equery hasuse multilib | sed -e 's/^/=/'`
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-libs/libstdc++-v3-3.3.4 USE="nls nptl -build" 0 kB
[ebuild R ] sys-libs/glibc-2.3.5-r2 USE="nls nptl nptlonly -build
-erandom -glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls -pic
-profile -userlocales" 0 kB
[ebuild R ] sys-devel/gcc-3.4.4-r1 USE="fortran gtk nls -bootstrap
-boundschecking -build -gcj -hardened -ip28 -multislot -nocxx -nopie -nossp
-objc -vanilla" 0 kB
Total size of downloads: 0 kB
# ls -ld /etc/make.profile
lrwxrwxrwx 1 root root 50 Feb 24 14:25 /etc/make.profile
-> ../usr/portage/profiles/default-linux/amd64/2006.0
Any hints on this would be appreciated. If you need any additional information
please ask.
--
Bo Andresen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] overnetclc: error while loading shared libraries: libstdc++.so.5: cannot open
2006-03-15 14:29 [gentoo-user] overnetclc: error while loading shared libraries: libstdc++.so.5: cannot open Bo Andresen
@ 2006-03-16 5:57 ` Boyd Stephen Smith Jr.
2006-03-16 9:45 ` Bo Andresen
0 siblings, 1 reply; 7+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-03-16 5:57 UTC (permalink / raw
To: gentoo-user
On Wednesday 15 March 2006 08:29, Bo Andresen <bo.andresen@gmail.com> wrote
about '[gentoo-user] overnetclc: error while loading shared libraries:
libstdc++.so.5: cannot open':
> I am having a problem with overnet on an amd64 computer. For some reason
> it connat load libstdc++.so.5.
>
> $ overnetclc
> overnetclc: error while loading shared libraries: libstdc++.so.5: cannot
> open shared object file: No such file or directory
>
> I checked and realized that I did not have this file so I emerged
> libstdc++-v3. This did get me the file in /usr/lib64. Still no luck. I
> suppose the problem is that overnet is a binary package which requires a
> 32 bit library. Still I don't know how to solve this problem. Perhaps
> the problem is that I need multilib but I don't know how to select that
> since the multilib use flag is missing.
Multilib is handled by profiles now. From the part of your post I've
trimmed (DOH) you are using a multilib profile, so the use flag is treated
as always on.
Also, you might need one (or more) of the packages from
app-emulation/emul-x86-*.
--
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] overnetclc: error while loading shared libraries: libstdc++.so.5: cannot open
2006-03-16 5:57 ` Boyd Stephen Smith Jr.
@ 2006-03-16 9:45 ` Bo Andresen
2006-03-16 13:30 ` Boyd Stephen Smith Jr.
2006-03-16 13:32 ` Boyd Stephen Smith Jr.
0 siblings, 2 replies; 7+ messages in thread
From: Bo Andresen @ 2006-03-16 9:45 UTC (permalink / raw
To: gentoo-user
On Thursday 16 March 2006 06:57, Boyd Stephen Smith Jr. wrote:
> On Wednesday 15 March 2006 08:29, Bo Andresen <bo.andresen@gmail.com> wrote
> about '[gentoo-user] overnetclc: error while loading shared libraries:
>
> libstdc++.so.5: cannot open':
> > I am having a problem with overnet on an amd64 computer. For some reason
> > it connat load libstdc++.so.5.
> >
> > $ overnetclc
> > overnetclc: error while loading shared libraries: libstdc++.so.5: cannot
> > open shared object file: No such file or directory
> >
> > I checked and realized that I did not have this file so I emerged
> > libstdc++-v3. This did get me the file in /usr/lib64. Still no luck. I
> > suppose the problem is that overnet is a binary package which requires a
> > 32 bit library. Still I don't know how to solve this problem. Perhaps
> > the problem is that I need multilib but I don't know how to select that
> > since the multilib use flag is missing.
>
> Multilib is handled by profiles now. From the part of your post I've
> trimmed (DOH) you are using a multilib profile, so the use flag is treated
> as always on.
But shouldn't libstdc++-v3 install both 64 bit and 32 bit libraries then? It
most certainly doesn't.
# equery files libstdc++-v3
[ Searching for packages matching libstdc++-v3... ]
* Contents of sys-libs/libstdc++-v3-3.3.6:
/etc
/etc/env.d
/etc/env.d/99libstdc++
/usr
/usr/lib64
/usr/lib64/libstdc++-v3
/usr/lib64/libstdc++-v3/libstdc++.so.5 -> libstdc++.so.5.0.7
/usr/lib64/libstdc++-v3/libstdc++.so.5.0.7
Also this leads me to believe that the use flag is actually off. This may
have no importance (because of the profile) but I am quite confused on how
this is supposed to work.
# equery uses libstdc++-v3
[SNIP]
[ Found these USE variables for sys-libs/libstdc++-v3-3.3.6 ]
U I
[SNIP]
- - multilib : On 64bit systems, if you want to be able to compile 32bit and
64bit binaries
[SNIP]
> Also, you might need one (or more) of the packages from
> app-emulation/emul-x86-*.
# eix -s emul -S libstdc++
* app-emulation/emul-linux-x86-compat
Available versions: 1.0 1.0-r1
Installed: none
Homepage: http://www.gentoo.org/
Description: emul-linux-x86 version of lib-compat, with the
addition of a 32bit libgcc_s and the libstdc++ versions provided by gcc 3.3
and 3.4 for non-multilib systems.
The description leads me to believe that this is for non-multilib systems. But
I want multilib. Am I missing anything here?
If anyone can direct me towards some proper documentation of how multilib is
supposed to work I would appreciate that.
And as always thanks for your replies. :)
--
Bo Andresen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] overnetclc: error while loading shared libraries: libstdc++.so.5: cannot open
2006-03-16 9:45 ` Bo Andresen
@ 2006-03-16 13:30 ` Boyd Stephen Smith Jr.
2006-03-16 13:32 ` Boyd Stephen Smith Jr.
1 sibling, 0 replies; 7+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-03-16 13:30 UTC (permalink / raw
To: gentoo-user
On Thursday 16 March 2006 03:45, Bo Andresen <bo.andresen@gmail.com> wrote
about 'Re: [gentoo-user] overnetclc: error while loading shared libraries:
libstdc++.so.5: cannot open':
> If anyone can direct me towards some proper documentation of how
> multilib is supposed to work I would appreciate that.
>From http://www.gentoo.ro/doc/en/gentoo-amd64-faq.xml#multilib :
What is multilib and how can I use it?
Every AMD64 processor is able to run 32-bit code as well as 64-bit code.
However, when you have a 32-bit application, you are unable to mix it with
64-bit libraries or vice versa. You can, however, natively run 32-bit
applications if all shared libraries it needs are available as 32-bit
objects. You can choose whether you want multilib support or not by
selecting the according profile. The default is a multilib-enabled
profile.
--
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] overnetclc: error while loading shared libraries: libstdc++.so.5: cannot open
2006-03-16 9:45 ` Bo Andresen
2006-03-16 13:30 ` Boyd Stephen Smith Jr.
@ 2006-03-16 13:32 ` Boyd Stephen Smith Jr.
2006-03-16 14:39 ` [gentoo-user] overnetclc: error while loading shared libraries: libstdc++.so.5: cannot open [SOLVED] Bo Andresen
1 sibling, 1 reply; 7+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-03-16 13:32 UTC (permalink / raw
To: gentoo-user
On Thursday 16 March 2006 03:45, Bo Andresen <bo.andresen@gmail.com> wrote
about 'Re: [gentoo-user] overnetclc: error while loading shared libraries:
libstdc++.so.5: cannot open':
> > Also, you might need one (or more) of the packages from
> > app-emulation/emul-x86-*.
>
> # eix -s emul -S libstdc++
> * app-emulation/emul-linux-x86-compat
> Available versions: 1.0 1.0-r1
> Installed: none
> Homepage: http://www.gentoo.org/
> Description: emul-linux-x86 version of lib-compat, with the
> addition of a 32bit libgcc_s and the libstdc++ versions provided by gcc
> 3.3 and 3.4 for non-multilib systems.
>
> The description leads me to believe that this is for non-multilib
> systems. But I want multilib. Am I missing anything here?
The description must be out of date with current practice; from my system
(a multilib system):
# equery b libstdc++.so.5
[ Searching for file(s) libstdc++.so.5 in *... ]
app-emulation/emul-linux-x86-compat-1.0-r1
(/emul/linux/x86/usr/lib/libstdc++.so.5 -> libstdc++.so.5.0.5)
games-fps/doom3-1.3.1302-r1 (/opt/doom3/libstdc++.so.5)
# ls -l /etc/make.profile
lrwxrwxrwx 1 root root 50 Feb 28 00:09 /etc/make.profile
-> ../usr/portage/profiles/default-linux/amd64/2006.0
--
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] overnetclc: error while loading shared libraries: libstdc++.so.5: cannot open [SOLVED]
2006-03-16 13:32 ` Boyd Stephen Smith Jr.
@ 2006-03-16 14:39 ` Bo Andresen
2006-03-17 3:30 ` Boyd Stephen Smith Jr.
0 siblings, 1 reply; 7+ messages in thread
From: Bo Andresen @ 2006-03-16 14:39 UTC (permalink / raw
To: gentoo-user
On Thursday 16 March 2006 14:32, Boyd Stephen Smith Jr. wrote:
> > # eix -s emul -S libstdc++
> > * app-emulation/emul-linux-x86-compat
> > Available versions: 1.0 1.0-r1
> > Installed: none
> > Homepage: http://www.gentoo.org/
> > Description: emul-linux-x86 version of lib-compat, with the
> > addition of a 32bit libgcc_s and the libstdc++ versions provided by gcc
> > 3.3 and 3.4 for non-multilib systems.
> >
> > The description leads me to believe that this is for non-multilib
> > systems. But I want multilib. Am I missing anything here?
>
> The description must be out of date with current practice; from my system
> (a multilib system):
> # equery b libstdc++.so.5
> [ Searching for file(s) libstdc++.so.5 in *... ]
> app-emulation/emul-linux-x86-compat-1.0-r1
> (/emul/linux/x86/usr/lib/libstdc++.so.5 -> libstdc++.so.5.0.5)
> games-fps/doom3-1.3.1302-r1 (/opt/doom3/libstdc++.so.5)
As you can see from your own mail emul-linux-x86-compat does not install any
libs into /usr/lib32. Therefore I still think that the description may be
correct and that package may be unaware of multilib being enabled.
Nonetheless it does solve the problem and that's good enough for me. :)
On Thursday 16 March 2006 14:30, Boyd Stephen Smith Jr. wrote:
> From http://www.gentoo.ro/doc/en/gentoo-amd64-faq.xml#multilib :
> What is multilib and how can I use it?
> Every AMD64 processor is able to run 32-bit code as well as 64-bit code.
> However, when you have a 32-bit application, you are unable to mix it with
> 64-bit libraries or vice versa. You can, however, natively run 32-bit
> applications if all shared libraries it needs are available as 32-bit
> objects. You can choose whether you want multilib support or not by
> selecting the according profile. The default is a multilib-enabled
> profile.
While this does explain that multilib is in fact enabled it tells me nothing
about how it is supposed to work. Just above it [1] there is a section about
the emul-linux-x86 packages which apparently explains that
emul-linux-x86-compat should have been a dependency of overnet. But it does
not state anything about multilib being required for those emul-linux-x86
packages to work. And if multilib isn't required for it then I am uncertain
about what good it actually does.
[1] http://www.gentoo.ro/doc/en/gentoo-amd64-faq.xml#emul32
--
Bo Andresen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] overnetclc: error while loading shared libraries: libstdc++.so.5: cannot open [SOLVED]
2006-03-16 14:39 ` [gentoo-user] overnetclc: error while loading shared libraries: libstdc++.so.5: cannot open [SOLVED] Bo Andresen
@ 2006-03-17 3:30 ` Boyd Stephen Smith Jr.
0 siblings, 0 replies; 7+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-03-17 3:30 UTC (permalink / raw
To: gentoo-user
On Thursday 16 March 2006 08:39, Bo Andresen <bo.andresen@gmail.com> wrote
about 'Re: [gentoo-user] overnetclc: error while loading shared libraries:
libstdc++.so.5: cannot open [SOLVED]':
> But it
> does not state anything about multilib being required for those
> emul-linux-x86 packages to work. And if multilib isn't required for it
> then I am uncertain about what good it actually does.
# pwd -P
/usr/portage/profiles/default-linux/amd64/2006.0/no-multilib
# grep emul-.*-x86 package.mask
app-emulation/emul-linux-x86-baselibs
app-emulation/emul-linux-x86-compat
app-emulation/emul-linux-x86-glibc
app-emulation/emul-linux-x86-gtklibs
app-emulation/emul-linux-x86-medialibs
app-emulation/emul-linux-x86-nvidia
app-emulation/emul-linux-x86-qtlibs
app-emulation/emul-linux-x86-sdl
app-emulation/emul-linux-x86-soundlibs
app-emulation/emul-linux-x86-xlibs
app-emulation/emul-linux-x86-java
Yep, those packages don't work under a no-multilib profile.
--
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-03-17 3:39 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-15 14:29 [gentoo-user] overnetclc: error while loading shared libraries: libstdc++.so.5: cannot open Bo Andresen
2006-03-16 5:57 ` Boyd Stephen Smith Jr.
2006-03-16 9:45 ` Bo Andresen
2006-03-16 13:30 ` Boyd Stephen Smith Jr.
2006-03-16 13:32 ` Boyd Stephen Smith Jr.
2006-03-16 14:39 ` [gentoo-user] overnetclc: error while loading shared libraries: libstdc++.so.5: cannot open [SOLVED] Bo Andresen
2006-03-17 3:30 ` Boyd Stephen Smith Jr.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox