Message: Re: Problem building 10.5-beta on MacOSX with GDML (Xerces-C) support Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: Problem building 10.5-beta on MacOSX with GDML (Xerces-C) support 

Forum: Installation and Configuration
Re: Warning Problem building 10.5-beta on MacOSX with GDML (Xerces-C) support (Michael H. Kelsey)
Re: Question Re: Problem building 10.5-beta on MacOSX with GDML (Xerces-C) support (Ben Morgan)
Date: 24 Jul, 2018
From: Michael H. Kelsey <Michael H. Kelsey>

On Tue, 24 Jul 2018 08:40:15 GMT, Ben Morgan wrote:
> On Fri, 20 Jul 2018 20:16:17 GMT, Michael H. Kelsey wrote:
> > The |make| step fails in G4persistency, with _no_ compilation messages
> > at all:
> > 
> > [ 86%] Linking CXX shared library ../../BuildProducts/lib/libG4persistency.dylib
> > Undefined symbols for architecture x86_64:
> >   "_CFRelease", referenced from:
> >       xercesc_3_2::MacOSUnicodeConverter::upperCase(unsigned short*) in libxercesc.a(MacOSUnicodeConverter.o)
> 
> How did you install xerces, and are the dylibs (as opposed to the static
> lib it's trying to link) present? Xerces does link to other libs
> (CoreFoundation for one, which I think is where _CFRelease comes form),
> so linking to the static version will require knowledge of these so they
> are added to the link line correctly. Xerces should provide that through
> the XercesCConfig.cmake file it installs.

Hi, Ben. I installed Xerces-C using their direct |./configure| and |make install| actions, as described in their installation instructions.

The reference to libxercesc.a above was my attempt to get around these link errors: I have been using libxercesc.dylib (from their 3.1 release) successfully with all Geant4 builds (going back to 9.4!), including 10.4-patch-02. It's only the 10.5 build which started showing these failures, so I tried (a) switching from shared to static, and (b) upgrading from 3.1 to 3.2.1.

 -- Mike

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Question: Re: Problem building 10.5-beta on MacOSX with GDML (Xerces-C) support   (Ben Morgan - 25 Jul, 2018)
(_ Feedback: Re: Problem building 10.5-beta on MacOSX with GDML (Xerces-C) support   (Michael H. Kelsey - 25 Jul, 2018)
(_ None: Re: Problem building 10.5-beta on MacOSX with GDML (Xerces-C) support   (Ben Morgan - 26 Jul, 2018)
(_ Ok: Re: Problem building 10.5-beta on MacOSX with GDML (Xerces-C) support   (Michael H. Kelsey - Dec 07, 15:19)
 Add Message Add Message
to: "Re: Problem building 10.5-beta on MacOSX with GDML (Xerces-C) support"

 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 ]