免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: liyihongcug
打印 上一主题 下一主题

/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found [复制链接]

论坛徽章:
0
11 [报告]
发表于 2011-05-13 13:22 |只看该作者
本帖最后由 liyihongcug 于 2011-05-13 13:25 编辑

终于 看到 错误提示了   测试 执行好多次
./skype
_IceTransSocketUNIXConnect: Cannot connect to non-local host localhost.localdomain

参考
_IceTransSocketUNIXConnect: Cannot connect to non-local host localhost.localdomain

(gedit:32424): GnomeUI-WARNING **: While connecting to session manager:

Could not open network socket.

当你的GTK程序启动很慢,而且出现这种类似的提示,那么一般来说,是因为这几个文件的HOSTNAME有问题

/etc/sysconfig/network

/etc/sysconfig/networking/profiles/default/network

修改其中的HOSTNAME为localhost.localdomain或者是你自己的主机名

编辑/etc/hosts,127.0.0.1   localhost.localdomain或者是你自己的主机名

重启机子(我是重启过后才解决了的,不知道要重启哪些服务,所以直接重启了)This is something I really don't understand. I've got rh 7.2 on a laptop, and set up a local printer via parallel port. When I use lpr to try to print, it says:
Status Information:
sending job 'ws@localhost+577' to bjc80@localhost
connecting to 'localhost', attempt 1
cannot open connection to localhost - Network is unreachable
Make sure LPD server is running on the server

Also, I'm trying to get mysql set up, and get the message:
connect to server 'localhost' failed.

I tried to set up a loopback interface, but can't get things to work.

Can anybody point me in the right direction?

Thanks!

cheers,
wil snyder
Jinx
12-24-2001, 02:16 AM
Check /etc/hosts for an entry for localhost. Should have something like:

127.0.0.1 localhost

Hopefully that helps.

Merry Xmas.

Cya round
Jinx
wilsnyder
12-24-2001, 11:20 AM
Thanks for giving some advice.

My /etc/hosts has
127.0.0.1 localhost.localdomain localhost

When lpd starts on bootup I get:
localho lpd: 2001-12-24-21:44:16.193 Get_local_host: hostname 'localho' bad

If I change hosts to read 127.0.0.1 localhost, I get the same bootup message.

I tried setting up the loopback interface per the Net howto, doing
ifconfig lo 127.0.0.1
rout add -host 127.0.0.1 lo
but it doesn't seem to make a difference.

Also, ppp works fine, but on startup gives the error:
_IceTransSocketUNIXConnect: Cannot connect to non-local host localho
Session management error: Could not open network socket.

I've been reading what I can, but am still clueless as to what is going on, and more important, I can't print!

Thanks to anyone who can help out.

cheers,
wil snyder
vvx
12-24-2001, 04:09 PM
'localho'

Was that a typo? Did you cut off the st or is that how it shows up when you boot? That could be the problem in itself if those two letters got deleted from a config file somewhere, though it's probably just a typo.

When you bootup, is there an lo section when you type ifconfig? I've never seen a distribution install and not setup a loopback device itself.
wilsnyder
12-25-2001, 10:23 AM
No, ''localho' isn't a typo. I imagine I typed it wrong somewhere in a config file. When I type ifconfig, all I get is:
ppp0 Link encapoint-to-Point Protocol
inet addr:202.101.65.93 P-t-P:202.98.192.103 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:815 errors:1 dropped:0 overruns:0 frame:0
TX packets:907 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:590217 (576.3 Kb) TX bytes:133814 (130.6 Kb)

Nothing about lo.

What files should I be checking for problems?

Dazed and confused,
wil snyder
wilsnyder
12-26-2001, 11:54 AM
Finally got things figured out. In one of my attempts at getting things set up, I must have typed 'localho', though how I could miss two keys I'm not really su. (I mean, not really suRE). I found it in /etc/sysconfig/network. I corrected that, then ran
#ifconfig lo 127.0.0.1

and everything works. I can print no problem now. Except Chinese. I use Chinese a lot and Chinese comes out as gibberish (which is what it sounded like when I first started learning it).

Thanks for the help.

cheers,
wil snyder

论坛徽章:
0
12 [报告]
发表于 2011-05-13 16:03 |只看该作者
修改 etc/hosts 跳过第2个界面 。到下一个又是漫长等待 不知道那里又有问题了 ?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP