Message: Re: Cannot find -lexpat Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Cannot find -lexpat  

Forum: Installation and Configuration
Re: Question Cannot find -lexpat (Sam)
Date: 07 Jun, 2012
From: Ben Morgan <Ben Morgan>

Hi Sam,

On Wed, 06 Jun 2012 16:12:28 GMT, Sam wrote:
> Linking exampleN01 /usr/bin/ld: cannot find -lexpat collect2: ld
> returned 1 exit status make: ***
> [/home/analysis/geant4_workdir/bin/Linux-g++/exampleN01] Error 1
> I have tried downloading Expat externally using sudo apt-get install
> expat, but it does not remove the error from cmake.
> Thank you in advance,

Hmm, on Linux, it should as you note default to using the internal Expat, but the link line does seem to be picking up (or at least requesting) a system or other expat library. If you want to use the system Expat with CMake, you'll need the libexpat1 and libexpat1-dev packages on your version of Ubuntu.



 Add Message Add Message
to: "Re: Cannot find -lexpat "

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]