Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: "Steven G. Kargl" Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Programming issue Date: Fri, 28 Feb 2025 16:19:46 -0000 (UTC) Organization: A noiseless patient Spider Lines: 29 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 28 Feb 2025 17:19:46 +0100 (CET) Injection-Info: dont-email.me; posting-host="aa4a06760b5255817526972eebed79b8"; logging-data="3932820"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+fP2FJZMuLe30xIE6eHgzN" User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a git.gnome.org/pan2) Cancel-Lock: sha1:Tv6AWXnSRAsrMcEAZruPehdvMW8= Bytes: 1790 On Fri, 28 Feb 2025 14:06:26 +0000, The Doctor wrote: > I am trying to compile openssl 3.4 daily snap > > > The openssl executable gives me > > ld-elf.so.1: /usr/lib/libssl.so.3: version OPENSSL_3.2.0\ > required by /usr/source/openssl-openssl-3.4-20250228/apps/openssl not found > > What am I doing wrong? Looks like the executable is linked against the openssl library installed with FreeBSD. What does ldd(1) say about the executable you're trying to use? % ldd /apps/openssl Also, look at the library cache, % ldconfig -r | grep libssl 158:-lssl.30 => /usr/lib/libssl.so.30 Does 3.4 build (and install) a libssl.so.32? IF yes, then you likely need to set LD_LIBRARY_PATH and/or LD_RUN_PATH environmental varaible to find it. -- steve