libjli.so not found through SaltStack

Pete Wright pete at nomadlogic.org
Tue May 12 16:56:04 UTC 2020



On 5/12/20 9:36 AM, Julien Cigar wrote:
> 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)

shot in the dark but have you ensured JAVA_HOME environment variable is 
set on your salt minion when executing this command?

-pete

-- 
Pete Wright
pete at nomadlogic.org
@nomadlogicLA



More information about the freebsd-questions mailing list