libjli.so not found through SaltStack

Julien Cigar julien at perdition.city
Tue May 12 16:36:24 UTC 2020


Hello,

I'm facing a strange error while running the
"/usr/local/openjdk8/bin/java" through SaltStack cmd.run state.
For some reason libjli.so is not found.

I modified the state with some debugging info: 
https://gist.githubusercontent.com/silenius/d71ee37ce9700da7dcd3a7c2f110b414/raw/cb1ca43cc07f1eea5cf663906a0d46d16a35ec80/gistfile1.txt

Some obersvations:
- I don't see a DT_FLAGS, which means that $ORIGIN wouldn't work
- It looks like rtld doesn't actually check DT_FLAGS

Any idea ..?

(when I'm running the java -jar command from shell it works)

Thanks

-- 
Julien Cigar
Belgian Biodiversity Platform (http://www.biodiversity.be)
PGP fingerprint: EEF9 F697 4B68 D275 7B11  6A25 B2BB 3710 A204 23C0
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.


More information about the freebsd-questions mailing list