Hi,
I'm currently having issues installing tesseract with leptonica on CentOS 5.5.
On a clean install of CentOS i can succesfully install tesseract using the following tutorial:
http://paramountideas.com/tesseract-ocr-30-and-leptonica-installation-centos-55-and-opensuse-113
When I try to perform this installation on a CentOS 5.5 machine with DirectAdmin running on it I get errors while executing "make" for leptonica. It gives me the following error:
Does anyone know why this is happening, and how I can possibly fix this error?
Thanks in advance.
Paul
I'm currently having issues installing tesseract with leptonica on CentOS 5.5.
On a clean install of CentOS i can succesfully install tesseract using the following tutorial:
http://paramountideas.com/tesseract-ocr-30-and-leptonica-installation-centos-55-and-opensuse-113
When I try to perform this installation on a CentOS 5.5 machine with DirectAdmin running on it I get errors while executing "make" for leptonica. It gives me the following error:
Code:
./.libs/liblept.so: undefined reference to `png_destroy_read_struct@PNG12_0'
./.libs/liblept.so: undefined reference to `png_get_text@PNG12_0'
./.libs/liblept.so: undefined reference to `png_create_info_struct@PNG12_0'
./.libs/liblept.so: undefined reference to `png_set_compression_level@PNG12_0'
./.libs/liblept.so: undefined reference to `png_get_rowbytes@PNG12_0'
./.libs/liblept.so: undefined reference to `png_get_PLTE@PNG12_0'
./.libs/liblept.so: undefined reference to `png_get_rows@PNG12_0'
./.libs/liblept.so: undefined reference to `png_get_image_width@PNG12_0'
./.libs/liblept.so: undefined reference to `png_get_y_pixels_per_meter@PNG12_0'
./.libs/liblept.so: undefined reference to `png_write_end@PNG12_0'
./.libs/liblept.so: undefined reference to `png_get_x_pixels_per_meter@PNG12_0'
./.libs/liblept.so: undefined reference to `png_write_image@PNG12_0'
./.libs/liblept.so: undefined reference to `png_get_image_height@PNG12_0'
./.libs/liblept.so: undefined reference to `png_set_gAMA@PNG12_0'
./.libs/liblept.so: undefined reference to `png_init_io@PNG12_0'
./.libs/liblept.so: undefined reference to `png_write_info@PNG12_0'
./.libs/liblept.so: undefined reference to `png_get_bit_depth@PNG12_0'
./.libs/liblept.so: undefined reference to `png_set_PLTE@PNG12_0'
./.libs/liblept.so: undefined reference to `png_read_png@PNG12_0'
./.libs/liblept.so: undefined reference to `png_write_rows@PNG12_0'
./.libs/liblept.so: undefined reference to `png_get_channels@PNG12_0'
./.libs/liblept.so: undefined reference to `png_set_pHYs@PNG12_0'
./.libs/liblept.so: undefined reference to `png_set_IHDR@PNG12_0'
./.libs/liblept.so: undefined reference to `png_destroy_write_struct@PNG12_0'
./.libs/liblept.so: undefined reference to `png_create_write_struct@PNG12_0'
./.libs/liblept.so: undefined reference to `png_set_text@PNG12_0'
./.libs/liblept.so: undefined reference to `png_create_read_struct@PNG12_0'
./.libs/liblept.so: undefined reference to `png_set_rows@PNG12_0'
./.libs/liblept.so: undefined reference to `png_get_color_type@PNG12_0'
Does anyone know why this is happening, and how I can possibly fix this error?
Thanks in advance.
Paul