免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3543 | 回复: 3
打印 上一主题 下一主题

LD_LIBRARY_PATH 问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-08-01 17:44 |只看该作者 |倒序浏览
配置bind9

-bash-3.00# ./configure --prefix=/data/local
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... ./install-sh -c
checking whether ln -s works... yes
checking for ar... /usr/ccs/bin/ar
checking for etags... no
checking for emacs-etags... no
checking for perl5... no
checking for perl... /bin/perl
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... egrep
checking for ANSI C header files... no
checking for fcntl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for sys/sockio.h... yes
checking for sys/select.h... yes
checking for sys/param.h... yes
checking for sys/sysctl.h... no
checking for net/if6.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sysctlbyname... no
checking for static inline breakage... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... no
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... (cached) yes
checking for size_t... yes
checking for ssize_t... yes
checking for uintptr_t... yes
checking for socklen_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for long long... yes
checking for struct lifconf... yes
checking if unistd.h or sys/types.h defines fd_set... yes
checking whether byte ordering is bigendian... yes
checking for OpenSSL library... using openssl from /usr/local/ssl/lib and /usr/local/ssl/include
checking whether linking with OpenSSL works... no
configure: error: Could not run test program using OpenSSL from
/usr/local/ssl/lib and /usr/local/ssl/include.
Please check the argument to --with-openssl and your
shared library configuration (e.g., LD_LIBRARY_PATH).

系统
-bash-3.00# uname -a
SunOS node11 5.10 Generic sun4u sparc SUNW,Netra-T4
环境变量
-bash-3.00# env
HZ=100
SHELL=/bin/bash
TERM=vt100
LD_LIBRARY_PATH=/usr/local:/usr/sfw/sparc-sun-solaris2.10/lib:/usr/local/ssl/lib:/usr/local/ssl/include
MAIL=/var/mail/root
PATH=/bin:/usr/bin:/usr/ucb:/usr/ccs/bin:/usr/local/bin:/etc:/usr/local/ssl
PWD=/
LANG=zh
TZ=PRC
SHLVL=1
HOME=/
LOGNAME=root
_=/bin/env
OLDPWD=/usr/local/ssl/include/openssl


请问哪里有问题配置不过去,多谢

[ 本帖最后由 unixumin 于 2007-8-1 17:51 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-08-06 16:23 |只看该作者
把LD_LIBRARY_PATH配置到/.profile-EIS中试试看

论坛徽章:
0
3 [报告]
发表于 2007-08-06 17:39 |只看该作者
Please check the argument to --with-openssl and your
shared library configuration (e.g., LD_LIBRARY_PATH).

论坛徽章:
0
4 [报告]
发表于 2007-08-06 18:37 |只看该作者
原帖由 bloomit 于 2007-8-6 17:39 发表
Please check the argument to --with-openssl and your
shared library configuration (e.g., LD_LIBRARY_PATH).


openssl 装了吗?
编译一个应用时尽可能不要用 LD_LIBRARY_PATH, (Solaris 上好像用-R)。

如果这些错误信息你还不明白的话,最好找一个编译好的包安装一下。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP