secure-software-engineering / phasar

A LLVM-based static analysis framework.
Other
930 stars 140 forks source link

Linking error - missing LD_LIBRARY_PATH in install script? #484

Closed janniclas closed 2 years ago

janniclas commented 2 years ago

After installing phasar on Ubunut 21.10 I get the following runtime error. image

I was able to solve this by adding the nested folder /usr/local/phasar/lib/phasar to the LD_LIBRARY_PATH as shown here image

Is this a problem unique to my setup or should this path be added in the setEnvironmentVariables.sh? If it's just missing I can add it in a pull request, I just want to make sure it's not just my problem.

A quick google search indicates that the folders specified in LD_LIBRARY_PATH are not searched recursivly, which indicates to me that we have to explicitly add it.

I used the bootstraph.sh script to build PHASAR.

dristiron03 commented 2 years ago

I was also getting the same issue as yours on Ubuntu 18.04.