Bug #9571 Updated: Undefined symbols in apache build using PHP 4.0.4pl1
| From: | kalowsky@php.net | Date: | Tue, 17 Apr 2001 02:34:28 +0000 |
| Subject: | Bug #9571 Updated: Undefined symbols in apache build using PHP 4.0.4pl1 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51744@lists.php.net to get a copy of this message | ||
ID: 9571
Updated by: kalowsky
Reported By: jcb@best.com
Status: Open
Bug Type: ODBC related
PHP Version: 4.0.4pl1
Assigned To:
Comments:
can we get one of the OpenLink people to comment on this please?
Previous Comments:
---------------------------------------------------------------------------
[2001-03-16 19:48:56] sniper@php.net
Reclassified.
---------------------------------------------------------------------------
[2001-03-07 11:54:12] jcb@best.com
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@php.net
Please try the latest CVS snapshot from http://snaps.php.net/
--Jani
---------------------------------------------------------------------------
[2001-03-06 00:43:54] jcb@best.com
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....?
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9571&edit=2