ID: 9571 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Apache related Description: Undefined symbols in apache build using PHP 4.0.4pl1 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. Previous Comments: --------------------------------------------------------------------------- [2001-03-06 06:21:34] [EMAIL PROTECTED] Please try the latest CVS snapshot from http://snaps.php.net/ --Jani --------------------------------------------------------------------------- [2001-03-06 00:43:54] [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....? --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=9571 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]