#37058 [Fbk-Opn]: Building with Informix does not work

2006-04-13 Thread gquiring at gmail dot com
 ID:   37058
 User updated by:  gquiring at gmail dot com
 Reported By:  gquiring at gmail dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: Solaris 9
 PHP Version:  5.1.2
 New Comment:

I tried the CFLAG option same error.  I simplified my configure line
and it runs.  This the line I used when it does not work:

./configure '--with-informix=/u/home/garyq/informix'
'--with-apxs=/usr/local/apache/bin/apxs' '--with-config-file-path=/etc'
'--enable-force-cgi-redirect' '--enable-pic'
'--enable-inline-optimization' '--with-bz2' '--with-curl'
'--enable-soap' '--with-dom' '--with-gettext' '--with-ncurses'
'--with-iconv' '--with-layout=GNU' '--enable-bcmath' '--enable-exif'
'--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode'
'--enable-sockets' '--enable-sysvsem' '--enable-discard-path'
'--enable-track-vars' '--enable-trans-sid' '--enable-yp'
'--enable-wddx' '--without-oci8' '--with-kerberos'
'--enable-memory-limit' '--enable-bcmath' '--enable-shmop'
'--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio'
'--enable-mcal'


Previous Comments:


[2006-04-12 21:43:44] [EMAIL PROTECTED]

I can't reproduce it on Solaris 8 with the same SDK and PHP 5.1 CVS.
Please check that this version of SDK is supposed to work on Solaris 9
('cause it's name says for Solaris 8).
Also make sure you have -mimpure-text option in your CFLAGS.



[2006-04-12 18:16:42] gquiring at gmail dot com

Downloaded and installed php5.1-200604121630 

Same error.



[2006-04-12 17:01:02] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip





[2006-04-12 15:21:42] gquiring at gmail dot com

Messages during compile:
*** Warning: Linking the shared library libphp5.la against the
non-libtool
*** objects  /u/home/garyq/informix/lib/esql/ is not portable!



[2006-04-12 15:19:47] gquiring at gmail dot com

Description:

Apache 1.3.34  PHP 5.1.4  Informix CSDK 2.9UC4  Solaris 9

When executing apache:

Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp5.so into server: ld.so.1:
./httpd:
fatal: relocation error: file
/u/home/garyq/informix/lib/esql/libifsql.so: symbo
l ifx_checkAPI: referenced symbol not found

Env:
INFORMIXSQLHOSTS=/u/home/garyq/informix/etc/sqlhosts
INFORMIXSERVER=dev1
INFORMIXDIR=/u/home/garyq/informix
LD_LIBRARY_PATH=/u/home/garyq/informix/lib:/u/home/garyq/informix/lib/esql:/u/home/garyq/informix/lib/tools:/usr/local/lib:/usr/lib:/var/local/lib:/opt/SUNWspro
/lib:/usr/openwin/lib








-- 
Edit this bug report at http://bugs.php.net/?id=37058edit=1


#37058 [Fbk-Opn]: Building with Informix does not work

2006-04-13 Thread gquiring at gmail dot com
 ID:   37058
 User updated by:  gquiring at gmail dot com
 Reported By:  gquiring at gmail dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: Solaris 9
 PHP Version:  5.1.2
 New Comment:

I went very simple:

./configure '--with-informix=/u/home/garyq/informix'
'--with-apxs=/usr/local/apache/bin/apxs'
'--with-config-file-path=/etc'

If you think you know what options might cause it let me know I don't
mind compiling a few times to narrow down which option makes it fail.


Previous Comments:


[2006-04-13 13:55:30] [EMAIL PROTECTED]

What exactly did you remove from the configure line when it worked?



[2006-04-13 13:45:51] gquiring at gmail dot com

I tried the CFLAG option same error.  I simplified my configure line
and it runs.  This the line I used when it does not work:

