Requested 'sqlite3 > 3.7.4' but version of SQLite is 3.6.20

Mitch

Verified User
Joined
Apr 16, 2013
Messages
75
Hi,

I try to update php 7.4 in the custombuild but getting the following message:

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

Requested 'sqlite3 > 3.7.4' but version of SQLite is 3.6.20

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.

So, I updated sqlite to version:
Code:
# sqlite3 --version
3.31.0 2020-01-22 18:38:59 f6affdd41608946fcfcea914ece149038a8b25a62bbe719ed2561c649b86d824

But directadmin still tells me the version is 3.6.20, what am i missing here? How can directadmin seeing a different version?

I used this post to update sqlite: https://linuxhint.com/upgrade-to-latest-sqlite3-on-centos7/
 
Last edited:
Are you sure your OS is not CentOS6? (as you posted article for CentOS7)

Please try CB 2.0 rev. 2374 or newer if that's CentOS6.
 
The server runs CentOS release 6.10 (Final)

I had CB 2.0.0 (rev: 2371)
I updated CB to (rev: 2374)

When I try to update now I get the the error:
Code:
Updating PHP 7.4
Downloading        sqlite/sqlite-autoconf-3.31.0.tar.gz...
--2020-01-26 23:30:00--  https://files.directadmin.com/services/custombuild/sqlite/sqlite-autoconf-3.31.0.tar.gz
Resolving files.directadmin.com... 104.128.54.74, 185.42.221.168, 69.162.69.58
Connecting to files.directadmin.com|104.128.54.74|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-01-26 23:30:00 ERROR 404: Not Found.

Downloaded file /usr/local/directadmin/custombuild/sqlite/sqlite-autoconf-3.31.0.tar.gz does not exist or is empty after download
cwd is: /usr/local/directadmin/custombuild
Fileserver might be down, using the backup file server..
--2020-01-26 23:30:00--  http://69.162.69.58/services/custombuild/sqlite/sqlite-autoconf-3.31.0.tar.gz
Connecting to 69.162.69.58:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-01-26 23:30:00 ERROR 404: Not Found.

*** Cannot find /usr/local/directadmin/custombuild/sqlite-autoconf-3.31.0.tar.gz. Aborting ***


I tried also those urls on my own machine but I get 404's


This goes wrong because I edited the sqlite version in the custombuild.
I remove the customized version and tried to install again:

Code:
2020-01-27 07:49:04 (2.40 MB/s) - `/usr/local/directadmin/custombuild/sqlite/sqlite-autoconf-3310000.tar.gz' saved [2887038/2887038]

*** Cannot find /usr/local/directadmin/custombuild/sqlite-autoconf-3310000.tar.gz. Aborting ***

So first It downloads the file to "/usr/local/directadmin/custombuild/sqlite/" and after that it tries to find the file in "/usr/local/directadmin/custombuild/" I think that's a bug in the custombuild?
 
Last edited:
The server runs CentOS release 6.10 (Final)

I had CB 2.0.0 (rev: 2371)
I updated CB to (rev: 2374)

When I try to update now I get the the error:
Code:
Updating PHP 7.4
Downloading        sqlite/sqlite-autoconf-3.31.0.tar.gz...
--2020-01-26 23:30:00--  https://files.directadmin.com/services/custombuild/sqlite/sqlite-autoconf-3.31.0.tar.gz
Resolving files.directadmin.com... 104.128.54.74, 185.42.221.168, 69.162.69.58
Connecting to files.directadmin.com|104.128.54.74|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-01-26 23:30:00 ERROR 404: Not Found.

Downloaded file /usr/local/directadmin/custombuild/sqlite/sqlite-autoconf-3.31.0.tar.gz does not exist or is empty after download
cwd is: /usr/local/directadmin/custombuild
Fileserver might be down, using the backup file server..
--2020-01-26 23:30:00--  http://69.162.69.58/services/custombuild/sqlite/sqlite-autoconf-3.31.0.tar.gz
Connecting to 69.162.69.58:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-01-26 23:30:00 ERROR 404: Not Found.

*** Cannot find /usr/local/directadmin/custombuild/sqlite-autoconf-3.31.0.tar.gz. Aborting ***


I tried also those urls on my own machine but I get 404's


This goes wrong because I edited the sqlite version in the custombuild.
I remove the customized version and tried to install again:

Code:
2020-01-27 07:49:04 (2.40 MB/s) - `/usr/local/directadmin/custombuild/sqlite/sqlite-autoconf-3310000.tar.gz' saved [2887038/2887038]

*** Cannot find /usr/local/directadmin/custombuild/sqlite-autoconf-3310000.tar.gz. Aborting ***

So first It downloads the file to "/usr/local/directadmin/custombuild/sqlite/" and after that it tries to find the file in "/usr/local/directadmin/custombuild/" I think that's a bug in the custombuild?
Try “./build set_fastest”, maybe an outdated mirror.
 
Code:
Fastest server is files6.directadmin.com at 25165824 B/s
Changed downloadserver option from files.directadmin.com to files6.directadmin.com

Tried again:
Code:
Executing /usr/local/directadmin/plugins/custombuild/admin/build update_versions.
Updating PHP 7.4
*** Cannot find /usr/local/directadmin/custombuild/sqlite-autoconf-3310000.tar.gz. Aborting ***
Done!

For a workaround I can copy the file to the location the script is asking for..
 
After updating still at release 2.0.0 (rev: 2375) when can I expect the new release?
 
Mirrors should be in sync in 24h. files1, files2, files-de, files-lt, files-fr are already updated :)
 
Ah ok, I put the file server to server 2, updated and retry the install and now it works.

Thanks for the help!
 
Back
Top