QR Code issue

Moderator: cah

Post Reply
cah
General of the Army / Fleet Admiral / General of the Air Force
General of the Army / Fleet Admiral / General of the Air Force
Posts: 1336
Joined: Sun Aug 17, 2008 5:05 am

QR Code issue

Post by cah »

I have been using Imager::QRCode in Perl for a long time.
After migrating to Rocky 8, it stopped working. No error was reporting when trying to write the QR code to a file. That made me wonder.

Out of suspicion, I then re-ran perl Makefile.PL against "Imager" perl module (not "Imager::QRCode since it reports success). I then found below:

Code: Select all

Libraries found:
  PNG
Libraries *not* found:
  FT1
  FT2
  GIF
  JPEG
  T1
  TIFF
  Win32
That looks to me only PNG format image is supported so I changed the output filename from qrcode.jpg to qrcode.png. Guess what? The new qrcode.png was created as anticipated.

Going through more troubleshooting and found jpeglib.h was missing (same to other image libraries).
After checking, libjpeg-turbo (1.5.3) was already installed but libjpeg-turbo-devel was not. Installed the package and re-ran perl Makefile.PL returned:

Code: Select all

Libraries found:
  JPEG
  PNG
Libraries *not* found:
  FT1
  FT2
  GIF
  T1
  TIFF
  Win32
I then tried to find libgif package but couldn't find it.
CAH, The Great
Post Reply