rsa patch to configure ...
The Hermit Hacker
scrappy at hub.org
Thu Feb 8 20:05:37 UTC 2001
didn't work:
gcc -L/usr/local/lib -o .libs/nnrpd article.o group.o commands.o loadave.o misc.o newnews.o nnrpd.o perl.o perm.o post.o python.o sasl_config.o tls.o track.o ../storage/.libs/libstorage.so ../lib/.libs/libinn.so -ldb ../lib/perl.o -Wl,-R/usr/lib -Wl,-E -lperl -lm /usr/libdata/perl/5.00503/mach/auto/DynaLoader/DynaLoader.a -L/usr/libdata/perl/5.00503/mach/CORE -lperl -lm -lc -lperl -lm -L/usr/local/lib -lssl -lcrypto -lcrypt -Wl,--rpath -Wl,/news/admin/lib
../lib/.libs/libinn.so: warning: mktemp() possibly used unsafely; consider using mkstemp()
/usr/local/lib/libcrypto.so: undefined reference to `ERR_load_RSAREF_strings'
/usr/local/lib/libcrypto.so: undefined reference to `RSA_PKCS1_RSAref'
gmake[1]: *** [nnrpd] Error 1
gmake[1]: Leaving directory `/news/src/cvs/inn/nnrpd'
gmake: *** [all-nnrpd] Error 2
news# grep rsa configure.in
AC_CHECK_LIB(rsaref, RSA_PKCS1_RSAref,
LIB_RSAREF="-lRSAglue -lrsaref",)
news# grep rsa configure
echo $ac_n "checking for RSA_PKCS1_RSAref in -lrsaref""... $ac_c" 1>&6
echo "configure:2050: checking for RSA_PKCS1_RSAref in -lrsaref" >&5
ac_lib_var=`echo rsaref'_'RSA_PKCS1_RSAref | sed 'y%./+-%__p_%'`
LIBS="-lrsaref $LIBS"
LIB_RSAREF="-lRSAglue -lrsaref"
configure:2050: checking for RSA_PKCS1_RSAref in -lrsaref
configure:2069: gcc -o conftest -I/usr/local/include/db3 -g conftest.c -lrsaref 1>&5
/usr/libexec/elf/ld: cannot find -lrsaref
configure: failed program was:
#line 2058 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char RSA_PKCS1_RSAref();
int main() {
RSA_PKCS1_RSAref()
; return 0; }
Needs to search -L/usr/local/lib, which is where its found ...
More information about the inn-workers
mailing list