[MacPorts] #58629: Geant4 Source Script Clashes With Root

MacPorts noreply at macports.org
Sat Jun 22 04:42:31 UTC 2019


#58629: Geant4 Source Script Clashes With Root
---------------------------+----------------------
  Reporter:  StevenGreen1  |      Owner:  mojca
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  geant4.10.3   |
---------------------------+----------------------

Old description:

> Hi,
>
> My name is Steve Green, I'm a post doc working at the university of
> Cambridge.  I recently built geant4 using MacPorts on my machine and then
> sourced the geant4.sh script to have the relevant libraries in my path
> for building a separate piece of code.  When I sourced this script, it
> lead to problems with my root build due to changes in the
> DYLD_LIBRARY_PATH environment variable.  Is there some way this can be
> altered so that I can simultaneously use both geant4 and root please?
>
> Thanks in advance.
> Best Wishes
> Steve
>
> The error when trying to use root after source the geant4 setup script:
>
> stevengreen$ root -l
> dyld: Symbol not found: __cg_jpeg_resync_to_restart
>   Referenced from:
> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
>   Expected in: /opt/local/lib/libJPEG.dylib
>  in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
> Abort trap: 6

New description:

 Hi,

 My name is Steve Green, I'm a post doc working at the university of
 Cambridge.  I recently built geant4 using MacPorts on my machine and then
 sourced the geant4.sh script to have the relevant libraries in my path for
 building a separate piece of code.  When I sourced this script, it lead to
 problems with my root build due to changes in the DYLD_LIBRARY_PATH
 environment variable.  Is there some way this can be altered so that I can
 simultaneously use both geant4 and root please?

 Thanks in advance.
 Best Wishes
 Steve

 The error when trying to use root after source the geant4 setup script:
 {{{
 stevengreen$ root -l
 dyld: Symbol not found: __cg_jpeg_resync_to_restart
   Referenced from:
 /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
   Expected in: /opt/local/lib/libJPEG.dylib
  in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
 Abort trap: 6
 }}}

--

Comment (by mf2k):

 In the future, please use WikiFormatting.

-- 
Ticket URL: <https://trac.macports.org/ticket/58629#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list