Problem 885 - Configure -ldlibs give wrong list for global dyld libraries on Mac OS X
Summary: Configure -ldlibs give wrong list for global dyld libraries on Mac OS X
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: config (show other problems)
Version: 8.1
Hardware: Other Other
: P2 normal
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2006-08-24 19:37 CEST by jasondet
Modified: 2006-10-05 10:26 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.