Problem 885

Summary: Configure -ldlibs give wrong list for global dyld libraries on Mac OS X
Product: Geant4 Reporter: jasondet
Component: configAssignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 8.1   
Hardware: Other   
OS: Other   

Description jasondet 2006-08-24 19:37:26 CEST
I compiled global dyld libraries on Mac OS X, and I found that running

$G4INSTALL/Configure -ldlibs

gives the wrong list of libraries. In particular, the following libraries appear
in the list:

-lG4UIbasic -lG4UIcommon -lG4UIGAG

These should probably all be replaced by -linterfaces, no?
Comment 1 jasondet 2006-08-25 15:24:59 CEST
An update: I compiled granular dyld libraries (and no static libraries), and now
"Configure -ldlibs" outputs nothing!
Comment 2 Gabriele Cosmo 2006-10-05 10:25:59 CEST
> I compiled global dyld libraries on Mac OS X, and I found that running
> $G4INSTALL/Configure -ldlibs
> gives the wrong list of libraries. In particular, the following libraries appear in the list:
> -lG4UIbasic -lG4UIcommon -lG4UIGAG
>These should probably all be replaced by -linterfaces, no?

No. If that list appears it's because you installed granular libraries, as such it is correct.
There are other problems with the -ldlibs option to Configure, but this will be reported
in a different bug-report.

> An update: I compiled granular dyld libraries (and no static libraries), and now
> "Configure -ldlibs" outputs nothing!

You're right. Thanks for reporting this!  The problem has been fixed (actually in the
liblist program, not in Configure) and the fix will be available in the next release or
patch.