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  2018  2019  2020  2021  2022  2023  2024  <2025 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  2018  2019  2020  2021  2022  2023  2024  <2025
<== Date ==> <== Thread ==>

Subject: Re: EPICS INSTALL_LOCATION/FINAL_LOCATION doesn't work?
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: "Johnson, Andrew N." <anj at anl.gov>
Cc: EPICS Tech-Talk <tech-talk at aps.anl.gov>
Date: Tue, 21 Jan 2025 14:28:21 -0800
On 1/21/25 11:33, Johnson, Andrew N. via Tech-talk wrote:
Hi Lewis,

I think your recipe needs to be something like I’ve shown below, which (after experimentation and carefully reading the Release Notes) works for me on a RHEL-8 system. I suspect this doesn’t need LD_LIBRARY_PATHto be set at all though. The PYTHON=python3setting is only necessary for RHEL-8 and above — EPICS builds only need python when you set LINKER_USE_RPATH=ORIGIN. I am planning to replace the Python script with Perl though (thanks Argo!).


fyi. an example recipe from an old RPM build.

https://urldefense.us/v3/__https://github.com/mdavidsaver/epics-base/blob/f85044e16882165f010196e05e826c37b5a18a38/epics-base.spec*L68-L83__;Iw!!G_uCfscf7eWS!cDUqKhR5UH4pYqeUpWOikJr1-RkOFNOK_qSjS42yswZvLvf2qqe3BmtjfUxmo9P-QliLyuTsBu7jsGr7nJB8gxN4cg$
Last I checked, even with ORIGIN, the LD_LIBRARY_PATH needs to be set during a build.
And it should not cause problems if it isn't necessary.


The epicsdeb builds do the same, but parts of that process are hidden away in some perl
scripts, and so are harder to follow ;)


References:
EPICS INSTALL_LOCATION/FINAL_LOCATION doesn't work? J. Lewis Muir via Tech-talk
Re: EPICS INSTALL_LOCATION/FINAL_LOCATION doesn't work? Johnson, Andrew N. via Tech-talk

Navigate by Date:
Prev: Re: EPICS INSTALL_LOCATION/FINAL_LOCATION doesn't work? Han Lee via Tech-talk
Next: Re: EPICS INSTALL_LOCATION/FINAL_LOCATION doesn't work? J. Lewis Muir 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  2018  2019  2020  2021  2022  2023  2024  <2025
Navigate by Thread:
Prev: Re: EPICS INSTALL_LOCATION/FINAL_LOCATION doesn't work? Han Lee via Tech-talk
Next: Re: EPICS INSTALL_LOCATION/FINAL_LOCATION doesn't work? J. Lewis Muir 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  2018  2019  2020  2021  2022  2023  2024  <2025
ANJ, 22 Jan 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·