On Sun, May 18, 2008 at 10:11:51PM +0100, Martin Guy wrote:
> On 5/18/08, research_labs80 <> wrote:
> > then i made a simple hello.cc and i builded it with the crosstool, so
> > i get an hello executable.
> >
> > ./hello: error while loading shared libraries: libstdc++.so.6: cannot
> > open shared object file: Noy
> >
> > of course! the libstc++.so.6 is in my crosstool but not in my debian
> > nfs, which has the libstc++.so.3.
>
> A candidate for "most frequently asked question" :)
>
> The answer is usually either to link staticallt ("-static")
... which generates huge executable.
> or copy the missing libraries from your crosscompiling environment to
> the target board (and run "ldconfig")
... which might mess things up since you would be mixing core library
versions.
So either use toolchain (~crosstool) with correct kernel+libc versions
or upgrade the OS on the board.
--
Anssi Kolehmainen
040-5085390
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|