I need to make a call to the Image::ExifTool Perl module via Java. The only viable solution I have found is Inline::Java::PerlInterpreter, yet when trying to install via cpan, I always get the error:
/usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_init':
(.text 0x18): undefined reference to `__init_array_end'
/usr/bin/ld: /usr/lib/libc_nonshared.a(elf-init.oS): relocation R_386_GOTOFF against undefined hidden symbol `__init_array_end' can not be used when making a shared object
I have filed a bug, but am yet to gain a response.
Does anyone have an alternative in mind? Something that would allow me to pass a byte array to a Perl function, make a call to the Image::ExifTool module, and return a string array?
Yes. Use a native Java EXIF handler like one of these.