#21527 [Opn->Bgs]: undefined symbols not allowed

From: Date: Wed, 08 Jan 2003 23:51:50 +0000
Subject: #21527 [Opn->Bgs]: undefined symbols not allowed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29499@lists.php.net to get a copy of this message
ID: 21527 Updated by: sniper@php.net Reported By: mike@sydel.net -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] mike@sydel.net 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

« previous php.bugs (#29499) next »