Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-7048

Issue while loading libraries that start with the same string

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Medium
    • Resolution: Fixed
    • 5.34/25
    • 6.04.00, 5.34/28
    • CINT, Core Libraries
    • None
    • v5-34-08 but the current branch has the same code
      AliRoot master

    Description

      Hi,

      Inside AliRoot we have 2 libraries.

      • libSTEER.so
      • libSTEERBase.so

      For all our libraries we build the corresponding rootmaps.
      For some of the libraries we get the following warnings:

      root [0] TFile *f = TFile::Open("/hera/alice/miranov/alice-tpc-notes/JIRA/PWGPP-102/data/trans17_v2/job1/AliESDs.root")
      Note: File "/home/miranov/AliRoot/TPCdev/install/lib/libSTEER.so" already loaded
      Note: File "/home/miranov/AliRoot/TPCdev/install/lib/libSTEER.so" already loaded
      Note: File "/home/miranov/AliRoot/TPCdev/install/lib/libSTEER.so" already loaded
      Note: File "/home/miranov/AliRoot/TPCdev/install/lib/libSTEER.so" already loaded
      Note: File "/home/miranov/AliRoot/TPCdev/install/lib/libSTEER.so" already loaded
      Note: File "/home/miranov/AliRoot/TPCdev/install/lib/libSTEER.so" already loaded
      Note: File "/home/miranov/AliRoot/TPCdev/install/lib/libSTEER.so" already loaded
      Note: File "/home/miranov/AliRoot/TPCdev/install/lib/libSTEER.so" already loaded
      Note: File "/home/miranov/AliRoot/TPCdev/install/lib/libSTEER.so" already loaded
      Note: File "/home/miranov/AliRoot/TPCdev/install/lib/libSTEER.so" already loaded
      Note: File "/home/miranov/AliRoot/TPCdev/install/lib/libSTEER.so" already loaded
      Note: File "/home/miranov/AliRoot/TPCdev/install/lib/libSTEER.so" already loaded
      Note: File "/home/miranov/AliRoot/TPCdev/install/lib/libSTEER.so" already loaded
      Note: File "/home/miranov/AliRoot/TPCdev/install/lib/libSTEER.so" already loaded
      Note: File "/home/miranov/AliRoot/TPCdev/install/lib/libSTEER.so" already loaded
      Note: File "/home/miranov/AliRoot/TPCdev/install/lib/libSTEER.so" already loaded

      This happens due to the fact that libSTEER is not recognized as already loaded from the beginning.

      core/base/src/TSystem.cxx line: 1781 is looking for the first occurrence of libSTEER but it finds libSTEERBase and then it stops. It should loop until the end of the string, instead of exiting.

      Best regards,
      Alina

      Attachments

        Activity

          People

            mato Pere Mato Vila
            agrigora Alina Gabriela Grigoras (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: