On 09/05/2014 04:52 PM, J. Lewis Muir wrote:
> When I try to run the areaDetector 1.9.1 simulated detector IOC on
> Darwin (Mac OS X), it aborts immediately with the error, "dyld: Symbol
> not found: __ZNSs4_Rep20_S_empty_rep_storageE":
Running that symbol through c++filt on a Mac gives the following
unmangled name:
woz$ c++filt __ZNSs4_Rep20_S_empty_rep_storageE
std::string::_Rep::_S_empty_rep_storage
Doing a web search on that implies that you need to link against
libstdc++, so try adding this to the Makefile that builds simDetectorApp:
OP_SYS_LDLIBS += -lstdc++
If that fixes it on Darwin there will need to be some adjustments to
make it cross-platform.
- Andrew
> ===
> $ cd /opt/synapps-5.6/support/areaDetector-1-9-1/iocBoot/iocSimDetector
> $ ../../bin/darwin-x86/simDetectorApp st.cmd.darwin
> dyld: Symbol not found: __ZNSs4_Rep20_S_empty_rep_storageE
> Referenced from: /opt/synapps-5.6/support/areaDetector-1-9-1/lib/\
> darwin-x86/libNDPlugin.3.14.12.dylib
> Expected in: flat namespace
> in /opt/synapps-5.6/support/areaDetector-1-9-1/lib/darwin-x86/\
> libNDPlugin.3.14.12.dylib
> Trace/BPT trap: 5
> ===
>
> I searched the Web but couldn't find much. All I found was something
> about _S_empty_rep_storage being an empty std::string something or
> other. Does anyone know what's wrong and how to fix it?
>
> Environment:
> * areaDetector 1.9.1
> * EPICS Base 3.14.12.4 + Known Problems patches
> * EPICS Architecture: darwin-x86
> * EPICS Architecture Class: x86_64
> * Xcode 5.1.1
> * Mac OS X 10.9.4
>
> Thank you!
>
> Lewis
>
--
Advertising may be described as the science of arresting the human
intelligence long enough to get money from it. -- Stephen Leacock
- Replies:
- Re: areaDetector 1.9.1 "dyld: Symbol not found" on Darwin J. Lewis Muir
- References:
- areaDetector 1.9.1 "dyld: Symbol not found" on Darwin J. Lewis Muir
- Navigate by Date:
- Prev:
areaDetector 1.9.1 "dyld: Symbol not found" on Darwin J. Lewis Muir
- Next:
Re: areaDetector 1.9.1 "dyld: Symbol not found" on Darwin J. Lewis Muir
- 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:
areaDetector 1.9.1 "dyld: Symbol not found" on Darwin J. Lewis Muir
- Next:
Re: areaDetector 1.9.1 "dyld: Symbol not found" on Darwin J. Lewis Muir
- 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
|