Re:how to install openssh3.1p1 on redhat 6.2

Robert Grunloh <[email protected]> Fri, 28 Jun 2002 11:16:53 -0700 (MST)
Newsgroups gmane.linux.redhat.release.zoot
Message-ID <Pine.LNX.4.44.0206281054120.6492-100000@ironwood.library.arizona.edu>
Hi Ravi,

has this box been able to compile source from other tarballs? Is it fully 
patched? Do you have kernel-headers and/or kernel-source installed?

If other things compile fine, I'm not much help. (My notes were for 
openssl-0.96c instead of 0.9.6d but I downloaded it and it compiled ok.)

However if you get similar errors trying to compile almost everything, I 
suspect it's a symlink problem. Early versions of redhat 6.2 sometimes 
failed to properly link something in /usr, I can't remember 
what. Possibly /usr/include/linux to /usr/src/linux/include/linux and 
/usr/asm to /usr/src/linux/include/asm?

At any rate, someone else on the lists might remember. Later revisions of 
either glibc or the kernel fixed the problem, but it sometimes seemed to 
depend on the order in which successive patches were applied.

The other thing I'm doing now is looking much more strongly at why I'm not 
upgrading these boxes to 7.2 or 7.3.

hth,

rg

On Fri, 28 Jun 2002, CMC wrote:

> 
> Hi,
> 
>        I am using redhat 6.2 and i am unable to install openssh3.4 and 
> openssl... We came across your posting regarding this problem. 
> 
>  When we tried from openssl-0.9.6d directory
>  
>                   ./config --prefix=/usr shared and verified /usr/lib 
> still it did't create libcrypto.so.0.9.6 and libssl.so.0.9.6 
> 
> running make also failed  with the error
> 
> [root@www openssl-0.9.6d]# make
> + rm -f libcrypto.so.0
> + rm -f libcrypto.so
> + rm -f libcrypto.so.0.9.6
> + rm -f libssl.so.0
> + rm -f libssl.so
> + rm -f libssl.so.0.9.6
> making all in crypto...
> make[1]: Entering directory `/home/cmc/openssl-0.9.6d/crypto'
> ( echo "#ifndef MK1MF_BUILD"; \
> echo "  /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c 
> */"; \
> echo "  #define CFLAGS \"gcc -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN 
> -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall 
> -DSHA1_ASM -DMD5_ASM -DRMD160_ASM\""; \
> echo "  #define PLATFORM \"linux-elf\""; \
> echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
> echo "#endif" ) >buildinf.h
> gcc -I. -I../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN 
> -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall 
> -DSHA1_ASM -DMD5_ASM -DRMD160_ASM   -c -o cryptlib.o cryptlib.c
> In file included from /usr/include/errno.h:36,
>                  from ../include/openssl/err.h:90,
>                  from cryptlib.h:70,
>                  from cryptlib.c:61:
> /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
> make[1]: *** [cryptlib.o] Error 1
> make[1]: Leaving directory `/home/cmc/openssl-0.9.6d/crypto'
> make: *** [sub_all] Error 1  
> 
> Any clues for solving this issue.........
> 
> 
> Expecting your reply
> 
> Ravi 
> 
> -------------------------------------------------------------------------------
> 
>