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

Nan Yu

I'm trying to install php on Centos 7 following instructions from: https://www.php.net/manual/en/install.unix.nginx.php. My nginx version: nginx/1.19.0

I downloaded php-7.4.6.tar.gz from https://www.php.net/downloads but at the step:

./configure --enable-fpm --with-mysqli

I got this error:

checking for sqlite3 > 3.7.4... no
configure: error: Package requirements (sqlite3 > 3.7.4) were not met:

No package 'sqlite3' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables SQLITE_CFLAGS
and SQLITE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

I do have sqlite3 up and running:

# sqlite3
SQLite version 3.7.17

So, how should I set the environment variable (in configure file?)? Thanks!

Holden Rohrer

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.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

SQLite3 query fails, the error does not

分類Dev

Cross-platform install of npm package sqlite3

分類Dev

what changes in routing were made between Rails 3 and Rails 4?

分類Dev

Rails 4 SQLite3::ReadOnlyException: attempt to write a readonly database

分類Dev

Rails 4 sql query interpretation with mysql or sqlite3

分類Dev

EDITGetting error main() takes 2 positional arguments but 3 were given

分類Dev

sqlite3 "OperationalError: near "(": syntax error" python

分類Dev

Error installing sqlite3, Failed to build gem native extension

分類Dev

sqlite3 raised an error after running Airflow command line

分類Dev

sqlite3 error: You did not supply a value for binding 1

分類Dev

Rails Server Gem Load Error - SQlite3

分類Dev

rake figaro:heroku is returning an error with sqlite3

分類Dev

Capybara error ActiveRecord::StatementInvalid: SQLite3::BusyException: database is locked

分類Dev

Python:sqlite3

分類Dev

TypeError: get_cell_value() takes 3 positional arguments but 4 were given

分類Dev

how to correctly use append function in sqlite3 database in swift 4

分類Dev

CoreDataとSQLite3

分類Dev

python sqlite3 query with AND

分類Dev

From Sqlite3 to Sqlalchemy

分類Dev

using sqlite3 and kivy

分類Dev

@classmethod error: TypeError: __call__() takes 2 positional arguments but 3 were given

分類Dev

sk-learn: Error of fit() takes 2 positional arguments but 3 were given in FeatureUnion

分類Dev

sqlite3 with cocos2d-x 3.2 on vs 2013 c ++ express on windows 7 64bit

分類Dev

sqlite3 with cocos2d-x 3.2 on vs 2013 c ++ express on windows 7 64bit

分類Dev

Error: Cannot find module \node_modules\sqlite3\lib\binding\electron-v8.0-win32-x64\node_sqlite3.node'

分類Dev

`sqlite3` ignores `sqlite3_busy_timeout`?

分類Dev

QT4QSQLDatabaseでSQLite3一時データベースを使用する

分類Dev

Sqlite3 PythonのDateExpiry

分類Dev

sqlite3で日付順

Related 関連記事

  1. 1

    SQLite3 query fails, the error does not

  2. 2

    Cross-platform install of npm package sqlite3

  3. 3

    what changes in routing were made between Rails 3 and Rails 4?

  4. 4

    Rails 4 SQLite3::ReadOnlyException: attempt to write a readonly database

  5. 5

    Rails 4 sql query interpretation with mysql or sqlite3

  6. 6

    EDITGetting error main() takes 2 positional arguments but 3 were given

  7. 7

    sqlite3 "OperationalError: near "(": syntax error" python

  8. 8

    Error installing sqlite3, Failed to build gem native extension

  9. 9

    sqlite3 raised an error after running Airflow command line

  10. 10

    sqlite3 error: You did not supply a value for binding 1

  11. 11

    Rails Server Gem Load Error - SQlite3

  12. 12

    rake figaro:heroku is returning an error with sqlite3

  13. 13

    Capybara error ActiveRecord::StatementInvalid: SQLite3::BusyException: database is locked

  14. 14

    Python:sqlite3

  15. 15

    TypeError: get_cell_value() takes 3 positional arguments but 4 were given

  16. 16

    how to correctly use append function in sqlite3 database in swift 4

  17. 17

    CoreDataとSQLite3

  18. 18

    python sqlite3 query with AND

  19. 19

    From Sqlite3 to Sqlalchemy

  20. 20

    using sqlite3 and kivy

  21. 21

    @classmethod error: TypeError: __call__() takes 2 positional arguments but 3 were given

  22. 22

    sk-learn: Error of fit() takes 2 positional arguments but 3 were given in FeatureUnion

  23. 23

    sqlite3 with cocos2d-x 3.2 on vs 2013 c ++ express on windows 7 64bit

  24. 24

    sqlite3 with cocos2d-x 3.2 on vs 2013 c ++ express on windows 7 64bit

  25. 25

    Error: Cannot find module \node_modules\sqlite3\lib\binding\electron-v8.0-win32-x64\node_sqlite3.node'

  26. 26

    `sqlite3` ignores `sqlite3_busy_timeout`?

  27. 27

    QT4QSQLDatabaseでSQLite3一時データベースを使用する

  28. 28

    Sqlite3 PythonのDateExpiry

  29. 29

    sqlite3で日付順

ホットタグ

アーカイブ