trying to get Horndude77's ruby logo removal script working
Posted: Sat Mar 07, 2009 10:35 am
Hi!
I am running Ubuntu 8.10 on Intel quadcore
I have tried the script, and installed everything (ruby, rubygem, libleptonica 1.6, libtiff4 etc)
However when I try to run the script, the system seems to fail to find the TIFFFdOpen function despite libtiff4 is already installed
abc@Q6600:~/imslp/scripts$ ruby1.9 clean_om_pdf.rb
ruby1.9: symbol lookup error: /usr/lib/liblept.so: undefined symbol: TIFFFdOpen
abc@Q6600:~/imslp/scripts$
How can I get it working again?
ffi seems to be able to load only dynamic libraries (.so). for some reason, liblept (which calls the tiff functions) can't locate the function concerned.
I am running Ubuntu 8.10 on Intel quadcore
I have tried the script, and installed everything (ruby, rubygem, libleptonica 1.6, libtiff4 etc)
However when I try to run the script, the system seems to fail to find the TIFFFdOpen function despite libtiff4 is already installed
abc@Q6600:~/imslp/scripts$ ruby1.9 clean_om_pdf.rb
ruby1.9: symbol lookup error: /usr/lib/liblept.so: undefined symbol: TIFFFdOpen
abc@Q6600:~/imslp/scripts$
How can I get it working again?
ffi seems to be able to load only dynamic libraries (.so). for some reason, liblept (which calls the tiff functions) can't locate the function concerned.