相当于libmysqldev FreeBSD [英] Equivalent to libmysqldev FreeBSD

查看:90
本文介绍了相当于libmysqldev FreeBSD的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用mysql dev库(在头文件中包含mysql.h)在fedora中编译了一个程序.我需要在FreeBSD上进行编译.我不想从源代码下载并进行编译,而是想从端口或等效的端口下载内容,以便在需要时方便地将其删除. 有谁知道FreeBSD中libmysql-dev的等效功能.我没有在港口找到它?

I have compiled a program in fedora using the mysql dev library (include mysql.h in header file). I need to compile in on FreeBSD. I do not want to download from source and compile but rather would like to download from ports or something equivalent to facilitate removing it if need be. Does anyone know the equivalent of the libmysql-dev in FreeBSD. I have not found it in ports?

推荐答案

您不需要特殊的程序包.标准的mysql客户端程序包/端口已包含所需的库和头文件.头文件将最终通过 默认情况下,在/usr/local/include/mysql/目录中,而 库将转到/usr/local/lib/mysql/.

You do not need a special package for this. The standard mysql client package/port already includes the libraries and the header files you will need. The header files will end up, by default, in /usr/local/include/mysql/ directory, while the libraries will go to /usr/local/lib/mysql/.

所以-只需从端口或软件包安装客户端,就可以设置好了.

So - just install a client from ports or packages, and you are set.

这篇关于相当于libmysqldev FreeBSD的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