fastimage_resize icon indicating copy to clipboard operation
fastimage_resize copied to clipboard

How do we make this gem work with libgd3?

Open Bdejong30 opened this issue 10 years ago • 2 comments

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?

Bdejong30 avatar Dec 02 '15 12:12 Bdejong30

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.

sdsykes avatar Dec 26 '15 12:12 sdsykes

sudo apt install libgd-dev fixes it FYI

randoum avatar Dec 14 '16 08:12 randoum