ID: 21527 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Sybase (dblib) related Operating System: CygWin/WinXP PHP Version: 4.3.0 New Comment:
Just read the warning..and do what it says: compile a shared version of the freetds libs. Previous Comments: ------------------------------------------------------------------------ [2003-01-08 14:30:55] [EMAIL PROTECTED] Hi, I tried compiling PHP 4.3.0 under CygWin/Windows XP with the following options --disable-cgi --disable-cli --with-apxs=/usr/sbin/apxs --with-mysql --with-sybase=/usr/local/freetds and I got this during make: ****************************************************** *** Warning: This library needs some functionality provided by /usr/local/freetd s/lib/libsybdb.la. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Therefore, libtool will create a static module, that should work *** as long as the dlopening application is linked with the -dlopen flag. libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries ****************************************************** In this case, I have already successfully installed FreeTDS in /usr/local/freetds However, make did not give any errors (except for the above warning) so I tried to "make install" but I got the following: $ make install Installing PHP SAPI module apxs:Error: file libs/libphp4.so is not a DSO make: *** [install-sapi] Error 1 Anything wrong with what I'm doing? httpd -l returns mod_so under its list. Thanks in advance. Mike Lopez ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21527&edit=1