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

Subject: Re: how to install alh on raspberry pi 4
From: Huyn Woo Ryu via Tech-talk <tech-talk at aps.anl.gov>
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 28 Apr 2021 09:19:14 +0900
Hi, Mark
Thank you for your reply

Before this error occurred, I had the below error.

make -C O.linux-arm -f ../Makefile TOP=../../.. \
    T_A=linux-arm install
make[1]: Entering directory '/home/pi/epics/extensions/src/alh1_2_35/O.linux-arm'
make[1]: *** No rule to make target '../../../lib/linux-arm/libX11.a', needed by 'alh'.  Stop.
make[1]: Leaving directory '/home/pi/epics/extensions/src/alh1_2_35/O.linux-arm'
make: *** [../../../base/configure/RULES_ARCHS:58: install.linux-arm] Error 2

So I confirmed the location of libX11.a and  copied this file( /usr/lib/arm-linux-gnueabihf/libX11.a ) to  /home/pi/epics/base-3.15.8/lib/linux-arm/.

pi@raspberrypi:~/epics/extensions/src/alh1_2_35 $ locate libX11.a
/usr/lib/arm-linux-gnueabihf/libX11.a




On Tue, Apr 27, 2021 at 8:42 PM Mark Rivers <rivers at cars.uchicago.edu> wrote:
Hi Ryu,

I have not worked with linux-arm, so I may be off base.

Error messages like this:
/usr/bin/ld: /home/pi/epics/base-3.15.8/lib/linux-arm/libX11.a(CrGlCur.o): undefined reference to symbol 'dlopen@@GLIBC_2.4'

often mean that the version of gcc (which supplies GLBIC) is older than the version required by a library you are using.

 Where did you get this file?   /home/pi/epics/base-3.15.8/lib/linux-arm/libX11.a

That seems like an unusual location for the X11 library file.

Mark



From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Huyn Woo Ryu via Tech-talk <tech-talk at aps.anl.gov>
Sent: Tuesday, April 27, 2021 4:51 AM
To: tech-talk at aps.anl.gov
Subject: how to install alh on raspberry pi 4
 

 Hi,I installed base-3.15.8 successfully on raspberry piBut when I install 'alh1_2_35' on raspberry pi OS(kernel version 5.10) on raspberry pi 4, it can't make successfully, the err as follows:
/usr/bin/ld: /home/pi/epics/base-3.15.8/lib/linux-arm/libX11.a(CrGlCur.o): undefined reference to symbol 'dlopen@@GLIBC_2.4'
/usr/bin/ld: //lib/arm-linux-gnueabihf/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [../../../../base/configure/RULES_BUILD:204: alh] Error 1
make[1]: Leaving directory '/home/pi/epics/extensions/src/alh1_2_35/O.linux-arm'
make: *** [../../../base/configure/RULES_ARCHS:58: install.linux-arm] Error 2   I don't know how to fix it, could you give me some advice on it?Please, Help me! I consumed many time for this problem.Ryu     

Replies:
Re: how to install alh on raspberry pi 4 Huyn Woo Ryu via Tech-talk
Re: how to install alh on raspberry pi 4 Mark Rivers via Tech-talk
References:
how to install alh on raspberry pi 4 Huyn Woo Ryu via Tech-talk
Re: how to install alh on raspberry pi 4 Mark Rivers via Tech-talk

Navigate by Date:
Prev: Channel Finder bob dalesio via Tech-talk
Next: Re: how to install alh on raspberry pi 4 Huyn Woo Ryu 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: how to install alh on raspberry pi 4 Mark Rivers via Tech-talk
Next: Re: how to install alh on raspberry pi 4 Huyn Woo Ryu 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  <20212022  2023  2024 
ANJ, 27 Apr 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·