| Summary: | config/liblist.c give no output on OSX as doesnt look for lib*.dylib | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | blyth |
| Component: | config | Assignee: | Gabriele Cosmo <Gabriele.Cosmo> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 8.1 | ||
| Hardware: | All | ||
| OS: | Other | ||
The problem with OSX is already fixed in release 8.2.
From release notes for 8.2:
"- Fixed issue on MacOS for -ldlibs option to the Configure script:
added .dylib search in liblist.c for list of libraries.
Addressing problem report #885."
Please, try updating to release 8.2.
Thanks for the suggestion on gets()!
|
The liblist utility ... ${GEANT_LIBDIR}/liblist -m ${GEANT_LIBDIR} < ${GEANT_LIBDIR}/libname.map gives no output on OSX, as it only looks for lib*.a , lib*.so but not lib*.dylib rather than giving the expected output of : -lG4detutils -lG4persistency -lG3toG4 -lG4readout -lG4gflash -lG4RayTracer -lG4visHepRep - lG4geomdivision -lG4FR -lG4decay -lG4brep -lG4OpenGL -lG4visXXX -lG4Tree -lG4muons etc.... Also a harmless warning : "warning: this program uses gets(), which is unsafe." can easily be removed by using .. fgets( buffer , LINE_BUF_SIZE, stdin); instead of gets()