Chinaunix首页 | 论坛 | 博客
  • 博客访问: 590604
  • 博文数量: 150
  • 博客积分: 1132
  • 博客等级: 少尉
  • 技术积分: 2067
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-11 16:46
文章分类

全部博文(150)

文章存档

2015年(15)

2014年(75)

2013年(4)

2012年(56)

发布时间:2015-03-13 14:12:08

1. distinct 关键字关系数据库中有一条“行唯一性”规则,这条规则是这样的:任意两个元组不能完全相同。关系模型中,关系是元组的集合,集合中完全相同的两元素只能被看作一个元素,集合不可以包含相同的元素。 但在很多商业数据库系统中,并不自动维护这条规则。比如,mysqldistinct 关键字的作用:使 select 出来的表.........【阅读全文】

阅读(572) | 评论(0) | 转发(0)

发布时间:2015-03-12 16:59:16

1. 文件系统上的库文件更新:方法多种多样,可以用 yum 在线升级,可以手动安装 rpm 包,可以源码安装(不过这种方式不太好,一是破坏了系统原有 rpm 文件,二是新安装的库文件没有用 rpm 包管理起来)。2. 执行 ldconfig ,重构 /etc/ld.so.cache:如果用 rpm 包更新文件系统上的库文件,这步一般会隐藏在 rpm 包安装的.........【阅读全文】

阅读(571) | 评论(0) | 转发(0)

发布时间:2015-03-12 16:39:47

readelf [-d|--dynamic] elffile...Displays the contents of the file's dynamic section, if it has one.其输出与 ldd 看到的一致。......【阅读全文】

阅读(626) | 评论(0) | 转发(0)

发布时间:2015-03-12 16:34:55

ldconfig  creates  the  necessary  links  and  cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the  trusted  directories  (/lib and /usr/lib). T.........【阅读全文】

阅读(750) | 评论(0) | 转发(0)
gcc

发布时间:2015-03-06 11:15:00

-Wl,<options>            Pass comma-separated <options> on to the linkergcc -Wl,-rpath,/home/arc/test,-rpath,/lib/,-rpath,/usr/lib/,-rpath,/usr/local/lib test.creadelf -d a.out  可以看到效果......【阅读全文】

阅读(586) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册