New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load dynamic library '/usr/local/opt/php71-intl/intl.so'? #26074

Closed
jesseleite opened this Issue Apr 2, 2018 · 10 comments

Comments

Projects
None yet
7 participants
@jesseleite
Copy link

jesseleite commented Apr 2, 2018

I used to have php71 and php71-intl installed with brew. Now that everything PHP is being moved into homebrew-core, brew update screwed up a bunch of things with my PHP installation.

help

I've tried uninstalling everything PHP related, then I ran:

brew install php@7.1
brew link --overwrite --force php@7.1

Here's my brew gist-log for php@7.1

While it seems to link fine (see above screenshot), I can't get rid of that php71-intl.so warning, and now I can't run Valet to serve up sites anymore.

screen shot 2018-04-02 at 11 15 41 am

Anyone else having this issue? Kinda stuck here without a fully working version of PHP 😢

@riverway-developer

This comment has been minimized.

Copy link

riverway-developer commented Apr 2, 2018

same problem(

@jasongroulx

This comment has been minimized.

Copy link

jasongroulx commented Apr 2, 2018

I've been fighting the same issue all morning.

@ilovezfs

This comment has been minimized.

Copy link
Contributor

ilovezfs commented Apr 2, 2018

Remove the old config files.

@ilovezfs ilovezfs closed this Apr 2, 2018

@ilovezfs ilovezfs added the php label Apr 2, 2018

@Neodork

This comment has been minimized.

Copy link

Neodork commented Apr 2, 2018

The fix is actually quite easy. Since the library is now in the core of PHP and should be managed using pecl. One should delete the include in the conf.d directory of the PHP version you're running. E.G: For PHP 7.1 I would remove the following:

/usr/local/etc/php/7.1/conf.d/ext-intl.ini
@jesseleite

This comment has been minimized.

Copy link
Author

jesseleite commented Apr 2, 2018

Nice, that fixed the intl error, thank you! Now I'm getting this, though maybe it's unrelated.

screen shot 2018-04-02 at 12 06 35 pm

@Neodork

This comment has been minimized.

Copy link

Neodork commented Apr 2, 2018

That is actually a valet+ error which does not belong to the homebrew repository. I will soon open a new issue within the valet-plus repository. Valet-plus is currently still using the old tap and needs to be rebuild for the new kind of PHP management provided by homebrew/core.

A quick fix to that would be:

brew link php@7.1 --force

And then restarting your terminal.

@jesseleite

This comment has been minimized.

Copy link
Author

jesseleite commented Apr 2, 2018

Not using valet+, I'm using laravel/valet, they are different. 100% though, at this point it's not homebrew's problem, thank you sirs!

@mistre83

This comment has been minimized.

Copy link

mistre83 commented Apr 12, 2018

I'm having the same error. From when moved repo from homebrew/php to homebrew/core my dev enviroment no longer works! Two days of search to fix all the issues and no solution right now!!!

@Neodork

This comment has been minimized.

Copy link

Neodork commented Apr 12, 2018

@mistre83 You could fix your PHP installation by following the instructions in weprovide/valet-plus#127 (comment).

@aginanjar

This comment has been minimized.

Copy link

aginanjar commented Apr 24, 2018

@Neodork you saved my day.. thanks.

@lock lock bot added the outdated label May 24, 2018

@lock lock bot locked as resolved and limited conversation to collaborators May 24, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.