help!Solaris下面gcc时报错

gracestoney 2008-05-26 01:50:36
使用gcc时出现下面的错误,这个是怎么回事???


ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
Killed

...全文
69 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
hotsolaris 2008-05-26
  • 打赏
  • 举报
回复
那就好了,不过你是怎么安装gcc的?
gracestoney 2008-05-26
  • 打赏
  • 举报
回复
谢谢楼上的

不过我自己解决了 就是下载 libiconv 安装完了就不会提示了
hotsolaris 2008-05-26
  • 打赏
  • 举报
回复
你应该使用Solaris自带的gcc:

[tecra@/]/usr/sfw/bin/gcc --version
gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
gracestoney 2008-05-26
  • 打赏
  • 举报
回复
/usr/local/bin下面 我已经把该路径加到环境变量中了
hotsolaris 2008-05-26
  • 打赏
  • 举报
回复

你是怎么安装gcc的?你使用的gcc在什么目录下?

1,544

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 Solaris
社区管理员
  • Solaris
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