免费注册 查看新帖 |

Chinaunix

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

安装NTP不成功? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-08-08 11:56 |只看该作者 |倒序浏览
NTP 4.2.4p3(源码包) + Red Hat AS 4(最小安装) + OpenSSL 0.9.8d(源码包安装)

[1]安装OpenSSL 0.9.8d成功
[2]安装NTP 4.2.4p3,在make时有如下信息:
......
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x3e): In function `dlfcn_load':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xab): In function `dlfcn_load':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xd4): In function `dlfcn_load':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x14b): In function `dlfcn_unload':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x20b): In function `dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x257): In function `dlfcn_bind_var':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2fb): In function `dlfcn_bind_func':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x347): In function `dlfcn_bind_func':
: undefined reference to `dlerror'
collect2: ld returned 1 exit status
make[3]: *** [ntpd] Error 1
make[3]: Leaving directory `/home/bandao/all_in_one/software/ntp/ntp-4.2.4p3/ntpd'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/bandao/all_in_one/software/ntp/ntp-4.2.4p3/ntpd'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/bandao/all_in_one/software/ntp/ntp-4.2.4p3'
make: *** [install] Error 2


查了一些资料(如,http://marc.info/?l=apache-modssl&m=102865024908732&w=2),
说是要在Makefile中的mod_ssl元素后面加-ldl参数。
但在我的Makefile中没有找到任何一个mod_ssl元素
请指教!

论坛徽章:
0
2 [报告]
发表于 2007-08-08 16:29 |只看该作者
configure没有报错么   
不行就换版本     rpm  yum 安装 没什么好说的

论坛徽章:
0
3 [报告]
发表于 2007-08-08 18:00 |只看该作者
> configure没有报错么
configure的时候没有报任何错误。

> 不行就换版本     rpm  yum 安装 没什么好说的
就是没找到合适的rpm,都是src的rpm,这样也需要编译啊

论坛徽章:
0
4 [报告]
发表于 2007-08-08 19:00 |只看该作者

论坛徽章:
0
5 [报告]
发表于 2007-08-08 20:21 |只看该作者
ntp这种小服务器软件,不如就用Redhat 自带的rpm包安装。几本没什么性能问题。

ntp的好处在于即可以校准自身的时钟,又可以向其他机器提供服务。

如果只想在小圈子里时钟同步,不如用个最简单的
chkconfig time-udp on
然后客户端用rdate来校准。

论坛徽章:
0
6 [报告]
发表于 2007-08-09 07:47 |只看该作者
> ntp这种小服务器软件,不如就用Redhat 自带的rpm包安装。
嗯,还是从RHEL的光盘中copy出这些RPM文件吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP