Experimental Physics and
Industrial Control System
Home
News
About
Base
Modules
Extensions
Distributions
Download
Search
EPICS V4
IRMIS
Talk
Tech-Talk
Mailman
Search
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000
1999
1998
1997
1996
1995
1994
Core-talk
Mailman
Search
2024
QTi-talk
Search
Hw-talk
Search
Bugs
Documents
Links
Licensing
Format page
for printing
Search Tech-talk
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
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
<
2014
>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
<==
Date
==>
<==
Thread
==>
Subject
:
Compiling helloWorld of EPICS V4 on 64bit linux had a link error
From
:
米清茹 <
[email protected]
>
To
:
"
[email protected]
" <
[email protected]
>
Date
:
Thu, 12 Jun 2014 03:28:51 +0000
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
Hinko Kocevar
Re: Compiling helloWorld of EPICS V4 on 64bit linux had a link error
Jani Hakala
Navigate by Date:
Prev:
RE: asyn module installation
Mark Rivers
Next:
RE: Compiling helloWorld of EPICS V4 on 64bit linux had a link error [SEC=UNOFFICIAL]
LYNCH, Damien
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
2021
2022
2023
2024
Navigate by Thread:
Prev:
RE: asyn module installation
Mark Rivers
Next:
Re: Compiling helloWorld of EPICS V4 on 64bit linux had a link error
Hinko Kocevar
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
2021
2022
2023
2024
ANJ
, 17 Dec 2015
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·