How I Fixed: cannot open shared object file

I recently updated all my Ansible build scripts to PHP7, and shortly after, my built boxes started throwing this annoying error:

There’s no indication as to where this  file is attempted to be loaded from.

I am using an Ubuntu box and all I could find was help for CentOS. Dammit, I have been meaning to make the switch for a while now, but I just haven’t yet found the time.

Anyway, after a bit of Google-fu, I found a quick way to find the file:

And from there, the fix is easy:

and inside the file, comment out the line mentioning

Problem solved.


Published by

Code Review

Code Review

CodeReviewVideos is a video training site helping software developers learn Symfony faster and easier.

Leave a Reply

Your email address will not be published. Required fields are marked *