From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Jackson Subject: Re: Error Compiling OpenSSH-3.4p1 Date: Tue, 06 Aug 2002 16:31:16 -0600 Sender: linux-admin-owner@vger.kernel.org Message-ID: <3D504E34.4070405@wcox.com> References: <200208021130.g72BUuBr016909@leo.pcisys.net> <200208061810.g76IAtSA026931@leo.pcisys.net> <3D50166F.2030204@wcox.com> <200208061924.g76JOmSA009231@leo.pcisys.net> <3D5046EF.2040709@wcox.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: David Jackson Cc: Linux User , linux-admin@vger.kernel.org David Jackson wrote: > Linux User wrote: > >> On Tuesday 06 August 2002 02:33 pm, David Jackson wrote: >> >> >>> Dude -- >>> Is there a include path flag you can set with the ./configure? >>> >> >> >> Not quite--you can specify the top-level ssl directory using >> "with-ssl-dir=" and "include/" is assumed to be under that. I've >> tried both with and without, with OpenSSL in both standard and >> non-standard locations, to no avail. And as near as I can tell, >> that's irrelevant anyway. The config log snippet *shows* it's using >> the correct include path. >> >> >> >>> Have you posted to a Redhat specific list? Have you search the Rehat >>> archive for releated post? >>> >> >> >> No, because I'm not using RedHat RPMs. And not specifically; >> instead, I've done a general search of the web, including mailing >> lists (RedHat, openssl, openssh, and any others Google might index). >> >> >> >>> Have you posted to openssl and openssh mailing list? Have you searched >>> openssl and openssh archives? >>> >> >> >> Not yet. I was hoping to avoid subscribing to Yet Another Mailing >> list, but that's my next step. >> >> >> >> > find on myh RH7.2 machine returns this: > > bowtie: root >> find /lib /usr/lib -name "*ssl*" -exec ls -l {} \; > lrwxrwxrwx 1 root root 16 Jun 5 18:58 > /lib/libssl.so.2 -> libssl.so.0.9.6b > -rwxr-xr-x 1 root root 207036 Sep 7 2001 > /lib/libssl.so.0.9.6b > -rw-r--r-- 1 root root 273850 Sep 7 2001 /usr/lib/libssl.a > lrwxrwxrwx 1 root root 26 Jun 5 19:10 > /usr/lib/libssl.so -> ../../lib/libssl.so.0.9.6b > > If "we" run ./configure --with-ssl=/usr/local/ssl for openssh-3.4p1 > by default it going to use the ld.so.conf file to search for libs? > What maybe happening is openssh configure is looking at the libssl in > /lib or /usr/lib, and the headers under /usr/local/ssl? > > One other note, I just build openssl-0.9.6e using --prefix=/usr/local > and it put the include under /user/local/include/openssl > and the libs under /usre/local/lib? You may have to use the > --with-includedir=/usr/local/include/openssl with ssh? > > David > > > > - > To unsubscribe from this list: send the line "unsubscribe linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > > This seemed to work except for this errror "sshd" prevledged user (which both sshd user and group exist): OpenSSL: /config --openssldir=/usr/local/ssl make make test make install OpenSSH: /configure --prefix=/usr/local/ssh --with-ssl-dir=/usr/local/ssl --with-pam --with-md5-passwords make all make install You will also need to adjust /etc/init.d/sshd script. David