./configure '--with-informix=/u/home/garyq/informix'
'--with-apxs=/usr/local/apache/bin/apxs' '--with-config-file-path=/etc'
'--enable-force-cgi-redirect' '--enable-pic'
'--enable-inline-optimization' '--with-bz2' '--with-curl'
'--enable-soap' '--with-dom' '--with-gettext' '--with-ncurses'
'--with-iconv' '--with-layout=GNU' '--enable-bcmath' '--enable-exif'
'--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode'
'--enable-sockets' '--enable-sysvsem' '--enable-discard-path'
'--enable-track-vars' '--enable-trans-sid' '--enable-yp'
'--enable-wddx' '--without-oci8' '--with-kerberos'
'--enable-memory-limit' '--enable-bcmath' '--enable-shmop'
'--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio'
'--enable-mcal'



[2006-04-12 21:43:44] [EMAIL PROTECTED]

I can't reproduce it on Solaris 8 with the same SDK and PHP 5.1 CVS.
Please check that this version of SDK is supposed to work on Solaris 9
('cause it's name says for Solaris 8).
Also make sure you have -mimpure-text option in your CFLAGS.



[2006-04-12 18:16:42] gquiring at gmail dot com

Downloaded and installed php5.1-200604121630 

Same error.



[2006-04-12 17:01:02] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip





The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/37058

-- 
Edit this bug report at http://bugs.php.net/?id=37058edit=1


#37058 [Fbk-Opn]: Building with Informix does not work

2006-04-13 Thread gquiring at gmail dot com
 ID:   37058
 User updated by:  gquiring at gmail dot com
 Reported By:  gquiring at gmail dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: Solaris 9
 PHP Version:  5.1.2
 New Comment:

This is what makes it fail:

--enable-versioning


Previous Comments:


[2006-04-13 14:07:26] [EMAIL PROTECTED]

Ok, could you please remove the options one by one and see which
specific option affects it?
--enable-pic looks like a good candidate to me.



[2006-04-13 13:58:10] gquiring at gmail dot com

I went very simple:

./configure '--with-informix=/u/home/garyq/informix'
'--with-apxs=/usr/local/apache/bin/apxs'
'--with-config-file-path=/etc'

If you think you know what options might cause it let me know I don't
mind compiling a few times to narrow down which option makes it fail.



[2006-04-13 13:55:30] [EMAIL PROTECTED]

What exactly did you remove from the configure line when it worked?



[2006-04-13 13:45:51] gquiring at gmail dot com

I tried the CFLAG option same error.  I simplified my configure line
and it runs.  This the line I used when it does not work:

./configure '--with-informix=/u/home/garyq/informix'
'--with-apxs=/usr/local/apache/bin/apxs' '--with-config-file-path=/etc'
'--enable-force-cgi-redirect' '--enable-pic'
'--enable-inline-optimization' '--with-bz2' '--with-curl'
'--enable-soap' '--with-dom' '--with-gettext' '--with-ncurses'
'--with-iconv' '--with-layout=GNU' '--enable-bcmath' '--enable-exif'
'--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode'
'--enable-sockets' '--enable-sysvsem' '--enable-discard-path'
'--enable-track-vars' '--enable-trans-sid' '--enable-yp'
'--enable-wddx' '--without-oci8' '--with-kerberos'
'--enable-memory-limit' '--enable-bcmath' '--enable-shmop'
'--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio'
'--enable-mcal'



[2006-04-12 21:43:44] [EMAIL PROTECTED]

I can't reproduce it on Solaris 8 with the same SDK and PHP 5.1 CVS.
Please check that this version of SDK is supposed to work on Solaris 9
('cause it's name says for Solaris 8).
Also make sure you have -mimpure-text option in your CFLAGS.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/37058

-- 
Edit this bug report at http://bugs.php.net/?id=37058edit=1


#37058 [Bgs-Csd]: Building with Informix does not work

2006-04-13 Thread gquiring at gmail dot com
 ID:   37058
 User updated by:  gquiring at gmail dot com
 Reported By:  gquiring at gmail dot com
