Bug 1217785 - PHP Startup: Unable to load dynamic library 'imagick.so'
Summary: PHP Startup: Unable to load dynamic library 'imagick.so'
Status: RESOLVED DUPLICATE of bug 1215626
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Development (show other bugs)
Version: Current
Hardware: aarch64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-04 16:41 UTC by Emiliano Langella
Modified: 2023-12-15 07:35 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emiliano Langella 2023-12-04 16:41:51 UTC
I have an issue with php8-imagick-3.7.0-2.6.aarch64:

# php -m
PHP Warning:  PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/lib64/php8/extensions/imagick.so (/usr/lib64/php8/extensions/imagick.so: undefined symbol: php_strlcpy), /usr/lib64/php8/extensions/imagick.so.so (/usr/lib64/php8/extensions/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
<cut>

TW snapshot is 20231129.

Any idea?
Comment 1 Arjen de Korte 2023-12-06 09:26:07 UTC
Is this a recent build of this extension? From which repository was it installed?
Comment 2 Emiliano Langella 2023-12-06 09:28:41 UTC
(In reply to Arjen de Korte from comment #1)
> Is this a recent build of this extension? From which repository was it
> installed?

$ sudo zypper info php8-imagick
Loading repository data...
Reading installed packages...


Information for package php8-imagick:
-------------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : php8-imagick
Version        : 3.7.0-2.6
Arch           : aarch64
Vendor         : openSUSE
Installed Size : 497.7 KiB
Installed      : Yes
Status         : up-to-date
Source package : php8-imagick-3.7.0-2.6.src
Upstream URL   : https://pecl.php.net/package/imagick
Summary        : Wrapper to the ImageMagick library
Description    : 
    PHP extension to create, modify and obtain meta information of images using
    the ImageMagick API.
Comment 3 Emiliano Langella 2023-12-06 09:32:29 UTC
As you can see, php8-imagick should be the latest version available from the openSUSE-Tumbleweed-Oss repository.
Comment 4 Arjen de Korte 2023-12-06 10:38:18 UTC
This package is probably installed from https://download.opensuse.org/ports/aarch64/tumbleweed/repo/oss/aarch64/

I do not have access to a aarch64 system, I can/will only address x86_64 related bugs. Assigning back to default.
Comment 5 Arjen de Korte 2023-12-06 18:16:46 UTC
Seems to be a duplicate of boo#1215626

*** This bug has been marked as a duplicate of bug 1215626 ***
Comment 6 Emiliano Langella 2023-12-14 16:50:32 UTC
The problem is fixed after updating php8-imagick to version 3.7.0-2.7.
Comment 7 Guillaume GARDET 2023-12-15 07:35:25 UTC
(In reply to Emiliano Langella from comment #6)
> The problem is fixed after updating php8-imagick to version 3.7.0-2.7.

For the record, I triggered a manual rebuild of the package.