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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: edm and other extensions on 64-bit SL machines
From: Mark Rivers <[email protected]>
To: "'Pierrick Hanlet'" <[email protected]>, Jennings Guy <[email protected]>
Cc: Tech Talk <[email protected]>
Date: Fri, 31 Aug 2012 22:44:38 +0000

And is there a libXm.a, or only libXm.so?

 

From: Pierrick Hanlet [mailto:[email protected]]
Sent: Friday, August 31, 2012 5:27 PM
To: Jennings Guy
Cc: Mark Rivers; Tech Talk
Subject: Re: edm and other extensions on 64-bit SL machines

 

Hi all,
I do have EPICS_HOST_ARCH set to linux-x86_64.  I'm confident that this is correct since
the O.linux-x86_64 directories are created.  I also do have openMotif-devel.  I attempted
to yum install the non-64 bit versions of the libraries, but yum didn't allow me to do so.
My base appears to have built correctly, as I noticed that it pointed to 64 bit libraries.

Both edm and alh require libXm (and perhaps others of that suite).  Each fail to build with
the error:
 No rule to make target `/usr/lib/libXm.a'.
This tells me that it searched and expects to find the library in /usr/lib.  If I understand things
correctly, should it not be searching in /usr/lib64 since that is where the libraries reside?
Thanks,
Pierrick


On 08/31/2012 04:30 PM, Jennings Guy wrote:

 
On Aug 31, 2012, at 4:18 PM, Mark Rivers wrote:
 
You need to set EPICS_HOST_ARCH to linux-x86_64 so that you are building a 64-bit application, not a 32-bit application.
 
You also need to make sure you have installed the openMotif package, which many newer Linux distributions do not include by default.
 
You'll need the openmotif-devel package as well
 
 
Mark
 
 
From: [email protected] [mailto:[email protected]] On Behalf Of Pierrick Hanlet
Sent: Friday, August 31, 2012 4:06 PM
To: Tech Talk
Subject: edm and other extensions on 64-bit SL machines
 
Hi,
I'm using 3.14.12 on a 64-bit Scientific Linux machine.  I'm attempting to build extensions
such as edm, but always fail when the linker asks for libraries such as libXm, etc.  The
message states that it is searching for the libraries in /usr/lib, but as a 64-bit machine,
these libraries are in /usr/lib64.  I've searched tech-talk archives, but have been unsuccessful
in finding what switch (flag) I need to set to force it to link to the correct libraries.  Would
someone kindly point me in the right direction?
Thanks,
Pierrick
-- 
"Whether you think you can or think you can't, either way, you are correct" -- Henry Ford
_______________________________________________________________
Pierrick Hanlet
IIT/Fermilab
+1-630-840-5555 (FNAL)
+1-312-567-5745 (IIT)
+1-630-697-8758/+44-79-48-860-197 (US/UK mobile)
 
 

 

--
"Whether you think you can or think you can't, either way, you are correct" -- Henry Ford
_______________________________________________________________
Pierrick Hanlet
IIT/Fermilab
+1-630-840-5555 (FNAL)
+1-312-567-5745 (IIT)
+1-630-697-8758/+44-79-48-860-197 (US/UK mobile)


Replies:
Re: edm and other extensions on 64-bit SL machines Pierrick Hanlet
References:
edm and other extensions on 64-bit SL machines Pierrick Hanlet
RE: edm and other extensions on 64-bit SL machines Mark Rivers
Re: edm and other extensions on 64-bit SL machines Jennings Guy
Re: edm and other extensions on 64-bit SL machines Pierrick Hanlet

Navigate by Date:
Prev: RE: edm and other extensions on 64-bit SL machines Mark Rivers
Next: Re: edm and other extensions on 64-bit SL machines Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: edm and other extensions on 64-bit SL machines Mark Rivers
Next: Re: edm and other extensions on 64-bit SL machines Pierrick Hanlet
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·