lynx-dev
[Top][All Lists]
Advanced

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

[Lynx-dev] 2.9.0dev.4 builds on CentOS 6, fails on CentOS 7, -L order


From: Zube
Subject: [Lynx-dev] 2.9.0dev.4 builds on CentOS 6, fails on CentOS 7, -L order
Date: Tue, 3 Sep 2019 08:58:45 -0600
User-agent: Mutt/1.12.1 (2019-06-15)

With a locally built openssl 111c, 2.9.0dev.4 builds fine on CentOS 6 with:

./configure --prefix=/usr/local/lynx --with-ssl=/usr/local/aux/lynx/ssl111c

But it fails on CentOS 7:

/usr/bin/cc -DHAVE_CONFIG_H  -DLOCALEDIR=\"/usr/local/lynx/share/locale\" -I. 
-I.. -Ichrtrans -I./chrtrans -I.. -I../src -I.././WWW/Library/Implementation    
-D_GNU_SOURCE -DLINUX -I/usr/local/aux/lynx/ssl111c/include 
-I/usr/local/aux/lynx/ssl111c/include/openssl -O2  
-Wl,-rpath,/usr/local/aux/lynx/ssl111c/lib   -L/lib64 
-L/usr/local/aux/lynx/ssl111c/lib -o lynx  LYebcdic.o LYClean.o LYShowInfo.o 
LYEdit.o LYStrings.o LYMail.o HTAlert.o GridText.o LYGetFile.o LYMain.o 
LYMainLoop.o LYCurses.o LYBookmark.o LYmktime.o LYUtils.o LYOptions.o 
LYReadCFG.o LYSearch.o LYHistory.o LYForms.o LYPrint.o LYrcFile.o LYDownload.o 
LYNews.o LYKeymap.o HTML.o HTFWriter.o HTInit.o DefaultStyle.o LYUpload.o 
LYLeaks.o LYexit.o LYJump.o LYList.o LYCgi.o LYTraversal.o LYEditmap.o 
LYCharSets.o LYCharUtils.o LYMap.o LYCookie.o LYStyle.o LYHash.o LYPrettySrc.o 
TRSTable.o parsdate.o UCdomap.o UCAux.o UCAuto.o  LYSession.o LYLocal.o  
.././WWW/Library/Implementation/libwww.a -lcurses -lssl -lcrypto -ldl
LYMain.o: In function `append_ssl_version':
LYMain.c:(.text+0x2d6): undefined reference to `OpenSSL_version'
.././WWW/Library/Implementation/libwww.a(HTTP.o): In function `HTGetSSLHandle':
HTTP.c:(.text+0x441): undefined reference to `TLS_client_method'
HTTP.c:(.text+0x462): undefined reference to `SSL_CTX_set_options'
HTTP.c:(.text+0x473): undefined reference to `SSL_CTX_set_options'
.././WWW/Library/Implementation/libwww.a(HTTP.o): In function `HTLoadHTTP':
HTTP.c:(.text+0x17be): undefined reference to `OPENSSL_sk_num'
HTTP.c:(.text+0x17fd): undefined reference to `OPENSSL_sk_value'
HTTP.c:(.text+0x1810): undefined reference to `ASN1_STRING_get0_data'
HTTP.c:(.text+0x18cd): undefined reference to `OPENSSL_sk_free'
HTTP.c:(.text+0x2805): undefined reference to `ASN1_STRING_get0_data'
collect2: error: ld returned 1 exit status
gmake[1]: *** [makefile:111: lynx] Error 1
gmake[1]: Leaving directory '/stat/src/lynx/lynx2.9.0dev.4/src'
gmake: *** [makefile:205: lynx] Error 2

In src/makefile, there is this line:

LDFLAGS         = -Wl,-rpath,/usr/local/aux/lynx/ssl111c/lib   -L/lib64 
-L/usr/local/aux/lynx/ssl111c/lib

If I move the -L/lib64 to the end, it builds.

CentOS 6 has 1.0.1e as native, CentOS 7 has 1.0.2k.

Cheers,
Zube



reply via email to

[Prev in Thread] Current Thread [Next in Thread]