php-zbarcode icon indicating copy to clipboard operation
php-zbarcode copied to clipboard

gd.h: No such file or directory on make install

Open maxmumford opened this issue 13 years ago • 2 comments

Hello,

Trying to install this extension and am getting the following error:

/tmp/php-zbarcode-master/zbarcode.c:43:18: fatal error: gd.h: No such file or directory

I have looked for instructions on installing gd for php but have not had any luck. Can you point me in the right direction?

Thanks

maxmumford avatar Apr 15 '13 21:04 maxmumford

Try to install this package if you are in debian : libgd2-noxpm-dev

VincentCasse avatar Jun 19 '13 21:06 VincentCasse

it does works.

Codefor avatar Aug 23 '14 09:08 Codefor