Hi,
I hope, that I'm on the right Newsgroup for my question.
I would like to use SAPDB with PHP. I use a Debian Potato 2.2 System,
with the following *.tgz - files under /u03/sapdb :
sapdb-server-linux-32bit-i386-7_3_0_29.tgz
sapdb-webtools-linux-32bit-i386-7_3_0_29.tgz
and would like to migrate my Oracle DB on the same Server into SAPDB and
connect it with PHP.
If I compile PHP (Vers.4.2.3), there comes the following error:
-----------------------------------------------
/bin/sh /usr/local/src/php-4.2.3/libtool --silent --mode=link gcc -I.
-I/usr/local/src/php-4.2.3/ -I/usr/local/src/php-4.2.3/main
-I/usr/local/src/php-4.2.3 -I/usr/local/src/php-4.2.3/Zend
-I/usr/local/src/php-4.2.3/ext/mysql/libmysql -I/u03/sapdb//incl
-I/usr/local/src/php-4.2.3/ext/xml/expat
-I/usr/local/src/php-4.2.3/TSRM -g -O2 -o php -export-dynamic stub.lo
libphp4.la
/usr/bin/ld: cannot find -lsqlrte
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.3'
make: *** [all-recursive] Error 1
nevada:
-----------------------------------------------------------------
this happends, after I have changed the Pathes for my SAP-Installation
in the file "ext/odbc/php_odbc.h" in the section /*SAP DB*/ under the
PHP-Tree, because before, I can't compile PHP because it doesn't find
the files sql.h,WINDOWS.H,sqlext.h.
Here is my ld.so.conf :
nevada:/etc# more ld.so.conf
/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
/u03/sapdb/web/lib
/u03/sapdb/depend/incl
/u03/sapdb/depend/lib
Can anyone help me ?
Thanks!
Christian
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general
- RE: compiling Problem PHP 4.2.3 for SAPDB 7.3 Christian Binder
- RE: compiling Problem PHP 4.2.3 for SAPDB 7.3 Koetter, Thomas Theodor
