On Tue, 5 Mar 2024, The Doctor wrote:> Showstopper problem! > > I want configure to work with /usr/local/bin/openssl and not /usr/bin/opensslYou can use --with-ssl-dir for this. --with-ssl-dir=/foo will have configure try /foo/bin/openssl and /foo/apps/openssl. Otherwise it just searches $PATH. Nothing has changed here for the last couple of releases. -d
On Thu, Mar 07, 2024 at 02:11:21AM +1100, Damien Miller wrote:> > > On Tue, 5 Mar 2024, The Doctor wrote: > > > Showstopper problem! > > > > I want configure to work with /usr/local/bin/openssl and not /usr/bin/openssl > > You can use --with-ssl-dir for this. --with-ssl-dir=/foo will have > configure try /foo/bin/openssl and /foo/apps/openssl. Otherwise it > just searches $PATH. > > Nothing has changed here for the last couple of releases. >Wrong! It has done this since 9.6 I set -with-ssl-dir=/usr/local ad I do expect /usr/local/bin/openssl to turn up and not /usr/bin/openssl> -d > _______________________________________________ > openssh-unix-dev mailing list > openssh-unix-dev at mindrot.org > https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev-- Member - Liberal International This is doctor at nk.ca Ici doctor at nk.ca Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising! Look at Psalms 14 and 53 on Atheism ; unsubscribe from Google Groups to be seen What worth the power of law that won't stop lawlessness? -unknown
On Thu, 7 Mar 2024 at 02:19, Damien Miller <djm at mindrot.org> wrote:> > > > On Tue, 5 Mar 2024, The Doctor wrote: > > > Showstopper problem! > > > > I want configure to work with /usr/local/bin/openssl and not /usr/bin/openssl > > You can use --with-ssl-dir for this. --with-ssl-dir=/foo will have > configure try /foo/bin/openssl and /foo/apps/openssl. Otherwise it > just searches $PATH. > > Nothing has changed here for the last couple of releases.I changed it to better support OpenSSL directories in non-default paths: https://github.com/openssh/openssh-portable/commit/26cab41c05 Just reversing the search path order will cause other problems, though, since there is no guarantee the bin/openssl in a non-default location is functional (eg if its libraries are not in the system default runtime linker path and it's built without -rpath, which it's usually not). -- Darren Tucker (dtucker at dtucker.net) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.