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
From: Hinko Kocevar <[email protected]>
To: 米清茹 <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thu, 12 Jun 2014 15:54:30 +0200
Hi,

looking at the SL6.3 installation, I got my libexpat from the package named ‘expat’.

[devenv@localhost ~]$ repoquery -ql expat
/lib/libexpat.so.1
/lib/libexpat.so.1.5.2
/usr/bin/xmlwf
/usr/share/doc/expat-2.0.1
/usr/share/doc/expat-2.0.1/COPYING
/usr/share/doc/expat-2.0.1/README
/usr/share/man/man1/xmlwf.1.gz
/lib64/libexpat.so.1
/lib64/libexpat.so.1.5.2
/usr/bin/xmlwf
/usr/share/doc/expat-2.0.1
/usr/share/doc/expat-2.0.1/COPYING
/usr/share/doc/expat-2.0.1/README
/usr/share/man/man1/xmlwf.1.gz


Hope that helps,
Hinko


On 12 Jun 2014, at 05:28, 米清茹 <[email protected]> wrote:

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


References:
Compiling helloWorld of EPICS V4 on 64bit linux had a link error 米清茹

Navigate by Date:
Prev: device/driver support for NRM METROLAB PT2025 Jack
Next: Re: Compiling helloWorld of EPICS V4 on 64bit linux had a link error Jani Hakala
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: Compiling helloWorld of EPICS V4 on 64bit linux had a link error 米清茹
Next: Re: Compiling helloWorld of EPICS V4 on 64bit linux had a link error Jani Hakala
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 ·