Re: [PHP4BETA] sybase-ct support not working on PHP/4.0b2

From: Date: Thu, 19 Aug 1999 00:06:17 +0000
Subject: Re: [PHP4BETA] sybase-ct support not working on PHP/4.0b2
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-3569@lists.php.net to get a copy of this message
The configure/makefiles are severely broken for sybase-ct support -- they don't update the internal_functions.c file properly. dblib sybase support seems fine. I tried modifying this manually after running ./configure, except on my system, during linking of apache, ld segfaults, and dumps core. It's fairly simple to do this yourself, all you have to do is add two lines to the file: In the includes section, add: #include "ext/sybase/php3_sybase-ct.h" And in the declaration of the php3_builtin_modules[] variable, add the following line somewhere in the list: phpext_sybct_ptr, I think that's all that's required, but I may be wrong. since I can't even get sybase-ct working with php3 without segfaults with ld if I use the version on www.php.net. If I use the version on ftp.sybase.com, I get unresolved externals, because all functions (and function calls, including libc calls) in it are preceded by underscores (DOS/Win style). Maybe you'll have better luck than me with this. ----- Original Message ----- From: Greg Waugh <gregphp@pol.com> To: <php4beta@lists.php.net> Sent: Wednesday, August 18, 1999 4:46 PM Subject: [PHP4BETA] sybase-ct support not working on PHP/4.0b2 > Hi! Running Linux RH5.2 with Apache 1.3.6 now with PHP/4.0b2 trying to > compile Sybase-ct support using sybase libraries from version 11.0.3.3. > Worked perfectly on 3.0.12. Out of the box setup with dist php.ini. When I > try to do a sybase_connect, I get: > > Call to undefined function: sybase_connect() > > Everything else is fine. No errors on compile, ./configure script said > "Sybase-ct support: Yes". MySQL support works fine, but not sybase. >

« previous php.version4 (#3569) next »