免费注册 查看新帖 |

Chinaunix

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

core dump(ld-linux.so.2)...... [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-03-20 18:01 |只看该作者 |倒序浏览
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
Core was generated by `./msql'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0  0xb7f77486 in do_lookup_versioned () from /lib/ld-linux.so.2
(gdb) where
#0  0xb7f77486 in do_lookup_versioned () from /lib/ld-linux.so.2
#1  0xb7f76676 in _dl_lookup_versioned_symbol_internal () from /lib/ld-linux.so.2
#2  0xb7f7a403 in fixup () from /lib/ld-linux.so.2
#3  0xb7f7a2c0 in _dl_runtime_resolve () from /lib/ld-linux.so.2
#4  0x0804a55e in main () at mysqltest.cpp:175
#5  0x42015704 in __libc_start_main () from /lib/tls/libc.so.6

论坛徽章:
0
2 [报告]
发表于 2006-03-20 18:03 |只看该作者
调用该函数就出错

mysql_stmt_fetch(stmt_);

mysql 5.1 max
RH9 2.6 kernel

论坛徽章:
0
3 [报告]
发表于 2006-03-20 19:40 |只看该作者
是不是libc庫的版本也需要升級呀?
RH9的glibc版本比較低, 用的是2.4的kernelheaders, 你升級了內核, 最好也升級一下glibc庫

以上只是猜測

论坛徽章:
0
4 [报告]
发表于 2006-03-21 10:23 |只看该作者
我看了一下,glibc的版本是2.3
我下载的mysql是 2.2 static的,重新下一个2.3的再试试

论坛徽章:
0
5 [报告]
发表于 2006-03-21 11:00 |只看该作者
还是不行.//
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP