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: RE: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL]
From: "LYNCH, Damien" <[email protected]>
To: ??? <[email protected]>, "[email protected]" <[email protected]>
Date: Thu, 12 Jun 2014 03:59:03 +0000

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:
答复: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL] 米清茹
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

Navigate by Date:
Prev: RE: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL] LYNCH, Damien
Next: 答复: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL] 米清茹
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: 答复: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL] 米清茹
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 ·