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  <20142015  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  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: 答复: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL]
From: 米清茹 <[email protected]>
To: "LYNCH, Damien" <[email protected]>, Jani Hakala <[email protected]>, Hinko Kocevar <[email protected]>, "[email protected]" <[email protected]>
Date: Fri, 13 Jun 2014 05:59:44 +0000
Hi Lynch, Jani, Hinko,

You are right! The expat-devel package hasn't installed. After I installed the expat-devel package with yum, libexpat.so was also installed into /usr/lib64.

Thank you very much!


Qingru Mi



发件人: LYNCH, Damien [[email protected]]
发送时间: 2014年6月12日 14:00
到: 米清茹; [email protected]
主题: RE: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL]

Hi Qingru,

 

Glad to hear it’s working. I suspect the real problem is the expat-devel package is not installed.

 

Damien

 

From: 米清茹 [mailto:[email protected]]
Sent: Thursday, 12 June 2014 3:32 PM
To: LYNCH, Damien; [email protected]
Subject:
答复: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL]

 

Hi Lynch,
    There wasn't libexpat.so. After I created the link, the HelloWorld was built without any error.
    Thank you very much!

Qingru Mi
   


发件人: LYNCH, Damien [[email protected]]
发送时间: 2014612 11:59
: 米清茹; [email protected]
主题: RE: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL]

Although you don’t mention libexpat.so. Does that exist?  If not you could create it as a link to libexpat.so.1.

 

From: LYNCH, Damien
Sent: Thursday, 12 June 2014 1:52 PM
To: LYNCH, Damien; ???; [email protected]
Subject: RE: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL]

 

Sorry, ignore that I missed I can find libexpat.so.1 and libexpat.so.1.5.2 in /lib64 in your message.

 

From: [email protected] [mailto:[email protected]] On Behalf Of LYNCH, Damien
Sent: Thursday, 12 June 2014 1:50 PM
To: ???; [email protected]
Subject: RE: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL]

 

Hi,

 

I assume expat is the Expat XML parser library. Do you have that installed?

 

Damien

 

From: [email protected] [mailto:[email protected]] On Behalf Of ???
Sent: Thursday, 12 June 2014 1:29 PM
To: [email protected]
Subject: Compiling helloWorld of EPICS V4 on 64bit linux had a link error

 

Hi,

    I compiled the EPICS-CPP-4.3.0 on 64bit centos6.5. As the HelloWorld in exampleCPP was compiled, an error occured. The error information shows below:

/usr/bin/g++ -o HelloService  -L/BLC/epics/v4/EPICS-CPP-4.3.0/pvAccessCPP/lib/linux-x86_64 -L/BLC/epics/v4/EPICS-CPP-4.3.0/pvDataCPP/lib/linux-x86_64 -Wl,-rpath,/BLC/epics/v4/EPICS-CPP-4.3.0/pvAccessCPP/lib/linux-x86_64 -Wl,-rpath,/BLC/epics/v4/EPICS-CPP-4.3.0/pvDataCPP/lib/linux-x86_64       -m64               HelloServiceMain.o HelloService.o    -lpvAccess -lpvData  -lexpat
/usr/bin/ld: cannot find -lexpat
collect2: ld returned 1 exit status
make[2]: *** [HelloService] Error 1
make[2]: Leaving directory `/BLC/epics/v4/EPICS-CPP-4.3.0/exampleCPP/HelloWorld/helloWorldApp/O.linux-x86_64'
make[1]: *** [install.linux-x86_64] Error 2
make[1]: Leaving directory `/BLC/epics/v4/EPICS-CPP-4.3.0/exampleCPP/HelloWorld/helloWorldApp'
make: *** [helloWorldApp.install] Error 2

I can find libexpat.so.1 and libexpat.so.1.5.2 in /lib64.

How to resolve the problem?


Qingru Mi
SSRF


Replies:
RE: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL] david.hickin
References:
RE: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL] LYNCH, Damien
RE: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL] LYNCH, Damien
RE: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL] LYNCH, Damien
答复: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL] 米清茹
RE: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL] LYNCH, Damien

Navigate by Date:
Prev: Re: EPICS database Feature request Andrew Johnson
Next: RE: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL] david.hickin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL] LYNCH, Damien
Next: RE: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL] david.hickin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·