Install mariaDB and mysql headers in a Yocto Image

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Install mariaDB and mysql headers in a Yocto Image

3,451 次查看
slopez
Contributor II

Hi, all.

I'm trying to install the mariadb server and the headers/library for develop an application in c using bitbake in Yocto.

I add the follows lines in muy build/conf/local.conf

IMAGE_INSTALL_APPEND = " mariadb libmysqlclient-dev"

EXTRA_IMAGE_FEATURES += "dev-pkgs tools-sdk"

and create the image with bitbake core-image-minimal

The process is ok, and a .wic file is created, no error is showed in the process, however, when I run the image in my system, I can't see neither the mariadb process nor any library on my /usr/include.

can anyone help me?

Regards.

标签 (1)
0 项奖励
回复
1 回复

3,332 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Santiago López Pina,

I am not familiar with MariaDB as it’s not part of the BSP releases. Have you tried the MariaDB project documentation?

https://mariadb.com/kb/en/starting-and-stopping-mariadb/

Changes are you would need to start the process manually after adding the recipe to your image.

My apologies for the inconvenience!

Regards,

0 项奖励
回复