Skip to content
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

jpegoptim: error while loading shared libraries: libjpeg.so.9: cannot open shared object file: No such file or directory #65

Closed
mattyl opened this issue Feb 20, 2019 · 1 comment

Comments

@mattyl
Copy link

mattyl commented Feb 20, 2019

I am getting these errors
I installed libjpeg 9-c

I can see libjpeg.so.62 in the sbin

i have a plesk setup in centos
when i went to install jpegoptim it complained about no libjpeg - so i downloaded and installed it
this allowed jpegoptim to install

ANy idea what i did wrong?

@mattyl
Copy link
Author

mattyl commented Feb 28, 2019

for those that come afterwards....
as i had to install libjpeg it went into usr/local/lib and seems my plesk system doesnt check usr/local/lib so i needed to edit /etc/ld.so.conf
with
/usr/local/lib
then run /sbin/ldconfig -v (to rebuild cache)
et voila error goes away (i dont know why it couldn't use libjpeg.so.62 which was already installed and as such avoid installing libjpeg.so.9 but thats for others cleverer than me.

@mattyl mattyl closed this as completed Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant