Topic: genbarcode compiled for i386 does not work on x86_64
Hello,
I have trouble creating labels. It started with what appears to be the infamous "imagecreatefrompng() Cannot read image data" Error. I read a forum post pointing to genbarcode. I tried executing it ./genbarcode and would get "No such file or directory" . Running file against genbarcode shows it is i386 only. I am on x86_64. I downloaded php-barcode from http://www.ashberg.de/php-barcode/download/ and compiled it (make), replaced genbarcode executing file genbarcode now show it is compiled for x86_64. Executing ./genbarcode reveals usage and the program appears to be operating. There is still an error during barcode generation:
Function set_magic_quotes_runtime() is deprecated Source File: /var/www/tracmor/includes/php/tcpdf/tcpdf.php Line: 3480 . Although I can navigate to server/tmp/1_1.png and view the label. It appears genbarcode is doing its job, now the problem is just generating the PDF. I am using tracmor-0.3.0.tar.gz build on Ubuntu Natty/PHP5.3.5. Trying to enable magic_quotes I get: mysqli_result::fetch_array(): magic_quotes_runtime are deprecated since PHP 5.3. Please help, I'm drowning in a sea of cruft.
Thank you,
Bryan