If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Informix PHP build error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-02-06, 10:23
sroberts sroberts is offline
Registered User
 
Join Date: Apr 2006
Posts: 1
Informix PHP build error

Hello,


I am trying to build php-5.0.4 on solaris 8 so that it interacts with Informix Dynamic Server Version 7.31.FD6.
I am using client sdk 2.81.FC2, 64 bit esql libraries.

I am configuring php like this:

./configure --with-informix=$INFORMIXDIR


When I build I get this error:


Zend/zend_language_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_ts_hash.lo Zend/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo Zend/zend_exceptions.lo Zend/zend_strtod.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo Zend/zend_objects_API.lo Zend/zend_mm.lo Zend/zend_default_classes.lo Zend/zend_reflection_api.lo Zend/zend_execute.lo sapi/cgi/cgi_main.lo sapi/cgi/getopt.lo main/internal_functions.lo -lifsql -lifasf -lifgen -lifos -lifgls -lnsl -lsocket -laio -ldl -lelf -lphpifx -lifglx -lresolv -lm -lsocket -lgcc -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -o sapi/cgi/php
/usr/opt/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.4/../../../../sparc-sun-solaris2.8/bin/ld: skipping incompatible /usr/opt/informix2/lib/esql/libifsql.so when searching for -lifsql
/usr/opt/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.4/../../../../sparc-sun-solaris2.8/bin/ld: skipping incompatible /usr/opt/informix2/lib/esql/libifsql.a when searching for -lifsql
/usr/opt/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.4/../../../../sparc-sun-solaris2.8/bin/ld: cannot find -lifsql
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1



Does anyone know how to resolve this error ?

Has anyone else had this error ?
Reply With Quote
  #2 (permalink)  
Old 05-23-06, 03:26
steellynx steellynx is offline
Registered User
 
Join Date: Oct 2005
Posts: 12
Hello,

you must install the Informix CSDK Kit (www.ibm.com).
After that, you can compile php with informix support.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On