[Bug 2063334] Re: PHP Warning: PHP Startup: Unable to load dynamic library 'mailparse.so' (tried: /usr/lib/php/20230831/mailparse.so (/usr/lib/php/20230831/mailparse.so: undefined symbol: mbfl_name2no

2024-05-21 Thread James McDonald
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063334

Title:
  PHP Warning:  PHP Startup: Unable to load dynamic library
  'mailparse.so' (tried: /usr/lib/php/20230831/mailparse.so
  (/usr/lib/php/20230831/mailparse.so: undefined symbol:
  mbfl_name2no_encoding), /usr/lib/php/20230831/mailparse.so.so
  (/usr/lib/php/20230831/mailparse.so.so: cannot open shared object
  file: No such file or directory)) in Unknown on line 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-mailparse/+bug/2063334/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2063334] Re: PHP Warning: PHP Startup: Unable to load dynamic library 'mailparse.so' (tried: /usr/lib/php/20230831/mailparse.so (/usr/lib/php/20230831/mailparse.so: undefined symbol: mbfl_name2no

2024-05-21 Thread James McDonald
I tried the temporary fix but I get "undefined symbol:
zif_mailparse_test" when compiling from source as above

php -v
PHP Warning:  PHP Startup: Unable to load dynamic library 'mailparse.so' 
(tried: /usr/lib/php/20230831/mailparse.so (/usr/lib/php/20230831/mailparse.so: 
undefined symbol: zif_mailparse_test), /usr/lib/php/20230831/mailparse.so.so 
(/usr/lib/php/20230831/mailparse.so.so: cannot open shared object file: No such 
file or directory)) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'mailparse.so' 
(tried: /usr/lib/php/20230831/mailparse.so (/usr/lib/php/20230831/mailparse.so: 
undefined symbol: zif_mailparse_test), /usr/lib/php/20230831/mailparse.so.so 
(/usr/lib/php/20230831/mailparse.so.so: cannot open shared object file: No such 
file or directory)) in Unknown on line 0
PHP 8.3.6 (cli) (built: Apr 15 2024 19:21:47) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.6, Copyright (c) Zend Technologies
with Zend OPcache v8.3.6, Copyright (c), by Zend Technologies

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063334

Title:
  PHP Warning:  PHP Startup: Unable to load dynamic library
  'mailparse.so' (tried: /usr/lib/php/20230831/mailparse.so
  (/usr/lib/php/20230831/mailparse.so: undefined symbol:
  mbfl_name2no_encoding), /usr/lib/php/20230831/mailparse.so.so
  (/usr/lib/php/20230831/mailparse.so.so: cannot open shared object
  file: No such file or directory)) in Unknown on line 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-mailparse/+bug/2063334/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2063334] Re: PHP Warning: PHP Startup: Unable to load dynamic library 'mailparse.so' (tried: /usr/lib/php/20230831/mailparse.so (/usr/lib/php/20230831/mailparse.so: undefined symbol: mbfl_name2no

2024-05-10 Thread khelil
#php -v
PHP Warning:  PHP Startup: Unable to load dynamic library 'mailparse.so' 
(tried: /usr/lib/php/20230831/mailparse.so (/usr/lib/php/20230831/mailparse.so: 
undefined symbol: mbfl_name2no_encoding), /usr/lib/php/20230831/mailparse.so.so 
(/usr/lib/php/20230831/mailparse.so.so: cannot open shared object file: No such 
file or directory)) in Unknown on line 0
PHP 8.3.6 (cli) (built: Apr 15 2024 19:21:47) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.6, Copyright (c) Zend Technologies
with Zend OPcache v8.3.6, Copyright (c), by Zend Technologies

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063334

Title:
  PHP Warning:  PHP Startup: Unable to load dynamic library
  'mailparse.so' (tried: /usr/lib/php/20230831/mailparse.so
  (/usr/lib/php/20230831/mailparse.so: undefined symbol:
  mbfl_name2no_encoding), /usr/lib/php/20230831/mailparse.so.so
  (/usr/lib/php/20230831/mailparse.so.so: cannot open shared object
  file: No such file or directory)) in Unknown on line 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-mailparse/+bug/2063334/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2063334] Re: PHP Warning: PHP Startup: Unable to load dynamic library 'mailparse.so' (tried: /usr/lib/php/20230831/mailparse.so (/usr/lib/php/20230831/mailparse.so: undefined symbol: mbfl_name2no

2024-05-10 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: php-mailparse (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063334

Title:
  PHP Warning:  PHP Startup: Unable to load dynamic library
  'mailparse.so' (tried: /usr/lib/php/20230831/mailparse.so
  (/usr/lib/php/20230831/mailparse.so: undefined symbol:
  mbfl_name2no_encoding), /usr/lib/php/20230831/mailparse.so.so
  (/usr/lib/php/20230831/mailparse.so.so: cannot open shared object
  file: No such file or directory)) in Unknown on line 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-mailparse/+bug/2063334/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2063334] Re: PHP Warning: PHP Startup: Unable to load dynamic library 'mailparse.so' (tried: /usr/lib/php/20230831/mailparse.so (/usr/lib/php/20230831/mailparse.so: undefined symbol: mbfl_name2no

2024-05-04 Thread PouletFou
php8.3-mailparse package is broken on fresh ubuntu 24.04 install.

There is a temporary fix, building the extension from source
(taken from 
https://github.com/php-mime-mail-parser/php-mime-mail-parser?tab=readme-ov-file#from-source)


git clone https://github.com/php/pecl-mail-mailparse.git
cd pecl-mail-mailparse
phpize
./configure
sed -i 's/#if\s!HAVE_MBSTRING/#ifndef MBFL_MBFILTER_H/' ./mailparse.c
make
sudo mv modules/mailparse.so /usr/lib/php/20230831/
echo "extension=mailparse.so" | sudo tee 
/etc/php/7.1/mods-available/mailparse.ini
sudo phpenmod mailparse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063334

Title:
  PHP Warning:  PHP Startup: Unable to load dynamic library
  'mailparse.so' (tried: /usr/lib/php/20230831/mailparse.so
  (/usr/lib/php/20230831/mailparse.so: undefined symbol:
  mbfl_name2no_encoding), /usr/lib/php/20230831/mailparse.so.so
  (/usr/lib/php/20230831/mailparse.so.so: cannot open shared object
  file: No such file or directory)) in Unknown on line 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-mailparse/+bug/2063334/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs