Chinaunix首页 | 论坛 | 博客
  • 博客访问: 24013
  • 博文数量: 7
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 49
  • 用 户 组: 普通用户
  • 注册时间: 2014-09-26 15:53
文章分类
文章存档

2014年(7)

我的朋友

分类: LINUX

2014-11-30 20:35:52

原文: 

There is a lack of documentation on how to do this, I guess they assume that you must know a lot IF you are trying to use this library.

But here are step by step instructions on how to do it.

What you need
Root access to your server.
An SSH client, like , it’s free.

Let’s do it
1 – Run your SSH client and connect to your server using root.

2 – Do:

cd /

Note: I always make a folder like this

mkdir Tools
cd Tools

Note: This is version 3.0.9 obviously, it’s best if you check this web page and download the latest source code:

wget releases/mysql++-3.0.9.tar.gz
tar xvfz mysql++-3.0.9.tar.gz
cd mysql++-3.0.9
./configure
make
make install

3 – Now, in order for:

#include 

To work, you will have to add a line to your ld.so.conf; you will find this file (hopefully) in /etc so go to:
/etc
And edit ld.so.conf and add this line to the end of it:
/usr/local/lib

Note: If ld.so.conf is not in /etc you can try “whereis ld.so.conf” (no quotes)

Save it and run:

ldconfig

And you are all set.

Please also note that, this worked on my CentOS and might not work exactly like this on your distribution.


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

上一篇:CentOS 6.3 64位ftp服务器搭建-vsftpd安装及配置

下一篇:没有了

给主人留下些什么吧!~~