Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2020 18:36:12 +0200
From:      Julien Cigar <julien@perdition.city>
To:        freebsd-questions@freebsd.org
Subject:   libjli.so not found through SaltStack
Message-ID:  <20200512163612.GA3085@x1>

Next in thread | Raw E-Mail | Index | Archive | Help
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.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20200512163612.GA3085>