pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: php73 extensions (with apache): Undefined symbol "executor_globals" (pre-built packages)



* On 2019-03-29 at 17:03 GMT, Silas wrote:

> In a NetBSD 8.0 virtual private server I installed ap24-php73 (and Apache
> and PHP).  I also installed some PHP extensions (pdo, zlib, etc.).
> 
> When I run Apache, it appends the following line to the logs:
> 
> PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo.so' (tried: /usr/pkg/lib/php/20181200/pdo.so (/usr/pkg/lib/php/20181200/pdo.so: Undefined symbol "executor_globals" (symnum = 125)), /usr/pkg/lib/php/20181200/pdo.so.so (Cannot open "/usr/pkg/lib/php/20181200/pdo.so.so")) in Unknown on line 0
> 
> And the extensions don't get loaded.

This was fixed in:

  https://github.com/NetBSD/pkgsrc/commit/46c7849d3a594459aec0d1c07579c073565c848d
  https://github.com/NetBSD/pkgsrc/commit/cc688b6c3c19bd75b4d2d10ebfe22d37f0a6074a

>    # echo $PKG_PATH
>    http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/8.0/All
> 
> Later, I compiled Apache and PHP myself and had no problems loading
> permissions.  Why this happens with pre-built packages?

It's likely that those binary packages are still from 2018Q4 or so.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index