-Status:   Bogus
+Status:   Closed
 Bug Type: Compile Failure
 Operating System: Solaris 9
 PHP Version:  5.1.3RC3
 New Comment:

I took the stock configure options from a Red Hat server preinstalled
with PHP.  I *assumed* that would be a good way to compile PHP on
Solaris.  This problem has been seen many times with no answer in the
Informix groups.  So now we have the answer.


Previous Comments:


[2006-04-13 17:37:18] [EMAIL PROTECTED]

Do NOT use configure options that you don't know what they are used
for! There is no bug here. 



[2006-04-13 17:19:17] gquiring at gmail dot com

This is what makes it fail:

--enable-versioning



[2006-04-13 14:07:26] [EMAIL PROTECTED]

Ok, could you please remove the options one by one and see which
specific option affects it?
--enable-pic looks like a good candidate to me.



[2006-04-13 13:58:10] gquiring at gmail dot com

I went very simple:

./configure '--with-informix=/u/home/garyq/informix'
'--with-apxs=/usr/local/apache/bin/apxs'
'--with-config-file-path=/etc'

If you think you know what options might cause it let me know I don't
mind compiling a few times to narrow down which option makes it fail.



[2006-04-13 13:55:30] [EMAIL PROTECTED]

What exactly did you remove from the configure line when it worked?



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/37058

-- 
Edit this bug report at http://bugs.php.net/?id=37058edit=1


#37058 [NEW]: Building with Informix does not work

2006-04-12 Thread gquiring at gmail dot com
From: gquiring at gmail dot com
Operating system: Solaris 9
PHP version:  5.1.2
PHP Bug Type: *Compile Issues
Bug description:  Building with Informix does not work

Description:

Apache 1.3.34  PHP 5.1.4  Informix CSDK 2.9UC4  Solaris 9

When executing apache:

Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp5.so into server: ld.so.1:
./httpd:
fatal: relocation error: file /u/home/garyq/informix/lib/esql/libifsql.so:
symbo
l ifx_checkAPI: referenced symbol not found

Env:
INFORMIXSQLHOSTS=/u/home/garyq/informix/etc/sqlhosts
INFORMIXSERVER=dev1
INFORMIXDIR=/u/home/garyq/informix
LD_LIBRARY_PATH=/u/home/garyq/informix/lib:/u/home/garyq/informix/lib/esql:/u/home/garyq/informix/lib/tools:/usr/local/lib:/usr/lib:/var/local/lib:/opt/SUNWspro
/lib:/usr/openwin/lib




-- 
Edit bug report at http://bugs.php.net/?id=37058edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37058r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=37058r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37058r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37058r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=37058r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=37058r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=37058r=needscript
Try newer version:http://bugs.php.net/fix.php?id=37058r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=37058r=support
Expected behavior:http://bugs.php.net/fix.php?id=37058r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=37058r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=37058r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37058r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37058r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37058r=dst
IIS Stability:http://bugs.php.net/fix.php?id=37058r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=37058r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37058r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=37058r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=37058r=mysqlcfg


#37058 [Opn]: Building with Informix does not work

2006-04-12 Thread gquiring at gmail dot com
 ID:   37058
 User updated by:  gquiring at gmail dot com
 Reported By:  gquiring at gmail dot com
 Status:   Open
 Bug Type: *Compile Issues
 Operating System: Solaris 9
 PHP Version:  5.1.2
 New Comment:

Messages during compile:
*** Warning: Linking the shared library libphp5.la against the
non-libtool
*** objects  /u/home/garyq/informix/lib/esql/ is not portable!


Previous Comments:


[2006-04-12 15:19:47] gquiring at gmail dot com

Description:

Apache 1.3.34  PHP 5.1.4  Informix CSDK 2.9UC4  Solaris 9

When executing apache:

Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp5.so into server: ld.so.1:
./httpd:
fatal: relocation error: file
/u/home/garyq/informix/lib/esql/libifsql.so: symbo
l ifx_checkAPI: referenced symbol not found

Env:
INFORMIXSQLHOSTS=/u/home/garyq/informix/etc/sqlhosts
INFORMIXSERVER=dev1
INFORMIXDIR=/u/home/garyq/informix
LD_LIBRARY_PATH=/u/home/garyq/informix/lib:/u/home/garyq/informix/lib/esql:/u/home/garyq/informix/lib/tools:/usr/local/lib:/usr/lib:/var/local/lib:/opt/SUNWspro
/lib:/usr/openwin/lib








-- 
Edit this bug report at http://bugs.php.net/?id=37058edit=1


#37058 [Fbk-Opn]: Building with Informix does not work

2006-04-12 Thread gquiring at gmail dot com
 ID:   37058
 User updated by:  gquiring at gmail dot com
 Reported By:  gquiring at gmail dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: Solaris 9
 PHP Version:  5.1.2
 New Comment:

Downloaded and installed php5.1-200604121630 

Same error.


Previous Comments:


[2006-04-12 17:01:02] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip





[2006-04-12 15:21:42] gquiring at gmail dot com

Messages during compile:
*** Warning: Linking the shared library libphp5.la against the
non-libtool
*** objects  /u/home/garyq/informix/lib/esql/ is not portable!



[2006-04-12 15:19:47] gquiring at gmail dot com

Description:

Apache 1.3.34  PHP 5.1.4  Informix CSDK 2.9UC4  Solaris 9

When executing apache:

Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp5.so into server: ld.so.1:
./httpd:
fatal: relocation error: file
/u/home/garyq/informix/lib/esql/libifsql.so: symbo
l ifx_checkAPI: referenced symbol not found

Env:
INFORMIXSQLHOSTS=/u/home/garyq/informix/etc/sqlhosts
INFORMIXSERVER=dev1
INFORMIXDIR=/u/home/garyq/informix
LD_LIBRARY_PATH=/u/home/garyq/informix/lib:/u/home/garyq/informix/lib/esql:/u/home/garyq/informix/lib/tools:/usr/local/lib:/usr/lib:/var/local/lib:/opt/SUNWspro
/lib:/usr/openwin/lib








-- 
Edit this bug report at http://bugs.php.net/?id=37058edit=1


#33231 [NEW]: Informix support not working

2005-06-03 Thread gquiring at gmail dot com
From: gquiring at gmail dot com
Operating system: Solaris 9 (Sun hardware)
PHP version:  5.0.4
PHP Bug Type: *Compile Issues
Bug description:  Informix support not working

Description:

I have read the older bug reports on this issue.  I have tried all
suggestions and it still produces the same error that everyone else has
reported:

Cannot load /usr/apache/libexec/libphp5.so into server: ld.so.1: httpd:
fatal: relocation error: file /u/informix/lib/esql/libifsql.so: symbol
ifx_checkAPI: referenced symbol not found

Suggested workaround that does not work:
IFX_LIBDIR=-L$INFORMIXDIR/lib -L$INFORMIXDIR/lib/esql 
IFX_INCDIR=$INFORMIXDIR/incl/esql 
IFX_LIBS=$INFORMIXDIR/lib/esql/libifsql.a \ 
$INFORMIXDIR/lib/libifasf.a \ 
$INFORMIXDIR/lib/esql/libifgen.a \ 
$INFORMIXDIR/lib/esql/libifos.a \ 
$INFORMIXDIR/lib/esql/libifgls.a \ 
-lgen -lgls -lm -ldl $INFORMIXDIR/lib/esql/checkapi.o \ 
$INFORMIXDIR/lib/esql/libifglx.a 
export IFX_LIBDIR IFX_INCDIR IFX_LIBS 

