static-php-cli icon indicating copy to clipboard operation
static-php-cli copied to clipboard

adding qdbm handler for dba extension

Open tricarte opened this issue 1 year ago • 0 comments

Ubuntu 22.04 php8.3-dba package lists the available handlers like this: (Of course, this package installs other handlers as dependencies.)

$(command -v php) -r 'print_r(dba_handlers());'
Array
(
    [0] => cdb
    [1] => cdb_make
    [2] => db4
    [3] => inifile
    [4] => flatfile
    [5] => qdbm
    [6] => lmdb
)

But my static version of php which is compiled with dba extension lists these handlers only:

/path/to/static/php -r 'print_r(dba_handlers());'
Array
(
    [0] => cdb
    [1] => cdb_make
    [2] => inifile
    [3] => flatfile
)

Specifically, I need the qdbm handler. I tried appending --with-libs=qdbm, --with-libs=libqdbm to spc build command installing the qdbm development files from the package manager, using --with-suggested-libs but with no success.

tricarte avatar Mar 24 '24 12:03 tricarte