fastimage_resize
fastimage_resize copied to clipboard
How do we make this gem work with libgd3?
The gem works fine on my localhost, but it doesn't work on Heroku, because libgd2 isn't supported by them anymore. (https://devcenter.heroku.com/articles/cedar-ubuntu-packages). Can you help with this issue?
The most recent version of libgd is v2.1.1. This gem works with it fine.
But I guess ubuntu are packaging it as libgd3 for some reason. Possibly you need to change this
builder.add_link_flags "-lgd"
to this
builder.add_link_flags "-lgd3"
But I don't have a recent ubuntu system to try it on.
sudo apt install libgd-dev fixes it FYI