Date: 05/04/01
- Next message: Sascha Kettler: "Re: [PHP-DEV] openssl module for php"
- Previous message: andrei <email protected>: "[PHP-DEV] Bug #10668 Updated: preg_replace backquote failure"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 9571
Updated by: ahill
Reported By: jcb <email protected>
Old-Status: Open
Status: Feedback
Bug Type: ODBC related
PHP Version: 4.0.4pl1
Assigned To:
Comments:
Previous Comments:
---------------------------------------------------------------------------
[2001-04-16 22:34:28] kalowsky <email protected>
can we get one of the OpenLink people to comment on this please?
---------------------------------------------------------------------------
[2001-03-16 19:48:56] sniper <email protected>
Reclassified.
---------------------------------------------------------------------------
[2001-03-07 11:54:12] jcb <email protected>
Many thanks, that did it. 4.0.5 Dev built with:
./configure --with-mysql=/export/db/mysql --with-apache=/export/home/temp/apache_1.3.14 --with-pgsql=/export/home/app/pgsql --with-openlink --with-dom=/usr/local --with-zlib-dir=/usr/local --with-gd=/usr/local --with-xpm-dir=/usr/local --with-t1lib=/usr/local --with-tiff-dir=/usr/local --with-png-dir=/usr/local --with-jpeg-dir=/usr/local --with-pdflib=/usr/local --with-ttf=/usr/local --enable-debug --enable-magic-quotes --enable-libgcc --enable-calendar --enable-ftp --enable-gd-imgstrttf --enable-gd-native-ttf --enable-trans-sid --enable-shmop --enable-track-vars
Note that v.4 of the Openlink dirver manager no longer uses (or includes with the distribution) the file iodbc.h. This file has been replaced with sqltypes.h (located in <openlink_install_dir>/odbcsdk/include). The file php_odbc.h includes iodbc.h at or about line 128, so the build fails. The solution is to remove the reference to iodbc.h. The file sqltypes.h is included within sql.h, which is included within isql.h, which is included at line 129 of php_odbc.h. Placing iodbc.h (from a previous installation, say) into the include directory breaks the build with type definition errors.
---------------------------------------------------------------------------
[2001-03-06 06:21:34] sniper <email protected>
Please try the latest CVS snapshot from http://snaps.php.net/
--Jani
---------------------------------------------------------------------------
[2001-03-06 00:43:54] jcb <email protected>
Same problem as in Bug #9161 - Undefined Symbol errors.
./configure --with-mysql=/export/db/mysql --with-apache=/export/home/temp/apache_1.3.14 --with-pgsql=/export/
home/app/pgsql --with-openlink --with-dom=shared,/usr/local --with-zlib=/usr/local --with-gd --with-tiff-dir=/usr/local --with-jpeg-dir=/usr/local --with-pdflib=/usr/local --with-ttf=shared,/usr/local
--enable-debug --enable-magic-quotes --enable-libgcc --enable-calendar --enable-ftp --enable-gd-imgstrttf --
enable-track-vars
First was getting errors like:
Undefined First referenced
symbol in file
some_png_symbol modules/php4/libphp4.a(libpng.o)
adding --with-gd=shared,/usr/local got past it, but then
isinf modules/php4/libphp4.a(mod_php4.o)
after several clean make, clean installs, finally went into config.cache and set isinf to 'no'. Clean make, clean install of PHP, reconfig apache with --activate-module, make and she finally built and started right up.
Seems to be some issue with the shared libs.... also maybe smells like Solaris not having ldconfig....?
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online.
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9571&edit=2
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Sascha Kettler: "Re: [PHP-DEV] openssl module for php"
- Previous message: andrei <email protected>: "[PHP-DEV] Bug #10668 Updated: preg_replace backquote failure"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

