Giter Site home page Giter Site logo

Comments (9)

plexoos avatar plexoos commented on August 15, 2024

I just compiled root4star against both root6.16 and root6.24. The executables work for me

$ which root4star
.sl73_x8664_gcc485/bin/root4star
$ root4star -b
   ------------------------------------------------------------------
  | Welcome to ROOT 6.24/00                        https://root.cern |
  | (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for linuxx8664gcc on Apr 14 2021, 14:33:50                 |
  | From tags/v6-24-00@v6-24-00                                      |
  | With g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)                 |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'       |
   ------------------------------------------------------------------

This problem is similar to Table in spack(Jason), why this table was removed from the Spack.

How is it similar? Does cons complain about zlib version when you link to libTable? Table was not removed from Spack but Jason added the code in StRoot/Table

from star-sw.

plexoos avatar plexoos commented on August 15, 2024

Your runtime environment may be set up incorrectly. When you load packages into your environment via spack or environment modules your LD_LIBRARY_PATH is updated accordingly. So, this:

root4star: /lib64/libz.so.1: version `ZLIB_1.2.9' not found

may indicate that dynamic loader is not looking in the correct location for the library

from star-sw.

perevbnlgov avatar perevbnlgov commented on August 15, 2024

I found the problem and made a workaround

When I run root4star 6.24 it requests library libpng16.so
This lirary exists in Spack as libpng16.so
libpng16 in its turn, requests libz.so version 1.2.9.
Such lirary exists in Spack, version 1.2.11 but not used.
Linker is trying to use standard /lib64/libz.so with more old version 1.2.7
with no success
I found in Spack library with version 1.2.11
/cvmfs/star.sdcc.bnl.gov/star-spack/spack/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/zlib-1.2.11-vhzh5cfaki5lx5sjuth5iuojq5azdkbd/lib/
and added it to LD_LIBRARY_PATH
After it root4star loaded.
It is a hack, it must be some more elegant way
Victor

from star-sw.

perevbnlgov avatar perevbnlgov commented on August 15, 2024

Sorry guys,
it was my fault. No need to change Spack installation.
Victor

from star-sw.

starsdong avatar starsdong commented on August 15, 2024

Victor, I see there are quite some discussions related to the ROOT6 development. It seems some (at least this one) are settled. Do you have anything that you want to bring up at tomorrow's S&C man meeting?

from star-sw.

perevbnlgov avatar perevbnlgov commented on August 15, 2024

from star-sw.

plexoos avatar plexoos commented on August 15, 2024

Sounds like the original issue has been resolved

from star-sw.

starsdong avatar starsdong commented on August 15, 2024

from star-sw.

perevbnlgov avatar perevbnlgov commented on August 15, 2024

from star-sw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.