|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-08-06 10:02 UTC] rasmus@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 22:00:01 2025 UTC |
The configure code that tests for pdflib fails because of a type conflict and library name chage. A program which compiles with no errors is included below. This bug is against PHP4.0b2. int main() { PDF *p; p = PDF_new(); PDF_open_file(p, "pdftestfile"); PDF_begin_page(p, a4_width, a4_height); PDF_end_page(p); PDF_close(p); PDF_delete(p); return 0; } Compile with "gcc -ltiff -lpdf2.01 -o temp temp.c" Note that the library name is no longer libpdf.so, but libpdf2.01.so