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