Error: Version missmatch

Error in TUnixSystem::Load: version mismatch, /direct/star+u/samer/test/.sl73_gcc485/lib/StChain.so = 53430, ROOT = 53438

how to solve this issue ?

Hi @Samer_hisham ,
we’ll need a lot more information to be able to help. Can you provide your ROOT version, info on your platform and operating system, and steps to reproduce the problem?

Cheers,
Enrico

You need to rebuild your “test” suite with your newer ROOT 5.34/38, or you need to downgrade your ROOT to the older 5.34/30 version.

1 Like

Hi
i am using mac and i am trying to run a file i got it from my mentor and this error what i get
root doEvents.c

Error in TUnixSystem::Load: version mismatch, /direct/star+u/samer/test/.sl73_gcc485/lib/StChain.so = 53430, ROOT = 53438

i am using STAR machine

Hello, may i ask silly question?
how i can downgrade root version in Mac ?

Hi @Samer_hisham ,
I would strongly suggest to try out ROOT v6.26.02, ROOT 5 is very old and unmaintained.

See Installing ROOT - ROOT for installation instructions.

Cheers,
Enrico

How did you get the “StChain.so”?

The name “sl73_gcc485” suggests “Scientific Linux 7 / GCC 4.8.5”, so not anything compatible with macOS.

Hello
Upgrading to ROOT 6 will solve the issue ?

Probably. If not, it will at least get you a ROOT version that we can help with :slight_smile:

Well i copied the directory of my mentor from star machine. and when i try to open doEvents.C thats what i get

~/test/> ls
doEvents.C ParticleGun/ Run_test.xml StRoot/ temp_gccflags.c
[rcas6015] ~/test/> root doEvents.C
ROOT 5.34/38 (v5-34-38@v5-34-38, Mar 12 2018, 15:49:39 on linux)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
*** Float Point Exception is OFF ***
*** Start at Date : Wed Apr 20 11:51:03 2022
QAInfo:You are using STAR_LEVEL : pro, ROOT_LEVEL : 5.34.38 and node : rcas6015.rcf.bnl.gov
root.exe [0]
Processing doEvents.C…
Error in TUnixSystem::Load: version mismatch, /direct/star+u/samer/test/.sl73_gcc485/lib/StChain.so = 53430, ROOT = 53438
Warning in TClass::TClass: no dictionary for class StStrangeMuDst is available
Warning in TClass::TClass: no dictionary for class StStrangeAssoc is available
strangeArrayNames-arrayNames-NARRAYS = 0
Error in TUnixSystem::Load: version mismatch, /direct/star+u/samer/test/.sl73_gcc485/lib/StMuDSTMaker.so = 53430, ROOT = 53438
loading of shared libraries done
Error in TUnixSystem::Load: version mismatch, /direct/star+u/samer/test/.sl73_gcc485/lib/St_db_Maker.so = 53430, ROOT = 53438
Error in TUnixSystem::Load: version mismatch, /direct/star+u/samer/test/.sl73_gcc485/lib/StEmcADCtoEMaker.so = 53430, ROOT = 53438
loading of shared libraries done
Error in TUnixSystem::DynamicPathName: /star/u/hamed/test/.sl73_gcc485/rootdeb/lib/libStThirdMaker.so does not exist in /afs/rhic.bnl.gov/star/ROOT/36/5.34.38/.sl73_gcc485/rootdeb/lib:.sl73_gcc485/lib:/afs/rhic.bnl.gov/star/packages/SL21a/.sl73_gcc485/lib:/afs/rhic.bnl.gov/star/ROOT/5.34.38/.sl73_gcc485/rootdeb/lib:ROOT:/afs/rhic.bnl.gov/star/ROOT/Xrootd/prod/.sl73_gcc485/lib:/opt/star/sl73_gcc485/qt4/lib:/opt/star/sl73_gcc485/lib:.:/afs/rhic.bnl.gov/star/ROOT/36/5.34.38/.sl73_gcc485/rootdeb/lib:.sl73_gcc485/lib:/afs/rhic.bnl.gov/star/packages/SL21a/.sl73_gcc485/lib:/afs/rhic.bnl.gov/star/ROOT/5.34.38/.sl73_gcc485/rootdeb/lib:ROOT:/afs/rhic.bnl.gov/star/ROOT/Xrootd/prod/.sl73_gcc485/lib:/opt/star/sl73_gcc485/qt4/lib:/opt/star/sl73_gcc485/lib:/afs/rhic.bnl.gov/star/ROOT/36/5.34.38/.sl73_gcc485/rootdeb/cint/cint/stl
Finished loading libraries
StMessageManager class provides no implementation SetLevel method
inputFile.Data() = *
inputDir.Data() =
Processing *

TChain* StMuChainMaker::make(std::string, std::string, std::string, int) ##### ATTENTION: don’t know how to read input (you may have used a bogus constructor syntax)
void StMuDstMaker::setProbabilityPidFile(const char*) ##### ATTENTION: pid table hardwired to /afs/rhic.bnl.gov/star/packages/SL21a/StarDb/dEdxModel/PIDTableP01gl.root

Info in <St_db_Maker::SetDateTime>: Setting Startup Date=20140318 Time=0
StInfo: ::setPrint() is obsolete. Use logger config file to set verbosity instead.
StInfo: StDbManagerImpl::lookUpServers(): config file name is /afs/rhic.bnl.gov/star/packages/conf/dbLoadBalancerLocalConfig_BNL.xml
There is no 1 /star/u/samer/dbServers.xml
looking at 2 /afs/rhic.bnl.gov/star/packages/SL21a/StDb/servers/dbServers.xml
DB OVERRIDE default user with: samer
StInfo: StDbManagerImpl::lookUpServer() line=704
******** Order of Files searched for dbServers *********
3. /afs/rhic.bnl.gov/star/packages/SL21a/StDb/servers/dbServers.xml


StHyperCacheManager: reading cache config from /afs/rhic.bnl.gov/star/packages/conf/hyperconfig.json
/afs/rhic.bnl.gov/star/ROOT/36/5.34.38/.sl73_gcc485/rootdeb/bin/root.exe: symbol lookup error: /afs/rhic.bnl.gov/star/packages/SL21a/.sl73_gcc485/lib/StDbLib.so: undefined symbol: mysql_init

Your ROOT seems to come from “/afs/rhic.bnl.gov/star/ROOT/5.34.38/”.
Try to switch to: “/afs/rhic.bnl.gov/star/ROOT/5.34.30/
I guess you need to contact your “mentor” to tell you how to do it.

Okay, but how i can switch ? shall i open the file with nedit and change the number ?

sorry i am asking to many questions (i am new to ROOT)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.