Hello
I installed openBSD 3.8 with lighttpd & php-5.1.2

unfortunately I fail to install pdflib to work with php.
when I run the 'make' command I get an error message related to the 
linker - but since I don't understand the message, I have no clue how to 
try to resolve it.
I suppose that a file called pdf.so should be created but somehow it 
doesn't happen
The message is here below - can anyone help?

Thank you

# make LIBDIR=/usr/local/bin/libtool
/bin/sh /usr/src/pdflib-2.0.5/libtool --mode=compile gcc  -I. 
-I/usr/src/pdflib-2.0.5 -DPHP_ATOM_INC -I/usr/src/pdflib-2.0.5/include 
-I/usr/src/pdflib-2.0.5/main -I/usr/src/pdflib-2.0.5 
-I/usr/local/include/php -I/usr/local/include/php/main 
-I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend 
-I/usr/local/include/php/ext 
-I/usr/src/PDFlib-6.0.3-OpenBSD34/bind/c/include  -DHAVE_CONFIG_H  -g 
-O2   -c /usr/src/pdflib-2.0.5/pdf.c -o pdf.lo
mkdir .libs
 gcc -I. -I/usr/src/pdflib-2.0.5 -DPHP_ATOM_INC 
-I/usr/src/pdflib-2.0.5/include -I/usr/src/pdflib-2.0.5/main 
-I/usr/src/pdflib-2.0.5 -I/usr/local/include/php 
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM 
-I/usr/local/include/php/Zend -I/usr/local/include/php/ext 
-I/usr/src/PDFlib-6.0.3-OpenBSD34/bind/c/include -DHAVE_CONFIG_H -g -O2 
-c /usr/src/pdflib-2.0.5/pdf.c  -fPIC -DPIC -o .libs/pdf.o
/bin/sh /usr/src/pdflib-2.0.5/libtool --mode=link gcc -DPHP_ATOM_INC 
-I/usr/src/pdflib-2.0.5/include -I/usr/src/pdflib-2.0.5/main 
-I/usr/src/pdflib-2.0.5 -I/usr/local/include/php 
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM 
-I/usr/local/include/php/Zend -I/usr/local/include/php/ext 
-I/usr/src/PDFlib-6.0.3-OpenBSD34/bind/c/include  -DHAVE_CONFIG_H  -g 
-O2   -o ./pdf.la -export-dynamic -avoid-version -prefer-pic -module 
-rpath /usr/src/pdflib-2.0.5/modules  pdf.lo 
-R/usr/src/PDFlib-6.0.3-OpenBSD34/bind/c/lib 
-L/usr/src/PDFlib-6.0.3-OpenBSD34/bind/c/lib -lpdf

*** Warning: linker path does not have real file for library -lpdf.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libpdf and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: 
/usr/src/PDFlib-6.0.3-OpenBSD34/bind/c/lib/libpdf.a

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module pdf.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
ar cru ./.libs/pdf.a .libs/pdf.o
ranlib ./.libs/pdf.a
creating ./pdf.la
(cd ./.libs && rm -f pdf.la && ln -s ../pdf.la pdf.la)
/bin/sh /usr/src/pdflib-2.0.5/libtool --mode=install cp ./pdf.la 
/usr/src/pdflib-2.0.5/modules
cp ./.libs/pdf.lai /usr/src/pdflib-2.0.5/modules/pdf.la
cp ./.libs/pdf.a /usr/src/pdflib-2.0.5/modules/pdf.a
ranlib -t /usr/src/pdflib-2.0.5/modules/pdf.a
chmod 644 /usr/src/pdflib-2.0.5/modules/pdf.a
PATH="$PATH:/sbin" ldconfig -m /usr/src/pdflib-2.0.5/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/src/pdflib-2.0.5/modules


Regards


vladan
-- 
Business elements Online Ltd
2905 Universal Trade Centre
3 Arbuthnot Road
Central, Hong Kong
tel +852-2801 4868
fax +852-2801 4818
www.i-audience.com <http://www.i-audience.com>
------------------------------------------------------------------------
This message is intended only for the stated addressee(s) and may be
confidential. Access to this email by anyone else is unauthorized. Any
opinions expressed in this email do not necessarily reflect the opinions
of Business elements Online Ltd. Any unauthorized disclosure, use or
dissemination, either whole or in part is prohibited. If you are not the
intended recipient of this message, please notify the sender Immediately.

Reply via email to