ts-7000
[Top] [All Lists]

Re: [ts-7000] running a simple Hello World

To:
Subject: Re: [ts-7000] running a simple Hello World
From: Anssi Kolehmainen <>
Date: Mon, 19 May 2008 02:44:58 +0300
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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU