Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2020 09:56:00 -0700
From:      Pete Wright <pete@nomadlogic.org>
To:        Julien Cigar <julien@perdition.city>, freebsd-questions@freebsd.org
Subject:   Re: libjli.so not found through SaltStack
Message-ID:  <87613aff-1ccc-2007-4da8-6606e1445e44@nomadlogic.org>
In-Reply-To: <20200512163612.GA3085@x1>
References:  <20200512163612.GA3085@x1>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help


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@nomadlogic.org
@nomadlogicLA




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?87613aff-1ccc-2007-4da8-6606e1445e44>