- 论坛徽章:
- 3
|
系统版本是 5.10 Generic_147440-19 sun4v sparc sun4v
memcached版本是 1.5.9
编译安装时报:
checking for libevent directory... configure: error: libevent is required. You can get it from http://www.monkey.org/~provos/libevent/
If it's already installed, specify its path using --with-libevent=/dir/
于是我下载了了libevent再编译
configure没问题,make报错:
# make
GEN test/rpcgen-attempted
./test/rpcgen_wrapper.sh: python2: not found
event_rpcgen.py failed, ./test/regress.gen.\[ch\] will be reused.
。。。
。。。
。。。
Undefined first referenced
symbol in file
ERR_remove_thread_state sample/https-client.o (symbol belongs to implicit dependency /usr/local/openssl-1.0.2o/lib/libcrypto.so.1.0.0)
ld: fatal: symbol referencing errors. No output written to sample/.libs/https-client
collect2: ld returned 1 exit status
*** Error code 1
The following command caused the error:
echo " CCLD " sample/https-client;/bin/bash ./libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -fno-strict-aliasing -D_REENTRANT -pthreads -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch -Wno-unused-parameter -Wstrict-aliasing -I /usr/local/openssl-1.0.2o/lib/ -o sample/https-client sample/https-client.o sample/hostcheck.o sample/openssl_hostname_validation.o libevent.la libevent_openssl.la -R/usr/sfw/lib -L/usr/sfw/lib -lssl -lcrypto -lsocket -lnsl -ldl -lcrypto -lsendfile -lrt -lsocket -lnsl
make: Fatal error: Command failed for target `sample/https-client'
Current working directory /tmp/libevent-2.1.8-stable
*** Error code 1
make: Fatal error: Command failed for target `all'
openssl做过升级,新版本是在/usr/local/openssl-1.0.2o/
大神们帮看看呀,弄了好久libevent就是安装不上。
|
|