I noticed that AIX now comes with a version of zlib installed in /usr. (I'm working on 5.2) My first inclination was to simply uninstall it and use the one we compile (and put in /usr/local). However, IBM has made zlib part of the RPM package itself! So, I cannot uninstall it without removing RPM.... Next, I tried passing --with-zlib=/usr/local to configure for ssh. This seems to work, but after compilation an ldd on ssh reveals that it is still trying to use the one in /usr/lib. I then modified the Makefile so that blibpath has /usr/local/lib in it before /usr/lib, and this works as expected. Should configure be doing that for me on AIX? Thanks Andy ------------------------------------------------------------------------ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
Hi, On Tue, Jul 06, 2004 at 11:05:18AM -0500, andy.tompkins at autozone.com wrote:> I then modified the Makefile so that blibpath has /usr/local/lib in it > before /usr/lib, and this works as expected. > Should configure be doing that for me on AIX?What's wrong with using the system default, if one is already there? gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany gert at greenie.muc.de fax: +49-89-35655025 gert at net.informatik.tu-muenchen.de
Nothing wrong per se.....just that when I told it --with-zlib=/usr/local I expected it to actually use that one... Andy Gert Doering <gert at greenie.muc To: andy.tompkins at autozone.com .de> cc: openssh-unix-dev at mindrot.org Subject: Re: AIX and zlib 07/06/2004 02:36 PM Hi, On Tue, Jul 06, 2004 at 11:05:18AM -0500, andy.tompkins at autozone.com wrote:> I then modified the Makefile so that blibpath has /usr/local/lib in it > before /usr/lib, and this works as expected. > Should configure be doing that for me on AIX?What's wrong with using the system default, if one is already there? gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany gert at greenie.muc.de fax: +49-89-35655025 gert at net.informatik.tu-muenchen.de ------------------------------------------------------------------------ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
I did have a situation this morning. We have an in house application that was linked to the zlib in /usr/local. A user who uses that application had to have their LIBPATH=/usr/local/lib. When they tried to run sftp it failed because the zlib in /usr/local was not the same as what ssh was linked against. Andy |---------+---------------------------------------------------------------> | | Gert Doering <gert at greenie.muc.de> | | | Sent by: | | | openssh-unix-dev-bounces+andy.tompkins=autozone.com@| | | mindrot.org | | | | | | | | | 07/06/2004 02:36 PM | | | | |---------+---------------------------------------------------------------> >-------------------------------------------------------------------------------------------| | | | To: andy.tompkins at autozone.com | | cc: openssh-unix-dev at mindrot.org | | Subject: Re: AIX and zlib | >-------------------------------------------------------------------------------------------| Hi, On Tue, Jul 06, 2004 at 11:05:18AM -0500, andy.tompkins at autozone.com wrote:> I then modified the Makefile so that blibpath has /usr/local/lib in it > before /usr/lib, and this works as expected. > Should configure be doing that for me on AIX?What's wrong with using the system default, if one is already there? gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany gert at greenie.muc.de fax: +49-89-35655025 gert at net.informatik.tu-muenchen.de _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev at mindrot.org http://www.mindrot.org/mailman/listinfo/openssh-unix-dev ------------------------------------------------------------------------ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
andy.tompkins at autozone.com wrote:> Next, I tried passing --with-zlib=/usr/local to configure for ssh. > This seems to work, but after compilation an ldd on ssh reveals that it is > still trying to use the one in /usr/lib. > > I then modified the Makefile so that blibpath has /usr/local/lib in it > before /usr/lib, and this works as expected. > Should configure be doing that for me on AIX?Probably. Please try the attached patch (you will need to run "autoconf" to rebuild configure). -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: openssh-aix-zlib-blibpath.patch Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20040707/cc18fd5d/attachment.ksh