- 博客(4)
- 资源 (12)
- 问答 (2)
- 收藏
- 关注
转载 Linux动态库(.so)搜索路径
http://www.cnitblog.com/windone0109/archive/2008/04/23/42653.html 众所周知,Linux动态库的默认搜索路径是/lib和/usr/lib。动态库被创建后,一般都复制到这两个目录中。当程序执行时需要某动态库,并且该 动 态库还未加载到内存中,则系统会自动到这两个默认搜索路径中去查找相应的动态库文件,然后加载该文件到内存中,这样
2012-09-24 14:14:30 562
原创 linux使用vi中文乱码的解决办法
linux使用vi中文乱码的解决办法 在~/.vimrc文件中添加如下两行即: set encoding=utf-8 set fileencoding=utf-8 或直接在VI中执行:set encoding=utf-8
2012-09-24 13:36:11 433
原创 在C应用中嵌入http服务器libmicrohttp
下载安装libmicrohttp 编译example中的fileserver_example.c gcc -g fileserver.c /root/microhttpd/lib/libmicrohttpd.a -I/root/microhttpd/include -pthread -lgnutls -o fileserver 这样直接编译会有几个头文件找不到,把源码中的头文件拷进来:p
2012-09-20 18:22:14 2554
原创 linux c内嵌执行python
下载python,安装 编写代码test1.c #include int main(int argc, char* argv[]) { Py_Initialize(); PyRun_SimpleString("print 'aaaaaaaaaaa'"); Py_Finalize(); return 0; } 编译: gcc -g test1.c /
2012-09-19 19:15:17 923
preinstall_apps_info.json
2019-07-11
centos7 安装oracle需要的包
2017-11-20
HttpservletResponse写数据时客户端断开
2011-11-23
C操作MYSQL的性能有这么好吗?
2011-05-18
TA创建的收藏夹 TA关注的收藏夹
TA关注的人