From owner-freebsd-questions@freebsd.org Tue May 12 16:36:24 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 73AC12F3D10 for ; Tue, 12 May 2020 16:36:24 +0000 (UTC) (envelope-from SRS0=nzVC=62=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 49M3N71Z3hz4RsQ for ; Tue, 12 May 2020 16:36:22 +0000 (UTC) (envelope-from SRS0=nzVC=62=perdition.city=julien@bebif.be) Received: from x1 (94.105.105.185.dyn.edpnet.net [94.105.105.185]) by orval.bbpf.belspo.be (Postfix) with ESMTPSA id B59721D4FC65 for ; Tue, 12 May 2020 18:36:16 +0200 (CEST) Date: Tue, 12 May 2020 18:36:12 +0200 From: Julien Cigar To: freebsd-questions@freebsd.org Subject: libjli.so not found through SaltStack Message-ID: <20200512163612.GA3085@x1> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Rspamd-Queue-Id: 49M3N71Z3hz4RsQ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=nzVC=62=perdition.city=julien@bebif.be designates 193.191.208.90 as permitted sender) smtp.mailfrom=SRS0=nzVC=62=perdition.city=julien@bebif.be X-Spamd-Result: default: False [-4.41 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[perdition.city]; IP_SCORE(-3.01)[ip: (-8.93), ipnet: 193.191.192.0/19(-4.46), asn: 2611(-1.65), country: BE(-0.02)]; FORGED_SENDER(0.30)[julien@perdition.city,SRS0=nzVC=62=perdition.city=julien@bebif.be]; RCVD_NO_TLS_LAST(0.10)[]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=nzVC=62=perdition.city=julien@bebif.be]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2020 16:36:24 -0000 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.