Re: [PHP-DEV] Native SSL support in Phar extension

2024-08-27 Thread Christoph M. Becker
On 27.08.2024 at 16:42, Calvin Buckley wrote: > On Aug 27, 2024, at 8:52 AM, Christoph M. Becker wrote: >> >> Might roughly be similar on AIX with "the other dynamic linking option". > > There isn't something like import libraries, but rather, the shared libs > are actually .a archive files that

Re: [PHP-DEV] Native SSL support in Phar extension

2024-08-27 Thread Calvin Buckley
On Aug 27, 2024, at 8:52 AM, Christoph M. Becker wrote: > > Interesting! Just a the other day I (re-?)learned that there are > usually no "import libraries" (Windows terminology) on Linux, which are > *very* common on Windows. Such import libraries define stubs (i.e. > wrappers) for all exporte

Re: [PHP-DEV] Native SSL support in Phar extension

2024-08-27 Thread Christoph M. Becker
On 26.08.2024 at 20:05, Calvin Buckley wrote: > Dynamic linkers that pull from a general symbol slurry (your typical ld.so > for instance) don't have a problem with it, but some platforms have more > strict linkage, like Windows. IIRC, things like PDO are built into the PHP > executable/library fo

Re: [PHP-DEV] Native SSL support in Phar extension

2024-08-26 Thread Peter Kokot
On Mon, 26 Aug 2024 at 20:05, Calvin Buckley wrote: > As such, it might be a bit tricky for people on Windows/AIX; the easiest > solution if PHAR is using the openssl extension's symbols would be to not > build the openssl extension as shared. I've just checked Windows build and the PHP downloade

Re: [PHP-DEV] Native SSL support in Phar extension

2024-08-26 Thread Calvin Buckley
On Aug 26, 2024, at 1:23 PM, Peter Kokot wrote: > > Hello, > > There came up another idea/issue about the Phar extension and its > native SSL support. > > As you might know or not, when building PHP: > > ./configure --with-openssl --enable-phar > > the Phar extension will get so-called native