EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [Merge] ~bhill/epics-base:shared-rpath-independent-of-static-build into epics-base:7.0
From: rivers via Core-talk <[email protected]>
To: Bruce Hill <[email protected]>
Date: Thu, 26 Sep 2019 11:04:42 -0000
I believe this is a problem I have been noticing recently when using base 7.0.3.

When I build ADPointGrey statically it does not find the vendor library I installed and linked with libflycapture.so.2.  Here is the output of ldd. 

ADPointGrey>ldd iocs/pointGreyIOC/bin/linux-x86_64/pointGreyApp

        linux-vdso.so.1 =>  (0x00007ffc83dd4000)

        libflycapture.so.2 => not found

        libX11.so.6 => /lib64/libX11.so.6 (0x00007f8ef5c62000)

        libXext.so.6 => /lib64/libXext.so.6 (0x00007f8ef5a50000)

        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8ef5834000)

        libreadline.so.6 => /lib64/libreadline.so.6 (0x00007f8ef55ee000)

        librt.so.1 => /lib64/librt.so.1 (0x00007f8ef53e6000)

        libdl.so.2 => /lib64/libdl.so.2 (0x00007f8ef51e2000)

        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f8ef4edb000)

        libm.so.6 => /lib64/libm.so.6 (0x00007f8ef4bd9000)

        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f8ef49c3000)

        libc.so.6 => /lib64/libc.so.6 (0x00007f8ef45f6000)

        libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f8ef43ce000)

        /lib64/ld-linux-x86-64.so.2 (0x00007f8ef5fa0000)

        libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00007f8ef41a4000)

        libXau.so.6 => /lib64/libXau.so.6 (0x00007f8ef3fa0000)

 
I have to to add ADPointGrey/lib/linux-x86_64 to my LD_LIBRARY_PATH.

corvette:~/devel/areaDetector/ADPointGrey>setenv LD_LIBRARY_PATH /home/epics/devel/areaDetector/ADPointGrey/lib/linux-x86_64

Now when I run ldd it finds the library:

corvette:~/devel/areaDetector/ADPointGrey>ldd iocs/pointGreyIOC/bin/linux-x86_64/pointGreyApp

        linux-vdso.so.1 =>  (0x00007ffe5e4ed000)

        libflycapture.so.2 => /home/epics/devel/areaDetector/ADPointGrey/lib/linux-x86_64/libflycapture.so.2 (0x00007efcdedc2000)

        libX11.so.6 => /lib64/libX11.so.6 (0x00007efcdea84000)

...
-- 
https://code.launchpad.net/~bhill/epics-base/+git/epics-base/+merge/373243
Your team EPICS Core Developers is requested to review the proposed merge of ~bhill/epics-base:shared-rpath-independent-of-static-build into epics-base:7.0.

References:
[Merge] ~bhill/epics-base:shared-rpath-independent-of-static-build into epics-base:7.0 Bruce Hill via Core-talk

Navigate by Date:
Prev: Build failed: epics-base base-7.0-314 AppVeyor via Core-talk
Next: Re: [Merge] ~bhill/epics-base:shared-rpath-independent-of-static-build into epics-base:7.0 rivers via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: [Merge] ~bhill/epics-base:shared-rpath-independent-of-static-build into epics-base:7.0 Bruce Hill via Core-talk
Next: Re: [Merge] ~bhill/epics-base:shared-rpath-independent-of-static-build into epics-base:7.0 rivers via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
ANJ, 26 Sep 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·