I can't install php82-intl or php83-intl package

Hi all,

I need php82-intl extension but I failed trying to install it.

First I attempted:

git clone https://aur.archlinux.org/php82.git
cd php82
makepkg -si 

But I got some errors so I tried to install php82 from aur:

yay -S php82

And it was fine with some packages. But with php82-intl I get an error that I don’t understand.

At this moment I’m reinstalling by both options and I will paste here the errors, but in the meanwhile I would appreciate if someone can tell me the best option to do the installation and if this is a well-known error.

Why would you need 8.2 when 8.5 is in the repo?

Add a file to /etc/php/php.d/intl.ini

extension=intl
1 Like

Because I need specifically 8.2 to execute one project.

And yeah, I done that but intl isn’t charged :slight_smile:

php82 -m | grep intl

absolute nothing :frowning:

Hello people,

I tried:

yay -S php83-intl

And I got this error:

libtool: link: `ext/standard/array.lo' is not a valid libtool object
make: *** [Makefile:242: libphp.la] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: php83-exit status 4
 -> nothing to install for php83
 -> Failed to install the following packages. Manual intervention is required:
php83 - exit status 4

Any advice?

… and you need php83 instead of php85 which is in the repos?

:bangbang: Tip :bangbang:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:

As I’m a moderator on the forum, I have taken the liberty of doing this for you, this time.


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Note that the above text is partially pre-prepared as a general introduction for new forum Users. Please take the time to to understand how it is done and encourage quality responses.