[Opendnssec-develop] RE: 1.1.0RC3 Compile error on RHEL5.4

Rick Zijlker rick.zijlker at sidn.nl
Tue May 18 08:19:05 UTC 2010


Hey all,

This compile error was caused by the installation of a new OpenSSL which caused libcrypto to get out of sync with libhsm.
By reinstalling these 2 files the compile was succesfull.

Cheers,
Rick


From: opendnssec-develop-bounces at lists.opendnssec.org [mailto:opendnssec-develop-bounces at lists.opendnssec.org] On Behalf Of Rick Zijlker
Sent: Monday, May 17, 2010 3:03 PM
To: Opendnssec-develop at lists.opendnssec.org
Subject: [Opendnssec-develop] 1.1.0RC3 Compile error on RHEL5.4

Hey,

While installing according to the installation instruction I made earlier, I am getting errors at "make":

This is the full output of "make" :

Making all in libhsm
make[1]: Entering directory `/home/rick/opendnssec-1.1.0rc3/libhsm'
make  all-recursive
make[2]: Entering directory `/home/rick/opendnssec-1.1.0rc3/libhsm'
Making all in src
make[3]: Entering directory `/home/rick/opendnssec-1.1.0rc3/libhsm/src'
/bin/sh ../libtool --tag=CC   --mode=link gcc -std=c99 -g -O2 -pedantic -Wall -Wextra -dl -version-info 1:1:1 -export-symbols-regex '^hsm_.*'   -o libhsm.la -rpath /usr/local/lib libhsm.lo strlcpy.lo strlcat.lo -L/usr/local/lib -lnsl -lcrypto  -lcrypto -lldns -lxml2 -lz -lm -ldl
libtool: link: rm -fr  .libs/libhsm.exp .libs/libhsm.ver
libtool: link: /usr/bin/nm -B  .libs/libhsm.o .libs/strlcpy.o .libs/strlcat.o   | sed -n -e 's/^.*[      ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libhsm.exp
libtool: link: /bin/grep -E -e "^hsm_.*" ".libs/libhsm.exp" > ".libs/libhsm.expT"
libtool: link: mv -f ".libs/libhsm.expT" ".libs/libhsm.exp"
libtool: link: echo "{ global:" > .libs/libhsm.ver
libtool: link:  cat .libs/libhsm.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libhsm.ver
libtool: link:  echo "local: *; };" >> .libs/libhsm.ver
libtool: link:  gcc -shared  .libs/libhsm.o .libs/strlcpy.o .libs/strlcat.o   -L/usr/local/lib /usr/local/lib/libldns.so -lnsl -lcrypto -lxml2 -lz -lm -ldl    -Wl,-soname -Wl,libhsm.so.0 -Wl,-version-script -Wl,.libs/libhsm.ver -o .libs/libhsm.so.0.1.1
/usr/bin/ld: /usr/local/lib/libcrypto.a(md5_one.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libcrypto.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libhsm.la] Error 1
make[3]: Leaving directory `/home/rick/opendnssec-1.1.0rc3/libhsm/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rick/opendnssec-1.1.0rc3/libhsm'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/rick/opendnssec-1.1.0rc3/libhsm'
make: *** [all-recursive] Error 1


If you need anything else, I'd like to hear it.

Cheers,
Rick



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendnssec.org/pipermail/opendnssec-develop/attachments/20100518/1326d3b7/attachment.htm>


More information about the Opendnssec-develop mailing list