EPICS Controls 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  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: AD R3-2 libzlib.so
From: "Madden, Timothy J. via Tech-talk" <[email protected]>
To: "Rivers, Mark L." <[email protected]>, "[email protected]" <[email protected]>
Date: Fri, 7 Dec 2018 23:34:09 +0000

I am using AD in Sinisa Viseli's DAQ distro. He compiles libz and calls it just z,  in the Linux tradition.

I did a major kludge by this:

cd /usr/lib64

ln -s libz.so libzlib.so


It is nasty, but it will work for now. We just want to run some software on a uTCA crate to take some RF measurements. 

We are not even using the plugins that need compression.


T




From: Mark Rivers <[email protected]>
Sent: Friday, December 7, 2018 11:35:40 AM
To: Madden, Timothy J.; [email protected]
Subject: RE: AD R3-2 libzlib.so
 

How have you defined HAVE_ZLIB and ZLIB_EXTERNAL in areaDetector/configure/CONFIG_SITE.local?  If you define HAVE_ZLIB and ZLIB_EXTERNAL=NO it will build and use the version in ADSupport. That is what I recommend.

 

I think there may be a problem if you set ZLIB_EXTERNAL=YES because the library in ADSupport is called libzlib.so, but the OS version is called libz.so.  We could fix that in the future, but for now just use the version in ADSupport.

 

Mark

 

 

From: Madden, Timothy J. <[email protected]>
Sent: Friday, December 7, 2018 10:44 AM
To: [email protected]
Cc: Mark Rivers <[email protected]>
Subject: AD R3-2 libzlib.so

 

Mark

 

I am having a link problem with AD. My exe is looking for libzlib.so

 

I know of libz.so, and have it installed, but I don't know what libzlib.so is. I am using Linux rhel6.

 

 

ldd of my exe 

gives:

 

…...


        libz.so.1 => /lib64/libz.so.1 (0x000000343c800000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003bc2600000)
        libm.so.6 => /lib64/libm.so.6 (0x000000343b800000)
44c400000)

 

… …



        libxml2.so => /usr/lib64/libxml2.so (0x0000003442800000)
        libzlib.so => not found
        liblzma.so => /net/phoebus/ctlsdaq/CTLSDAQ/support-7.0-rhel6/opt/epics-7.0.1.1/extensions/lib/linux-x86_64/liblzma.so (0x00007f5951799000)

 

---

---

 

Tim

 

 

PS

 

See:

 

 https://epics.anl.gov/tech-talk/2018/msg02162.php


Replies:
Re: AD R3-2 libzlib.so Mark Rivers via Tech-talk
References:
AD R3-2 libzlib.so Madden, Timothy J. via Tech-talk
RE: AD R3-2 libzlib.so Mark Rivers via Tech-talk

Navigate by Date:
Prev: RE: AD R3-2 libzlib.so Mark Rivers via Tech-talk
Next: Re: AD R3-2 libzlib.so Mark Rivers via Tech-talk
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: AD R3-2 libzlib.so Mark Rivers via Tech-talk
Next: Re: AD R3-2 libzlib.so Mark Rivers via Tech-talk
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 07 Dec 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·