Re: [ROOT] Beginner can't load ALL the libraries on Mac

From: Remi Mommsen (remigius.mommsen@cern.ch)
Date: Tue Jun 08 2004 - 02:10:42 MEST


Hi,

On Jun 7, 2004, at 12:57 PM, George Japaridze wrote:

> Dear ROOT-ers
>
> I have installed ROOT Version 3.10/02 13 January 2004 on my Macintosh.
>
> Some specifications:
> ProductName:    Mac OS X
> ProductVersion: 10.3.4
> Darwin Kernel Version 7.4.0
> gcc version 3.3 20030304 (Apple Computer, Inc. build 1635) (-mlongcall)
>
> I'm able to load some libraries (e.g. libEG, libGeom) in ROOT session, 
> but some of them give me errors, e.g.
> ++++++++++++++++++++++++++
> oot [1] gSystem->Load("libEGPythia6")
> dlopen error: dlcompat: dyld: /usr/local/root/bin/root.exe Undefined 
> symbols:
> _pychge_
> _pycomp_
> _pyedit_
> _pyevnt_
> _pyexec_
> _pyhepc_
> _pyinit_
> _pylist_
> _pymass_
> _pyname_
> _pyr_
> _pyrget_
> _pyrset_
> _pystat_
> _pytest_
> _pythia6_common_block_address_
> _pyupda_
> _tpythia6_clos
> Load Error: Failed to load Dynamic link library 
> /usr/local/root/lib/libEGPythia6.so
> (int)(-1)
> *** Interpreter error recovered ***
> root [2] gSystem->Load("libEGPythia")
> dlopen error: dlcompat: dyld: /usr/local/root/bin/root.exe Undefined 
> symbols:
> _lucomp_
> _ludat1_
> _ludat2_
> _ludat3_
> _ludat4_
> _ludatr_
> _luexec_
> _lujets_
> _lulist_
> _luname_
> _pyevnt_
> _pyinit_
> _pyint1_
> _pyint2_
> _pyint3_
> _pyint4_
> _pyint5_
> _pypars_
> _pystat_
> _pysubs_
> _pytes
> Load Error: Failed to load Dynamic link library 
> /usr/local/root/lib/libEGPythia.so
> (int)(-1)
> *** Interpreter error recovered ***
> +++++++++++++++++++++
>
> All the libraries are in the same /usr/local/root/lib; looks like that 
> paths and ROOTSYS are defined OK - ROOT runs.
>
> Any ideas for a novice?

You have to load libPythia and libPythia6 first.

HTH,
	Remi

---------------------------------------------------------------------
"What're quantum mechanics?"
"I don't know. People who repair quantums I suppose."
                                   (Rincewind, Terry Pratchett "Eric")

*********************************************************************
Remigius K. Mommsen                 e-mail: mommsen@slac.stanford.edu
University of California, Irvine       URL:    http://cern.ch/mommsen
c/o SLAC                             voice:        ++1 (650) 926-3595
2575 Sand Hill Road #35                fax:        ++1 (650) 926-3882
Menlo Park, CA 94025, US              home:        ++1 (650) 233-9041
*********************************************************************



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET