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") or copy
the missing libraries from your crosscompiling environment to the
target board (and run "ldconfig")
M
------------------------------------
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/
|