Build error on CentOS 7.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I’ve been given a CentOS VM and started by installing OpenSSL 1.02q.

wget https://www.openssl.org/source/openssl-1.0.2q.tar.gz
tar -xvf openssl-1.0.2q.tar.gz
cd openssl-1.0.2q
./config --prefix=/usr/local/openssl
make depend
make
make test

During the “make test” I get:
make[2]: Entering directory `/home/paquinbw/openssl-1.0.2q/test'
( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto  -ldl}"; LDCMD="${LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -O3 -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM}"; LIBPATH=`for x in $LIBDEPS; do echo $x; done | sed -e 's/^ *-L//;t' -e d | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`; LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o ${APPNAME:=bntest} bntest.o  ${LIBDEPS} )
/bin/ld: cannot find -lssl
collect2: error: ld returned 1 exit status
make[2]: *** [link_app.] Error 1
make[2]: Leaving directory `/home/paquinbw/openssl-1.0.2q/test'
make[1]: *** [bntest] Error 2
make[1]: Leaving directory `/home/paquinbw/openssl-1.0.2q/test'
make: *** [tests] Error 2

[paquinbw@pathclinapps2 openssl-1.0.2q]$ sudo yum list installed | grep openssl
openssl.x86_64                          1:1.0.2k-16.el7                @base    
openssl-libs.x86_64                     1:1.0.2k-16.el7                @base    
openssl098e.x86_64                      0.9.8e-29.el7.centos.3         @anaconda

Searches online suggest running “yum install openssl-devel”.
But I don’t want another openssl on the system just to get a 4th one installed!
Do I need to remove the existing openssl first? 
Or is there another package I need?

Thank you,

Brian





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux