|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-01-06 11:53 UTC] kalowsky@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 18:00:02 2025 UTC |
After "./configure --with-sapdb=<sapdb dir>" the make run ends in : /bin/sh /home/remuser/ttk/php-4.2.3/libtool --silent --mode=link gcc -I. -I/home/remuser/ttk/php-4.2.3/ -I/home/remuser/ttk/php-4.2.3/main -I/home/remuser/ttk/php-4.2.3 -I/home/remuser/ttk/php-4.2.3/Zend -I/home/remuser/ttk/php-4.2.3/ext/mysql/libmysql -I/home/remuser/ttk/odbc_7.3.0.28//incl -I/home/remuser/ttk/php-4.2.3/ext/xml/expat -I/home/remuser/ttk/php-4.2.3/TSRM -g -O2 -o php -export-dynamic stub.lo libphp4.la /usr/i486-suse-linux/bin/ld: cannot find -lsqlrte collect2: ld returned 1 exit status make[1]: *** [php] Error 1 The problem is that entries regarding sqlrte in ./configure and ./ext/odbc/config.m4 for SAP DB are wrong. Following patches fix the problem: patch for ./configure: *** configure.orig Wed Dec 18 10:08:58 2002 --- configure Wed Dec 18 10:08:52 2002 *************** *** 42171,42186 **** esac - case sqlrte in - c|c_r|pthread*) ;; - *) - - - LIBS="-lsqlrte $LIBS" - - - ;; - esac ODBC_TYPE=sapdb cat >> confdefs.h <<\EOF --- 42171,42176 ---- patch for ./ext/odbc/config.m4: *** config.m4.orig Mon Mar 4 10:10:31 2002 --- config.m4 Wed Dec 18 11:48:43 2002 *************** *** 135,141 **** PHP_ADD_INCLUDE($withval/incl) PHP_ADD_LIBPATH($withval/lib) PHP_ADD_LIBRARY(sqlod) - PHP_ADD_LIBRARY(sqlrte) ODBC_TYPE=sapdb AC_DEFINE(HAVE_SAPDB,1,[ ]) AC_MSG_RESULT(yes) --- 135,140 ---- Regards Thomas