Home >Database >Mysql Tutorial >How to Install libmysqlclient15-dev on macOS for Gem Compilation?

How to Install libmysqlclient15-dev on macOS for Gem Compilation?

Barbara Streisand
Barbara StreisandOriginal
2024-10-27 02:22:02814browse

How to Install libmysqlclient15-dev on macOS for Gem Compilation?

libmysqlclient15-dev for macOS

OSX users seeking to install libmysqlclient15-dev may encounter confusion due to its availability primarily on Linux systems. However, there's a straightforward solution for macOS users.

Solution:

Instead of searching for libmysqlclient15-dev, simply install MySQL via Homebrew using the following command:

brew install mysql

This command will install MySQL and provide the necessary MySQL development libraries, including those required by the gem you're trying to compile.

By executing the Homebrew command above, macOS users can easily resolve the issue of libmysqlclient15-dev unavailability and proceed with compiling their gems without any hindrances.

The above is the detailed content of How to Install libmysqlclient15-dev on macOS for Gem Compilation?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn