Install Sqlite3 Dev and Other Packages in Centos

install sqlite3 dev and other packages in centos

Late response, but perhaps this might help others who eventually stumble on this question looking for the same answer.

The sqlite3 development package can be found in the epel repo. EPEL

Easy to install on CentOS -> yum install epel-release

$ yum list | grep sqlite

libsqlite3x-devel.x86_64 20071018-20.el7 @epel

Similar list/grep can be done for the other libraries you are looking to install, although the names are most likely just slightly different (list edited for clarity).

$ yum list | grep boost

boost-devel.x86_64 1.53.0-26.el7 base

configure error: Package requirements (sqlite3 3.7.4) were not met

To compile from source, dependencies need to be available as a linkable library (and sometimes headers which the new program uses for building). -devel packages install these libraries, so to build PHP from source with SQLite support, you need to install sqlite-devel.

If you have Ubuntu >= 20.04, install this package libsqlite3-dev to satisfy the dev dependency/package requirements.

Issue with 'gem install sqlite3-ruby' on RHEL6

It turns out you have to have gcc installed for 'gem install sqlite3-ruby' to work. It will never explicitly tell you that gcc isn't found (even the log file doesn't mention it).



Related Topics



Leave a reply



Submit