Subject: |
Re: error while loading shared library libstdc++.so.5:ARM based SBC |
From: |
Andrew Johnson <[email protected]> |
To: |
[email protected] |
Date: |
Tue, 24 Aug 2010 12:17:04 -0500 |
Hi,
On Tuesday 24 August 2010 00:07:33 tanushyam bhattacharjee wrote:
> I have cross compiled the vlinac application for an arm
> based system running debian and build the application with latest g++
> runtime library,however,when I am trying to run the application the
> following error is coming
>
> error while loading shared library libstdc++.so.5
>
> Please give some clue to fix the problem.
This is probably not specifically an EPICS issue, it looks more likely that
you have some incompatibility between your cross-build environment for C++ and
the SBC linux installation you're trying to use.
Some clues to look for: Does the SBC actually have a copy of libstdc++.so.5?
Is it the same as the one that your cross-gcc linked the vlinac against? If
you run ldd on the linac binary (on the ARM system), does it show that as a
missing library?
You might need to build EPICS Base and the IOC as purely static binaries with
no shared libraries, which you would do by creating a file in base called
configure/os/CONFIG_SITE.Common.linux-arm file which contains the lines
STATIC_BUILD=YES
SHARED_LIBRARIES=NO
Then you have to rebuild base by typing 'make rebuild' in the top directory of
your base installation, and rebuild the vlinac application similarly.
HTH,
- Andrew
--
The best FOSS code is written to be read by other humans -- Harald Welte
- References:
- error while loading shared library libstdc++.so.5:ARM based SBC tanushyam bhattacharjee
- Navigate by Date:
- Prev:
Re: GNU make 3.82 problem Eric Norum
- Next:
agenda - registration Dalesio, Leo
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
<2010>
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
error while loading shared library libstdc++.so.5:ARM based SBC tanushyam bhattacharjee
- Next:
agenda - registration Dalesio, Leo
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
<2010>
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|