My configure line:
./configure '--with-informix=/u/informix'
'--with-apxs=/usr/apache/bin/apxs' '--with-config-file-path=/etc'
'--enable-force-cgi-redirect' '--enable-pic'
'--enable-inline-optimization' '--with-bz2' '--with-curl' '--enable-soap'
'--with-dom' '--with-gettext' '--with-ncurses' '--with-iconv'
'--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp'
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets'
'--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path'
'--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx'
'--without-oci8' '--with-kerberos' '--enable-memory-limit'
'--enable-bcmath' '--enable-shmop' '--enable-versioning'
'--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal'




-- 
Edit bug report at http://bugs.php.net/?id=33231edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33231r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33231r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33231r=trysnapshot51
Fixed in CVS:http://bugs.php.net/fix.php?id=33231r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=33231r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=33231r=needtrace
Need Reproduce Script:   http://bugs.php.net/fix.php?id=33231r=needscript
Try newer version:   http://bugs.php.net/fix.php?id=33231r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33231r=support
Expected behavior:   http://bugs.php.net/fix.php?id=33231r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=33231r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=33231r=submittedtwice
register_globals:http://bugs.php.net/fix.php?id=33231r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33231r=php3
Daylight Savings:http://bugs.php.net/fix.php?id=33231r=dst
IIS Stability:   http://bugs.php.net/fix.php?id=33231r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33231r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33231r=float
No Zend Extensions:  http://bugs.php.net/fix.php?id=33231r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33231r=mysqlcfg


#33231 [Bgs]: Informix support not working

2005-06-03 Thread gquiring at gmail dot com
 ID:   33231
 User updated by:  gquiring at gmail dot com
 Reported By:  gquiring at gmail dot com
 Status:   Bogus
 Bug Type: Informix related
 Operating System: Solaris 9 (Sun hardware)
 PHP Version:  5.0.4
 New Comment:

I disagree, the makefile is not correctly linking in the library to
make the Informix calls work.  It is a bug in the compiling process.


Previous Comments:


[2005-06-03 16:27:54] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.





[2005-06-03 14:23:58] gquiring at gmail dot com

Description:

I have read the older bug reports on this issue.  I have tried all
suggestions and it still produces the same error that everyone else has
reported:

Cannot load /usr/apache/libexec/libphp5.so into server: ld.so.1: httpd:
fatal: relocation error: file /u/informix/lib/esql/libifsql.so: symbol
ifx_checkAPI: referenced symbol not found

Suggested workaround that does not work:
IFX_LIBDIR=-L$INFORMIXDIR/lib -L$INFORMIXDIR/lib/esql 
IFX_INCDIR=$INFORMIXDIR/incl/esql 
IFX_LIBS=$INFORMIXDIR/lib/esql/libifsql.a \ 
$INFORMIXDIR/lib/libifasf.a \ 
$INFORMIXDIR/lib/esql/libifgen.a \ 
$INFORMIXDIR/lib/esql/libifos.a \ 
$INFORMIXDIR/lib/esql/libifgls.a \ 
-lgen -lgls -lm -ldl $INFORMIXDIR/lib/esql/checkapi.o \ 
$INFORMIXDIR/lib/esql/libifglx.a 
export IFX_LIBDIR IFX_INCDIR IFX_LIBS 

My configure line:
./configure '--with-informix=/u/informix'
'--with-apxs=/usr/apache/bin/apxs' '--with-config-file-path=/etc'
'--enable-force-cgi-redirect' '--enable-pic'
'--enable-inline-optimization' '--with-bz2' '--with-curl'
'--enable-soap' '--with-dom' '--with-gettext' '--with-ncurses'
'--with-iconv' '--with-layout=GNU' '--enable-bcmath' '--enable-exif'
'--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode'
'--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
'--enable-discard-path' '--enable-track-vars' '--enable-trans-sid'
'--enable-yp' '--enable-wddx' '--without-oci8' '--with-kerberos'
'--enable-memory-limit' '--enable-bcmath' '--enable-shmop'
'--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio'
'--enable-mcal'








-- 
Edit this bug report at http://bugs.php.net/?id=33231edit=1