I am trying to use PDF::FromHTML on my linux ( Fedora 12 )  machine

I have just copied the man page example  but I cant get it to run

---------------
#!/usr/bin/perl
use PDF::FromHTML;
my $pdf = PDF::FromHTML->new( encoding => 'utf-8' );
$pdf->load_file('source.html');
$pdf->convert(
        Font        => 'font.ttf',
        LineHeight  => 10,
        Landscape   => 1,
);
$pdf->write_file('target.pdf');
------------

I am getting an error like

perl: symbol lookup error:
/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/auto/HTML/Tidy/Tidy.so:
undefined symbol: tidyCreate


Is there a better way of creating PDF from HTML .. I believe this particular
module is not much supported any longer








-- 
Thanks
Ram
  <http://www.netcore.co.in/>




n <http://pragatee.com>

Reply via email to