Hi,
Im trying to build fred-epp on fedora15 (lovelock) via rpmbuild,
on this fred-mod-eppd-2.3.2-1.fc12.src.rpm, I have successfully
build fred-client-2.2.3-1.noarch.rpm, fred-db-2.3.0-1.noarch.rpm,
fred-doc2pdf-2.0.4-1.noarch.rpm,
when I tried to build the fred-mod-eppd, it prompts me the error:
"checking for pkg-config... (cached) /usr/bin/pkg-config
"checking for X509_digest in -lssl... no
"configure: error: openssl not found
"error: Bad exit status from /var/tmp/rpm-tmp.I6w0pu (%build
even if openssl and openssl-devel is already installed
tried to check the BUILD/fred-mod-eppd/config.log it says:
-unwind-tables conftest.c -lssl >&5
/usr/bin/ld: /tmp/ccbmNckH.o: undefined reference to symbol 'X509_digest'
/usr/bin/ld: note: 'X509_digest' is defined in DSO /lib/libcrypto.so.10 so
try adding it to the linker command line
/lib/libcrypto.so.10: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
tried to search google for some answer, saw some DSO linking, yet still
cant understand, can someone
help me solved this error. Thanks in advance.
below are some info you might ask:
[root@localhost fred-mod-eppd-2.3.2]# uname -a
Linux localhost.localdomain 2.6.38.6-26.rc1.fc15.i686.PAE #1 SMP Mon May 9
20:36:50 UTC 2011 i686 i686 i386 GNU/Linux
[root@localhost fred-mod-eppd-2.3.2]# cat /etc/redhat-release
Fedora release 15 (Lovelock)
[root@localhost fred-mod-eppd-2.3.2]# rpm -qa | grep openssl
openssl-devel-1.0.0e-1.fc15.i686
openssl-1.0.0e-1.fc15.i686
configure:14340: result: /usr/bin/pkg-config
configure:14371: checking for X509_digest in -lssl
configure:14406: gcc -o conftest -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous
-unwind-tables conftest.c -lssl >&5
/usr/bin/ld: /tmp/ccbmNckH.o: undefined reference to symbol 'X509_digest'
/usr/bin/ld: note: 'X509_digest' is defined in DSO /lib/libcrypto.so.10 so
try adding it to the linker command line
/lib/libcrypto.so.10: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
configure:14413: $? = 1
configure: failed program was:
thanks
val
Show replies by date