| Summary: | ld cannot find -lCLHEP on compiling (in final linking stage) | ||
|---|---|---|---|
| Product: | Examples/Basic and Novice | Reporter: | jlidgard |
| Component: | N01 | Assignee: | Gabriele Cosmo <Gabriele.Cosmo> |
| Status: | CLOSED INVALID | ||
| Severity: | normal | CC: | htktrang |
| Priority: | P2 | ||
| Version: | other | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
jlidgard
2003-08-07 11:14:30 CEST
when i installed the new CLHEP library, the library was named libCLHEP-g++.1.8.0.0.a geant4 was looking for libCLHEP.a fixed with a symbolic link /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: cannot find -llibCLHEP.a collect2: ld returned 1 exit status make: *** [c:/geant4/geant4work/bin/WIN32-g++/exampleN01] Error 1 --------------- In my pc the ld.exe file locates at /usr/i686-pc-cygwin/bin. There is no dir/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ htktrang@popx.tokai.jaeri.go.jp wrote: > /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: > cannot find -llibCLHEP.a Please, read our FAQ ! This report was related to Linux systems. You're talking about Windows... On Windows the CLHEP library file must be named CLHEP.lib. |