Fork me on GitHub

Opened 2 years ago

Last modified 2 years ago

#1539 new How to

error while loading shared libraries

Reported by: Jing Owned by:
Priority: major Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Pythia8 Cc:

Description

Hi there,

Was just looking forward to running Pythia within Delphes. I made sure that the needed executable DelphesPythia8 compiled fine, though when trying to run with an example command ( ./DelphesPythia8 cards/delphes_card_ATLAS.tcl examples/Pythia8/jet.cmnd test.root ), there returned the below error:
./DelphesPythia8: error while loading shared libraries: libpythia8.so: cannot open shared object file: No such file or directory

Pythia8 and Delphes are both installed in the same directory on my end, and the library required in the above error message was indeed present in the /lib sub-directory, i.e.

[jing55472555@login01 everything]$ls
bin Delphes-3.5.0 fastjet-3.4.0 HepMC-2.06.09 include LHAPDF-6.2.1 lib pythia8307 share zlib-1.2.8
[jing55472555@login01 everything]$ls lib/
libpythia8.so
(with other libraries removed here)

Was wondering did I miss to explicitly set some configurations? Any suggestions would be greatly appreciated!

Best,
Jing

Change History (1)

comment:1 by Pavel Demin, 2 years ago

The instructions and scripts for DelphesPythia8 work with Pythia 8.2.

Pythia 8.2 provides only static library libpythia8.a by default.

Pythia 8.3 provides both static library libpythia8.a and dynamic library libpythia8.so.

I do not have instructions for Pythia 8.3. So the easiest solution at the moment is to use Pythia 8.2.

Note: See TracTickets for help on using tickets.