Skip to content

listcomponents ignores custom libIRT2.so path #1047

Description

@veprbl

Steps to reproduce: (give a step by step account of how to trigger the bug)

git clone git@github.com:eic/irt.git
git clone git@github.com:eic/epic.git

export CMAKE_INSTALL_PREFIX=$PWD/prefix
export LD_LIBRARY_PATH=$PWD/install/lib:$LD_LIBRARY_PATH
export JANA_PLUGIN_PATH=$PWD/install/lib/EICrecon/plugins

cmake -B irt/build -S irt -DDELPHES=OFF
cmake --build irt/build
cmake --install irt/build

cmake -B epic/build -S epic -DCMAKE_PREFIX_PATH=$PWD/install
cmake --build epic/build

Expected Result: (what do you expect when you execute the steps above)

Everything compiles

Actual Result: (what do you get when you execute the steps above)

[100%] Generating libepic.components
ERROR: failed to load libepic.so: /home/veprbl/for_alex/epic/build/lib/libepic.so: undefined symbol: _ZTVN4IRT23IRTE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions