From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21235 invoked from network); 23 Sep 2021 23:09:31 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 23 Sep 2021 23:09:31 -0000 Received: (qmail 18063 invoked by uid 550); 23 Sep 2021 23:09:28 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 18044 invoked from network); 23 Sep 2021 23:09:28 -0000 Date: Thu, 23 Sep 2021 19:09:14 -0400 From: Rich Felker To: Vince Fleming Cc: musl@lists.openwall.com Message-ID: <20210923230914.GW13220@brightrain.aerifal.cx> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [musl] dlopen() issue On Thu, Sep 23, 2021 at 05:47:37PM -0400, Vince Fleming wrote: > Hi all; > > I seem to be having a problem with dynamically loading a library. It's > intermittent; it will succeed and work fine, then on the next run it'll > give "libaio: cannot open shared object file: No such file or directory", > or "Dynamic loading not supported", which appear to come from dlerror() in > musl, not the application I'm porting to musl. > > Has anyone else seen such behavior? The error means your program is static linked. It's not clear why you're not seeing it other times; presumably you're rebuilding (or at least relinking) the program between runs, or else running different versions of it each time. Rich