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: Siniša Veseli via Tech-talk <[email protected]>
To: "[email protected]" <[email protected]>
Date: Sat, 8 Dec 2018 00:15:03 +0000

Hi,


For the production DAQ software, we only compile zlib for linux-arm architecture. For RHEL6 and RHEL7 we use zlib and libxml from ADSupport.


Sinisa


bluegill2> ls -ltr /net/helios/ctlsdaq1/support-7.0-rhel7/opt/epics/modules/areaDetector-3-2/ADSupport/lib/linux-x86_64/
total 19768
-r-xr-xr-x 1 ctlsdaq ctlsdaq   318392 Jul 30 11:37 libzlib.so
-r--r--r-- 1 ctlsdaq ctlsdaq   461134 Jul 30 11:37 libzlib.a
-r-xr-xr-x 1 ctlsdaq ctlsdaq  6955584 Jul 30 11:38 libxml2.so
-r--r--r-- 1 ctlsdaq ctlsdaq 12405952 Jul 30 11:38 libxml2.a


bluegill2> ls -ltr /net/helios/ctlsdaq1/support-7.0-rhel6/opt/epics/modules/areaDetector-3-2/ADSupport/lib/linux-x86_64/
total 13948
-r-xr-xr-x 1 ctlsdaq ctlsdaq  259335 Jul 27 17:29 libzlib.so
-r--r--r-- 1 ctlsdaq ctlsdaq  389926 Jul 27 17:29 libzlib.a
-r-xr-xr-x 1 ctlsdaq ctlsdaq 4970081 Jul 27 17:31 libxml2.so
-r--r--r-- 1 ctlsdaq ctlsdaq 8581480 Jul 27 17:31 libxml2.a
bluegill2>


On 12/7/18 5:41 PM, Mark Rivers via Tech-talk wrote:

There should be no difference of RHEL6 and RHEL7 for this.  I suspect that on RHEL7 ADSupport is being found and that contain libzlib.so and somehow that is missing on RHEL6.

 

Mark

 

 

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

 

 

 

I am not sure. All his stuff works fine on rhel7. I am doing rhel6 for now. Sinisa has to build stuff manually rhel6.

He is gone for another week, and I will bug him then. Also I will soon move to rhel7 and avoid this problem.

 

T

 


From: Mark Rivers <[email protected]>
Sent: Friday, December 7, 2018 5:37:45 PM
To: Madden, Timothy J.
Cc: [email protected]
Subject: Re: AD R3-2 libzlib.so

 

How could this be working for Sinesa or anyone else?

Sent from my iPhone

On Dec 7, 2018, at 5:34 PM, Madden, Timothy J. <[email protected]<mailto:[email protected]>> wrote:


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]<mailto:[email protected]>>
Sent: Friday, December 7, 2018 11:35:40 AM
To: Madden, Timothy J.; [email protected]<mailto:[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]<mailto:[email protected]>>
Sent: Friday, December 7, 2018 10:44 AM
To: [email protected]<mailto:[email protected]>
Cc: Mark Rivers <[email protected]<mailto:[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

-- 
Siniša Veseli
Scientific Software Engineering & Data Management
Advanced Photon Source
Argonne National Laboratory
[email protected]
(630)252-9182 

References:
AD R3-2 libzlib.so Madden, Timothy J. via Tech-talk
RE: AD R3-2 libzlib.so Mark Rivers via Tech-talk
Re: AD R3-2 libzlib.so Madden, Timothy J. via Tech-talk
Re: AD R3-2 libzlib.so Mark Rivers via Tech-talk
Re: 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: Makefile question 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: Makefile question 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, 09 Dec 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·