libreadline: cannot open shared object file

Installed PHP-FPM long after installing PHP itself.

When executed, both of them said this:

php: error while loading shared libraries: cannot open shared object file: No such file or directory

Solved this by updating libreadline (in my case from v6.3 to v7.0)

sudo pacman -S readline

And tada! Problem solved. No more errors.

CAUTION: This might break dependencies for bash, you might wanna make some symlinks named as older (.6.3, .6) versions for libreadline in /lib and similar links might be needed for libtinfo.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s