LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 806|回复: 2

缺了哪个软件包?

[复制链接]
发表于 2006-4-11 22:13:08 | 显示全部楼层 |阅读模式
debian:/home/txg/ns-allinone-2.29/xgraph-12.1# make
gcc     -g     -o xgraph  xgraph.o xgX.o hard_devices.o dialog.o hpgl.o ps.o idraw.o xtb.o st.o params.o alloc.o draw.o init.o read.o tgif.o derivative.o     -lX11 -lm
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make: *** [xgraph] 错误 1

debian下安装ns2.29的xgraph出的问题,X11要用哪个软件库啊?
发表于 2006-4-12 10:05:23 | 显示全部楼层
你用find命令找一下硬盘有没有libX11.so这个文件。如果有,配置一下/etc/ld.so.conf,把路径加进去。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-12 22:38:55 | 显示全部楼层
多谢拉.是没有链接
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表