Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: Re: areadetector, iocSimDetector can not be started on OS X due to dyld: Symbol not found: _xmlFree [Solved]
From: Heinz Junkes <junkes@fhi-berlin.mpg.de>
To: EPICS tech-talk <tech-talk@aps.anl.gov>
Date: Thu, 16 Oct 2014 12:19:38 +0200
Adding

OP_SYS_LDLIBS += -lxml2

to 

RELEASE_LIBS.local

solves the problem.

Heinz


On 16 Oct 2014, at 07:57, Heinz Junkes <junkes@fhi-berlin.mpg.de> wrote:

> Hi Lewis,
> 
> I build it from source.
> 
> Setting the env-vars like this:
> 
> h1:iocSimDetector junkes$ export DYLD_LIBRARY_PATH=/opt/local
> h1:iocSimDetector junkes$ export LD_LIBRARY_PATH=/opt/local
> 
> leads to the same error:
> 
> h1:iocSimDetector junkes$ ../../bin/darwin-x86/simDetectorApp st.cmd.darwin
> dyld: Symbol not found: _xmlFree
>  Referenced from: /Users/junkes/PARIS_14/EPICS/support/areaDetector/ADCore/lib/darwin-x86/libNDPlugin.3.14.12.dylib
>  Expected in: flat namespace
> in /Users/junkes/PARIS_14/EPICS/support/areaDetector/ADCore/lib/darwin-x86/libNDPlugin.3.14.12.dylib
> Trace/BPT trap: 5
> 
> 
> Heinz
> 
> On 15 Oct 2014, at 22:59, J. Lewis Muir <jlmuir@imca-cat.org> wrote:
> 
>> On 10/15/14 3:44 PM, Heinz Junkes wrote:
>>> _xmlFree can be found in /opt/local/libxml2.dylib
>>> …
>>> 00000000000f2b28 D _xmlFree
>>> …
>>> 
>>> Pointing LD_LIBRARY_PATH and DYLD_LIBRARY_PATH to this dir will not
>>> solve the problem:
>>> 
>>> LD_LIBRARY_PATH=/opt/local/lib
>>> DYLD_LIBRARY_PATH=/opt/local/lib
>>> 
>>> Any idea?
>> 
>> Hi, Heinz.
>> 
>> Did you build from source, or are you using the pre-built binary
>> version?  If you're using the pre-built binary, then there is likely
>> something wrong with it since it should include any libraries it needs.
>> 
>> Moving beyond that, you said the symbol _xmlFree can be found in
>> /opt/local/libxml2.dylib, but then you set LD_LIBRARY_PATH and
>> DYLD_LIBRARY_PATH to /opt/local/lib.  Note that the path ends in a
>> directory named "lib".  If the libxml2.dylib library is in /opt/local,
>> then you'd need to set LD_LIBRARY_PATH and DYLD_LIBRARY_PATH to
>> /opt/local, not /opt/local/lib.
>> 
>> Lewis
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Replies:
RE: areadetector, iocSimDetector can not be started on OS X due to dyld: Symbol not found: _xmlFree [Solved] Mark Rivers
References:
areadetector, iocSimDetector can not be started on OS X due to dyld: Symbol not found: _xmlFree Heinz Junkes
Re: areadetector, iocSimDetector can not be started on OS X due to dyld: Symbol not found: _xmlFree J. Lewis Muir

Navigate by Date:
Prev: StreamDevice "in" command disturbed by out command haquin
Next: RE: areadetector, iocSimDetector can not be started on OS X due to dyld: Symbol not found: _xmlFree [Solved] Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: areadetector, iocSimDetector can not be started on OS X due to dyld: Symbol not found: _xmlFree Heinz Junkes
Next: RE: areadetector, iocSimDetector can not be started on OS X due to dyld: Symbol not found: _xmlFree [Solved] Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·