#34323 [Opn->Csd]: /usr/lib/php4/sybase.so: undefined symbol: dbversion
| From: | sniper@php.net | Date: | Wed, 31 Aug 2005 22:29:53 +0000 |
| Subject: | #34323 [Opn->Csd]: /usr/lib/php4/sybase.so: undefined symbol: dbversion | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-84268@lists.php.net to get a copy of this message | ||
ID: 34323
Updated by: sniper@php.net
Reported By: mrcsparker at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Sybase (dblib) related
Operating System: GNU/Linux
PHP Version: 4.4.0
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-08-31 21:56:20] mrcsparker at gmail dot com
Description:
------------
I was getting a:
/usr/lib/php4/sybase.so: undefined symbol: dbversion
on my RHAS 4 server. This was with 4.3.9 and 4.4.0.
Fix below.
Actual result:
--------------
Here is a fix to the problem (in the
ext/sybase/config.m4):
AC_CHECK_LIB(sybdb, tdsdbopen,
[ AC_DEFINE(PHP_SYBASE_DBOPEN,tdsdbopen,[ ])
AC_DEFINE(DBMFIX,1,[ ]) ],
[ AC_DEFINE(PHP_SYBASE_DBOPEN,dbopen,[ ]) ])
+ PHP_SUBST(SYBASE_SHARED_LIBADD)
fi
PHP/sybase gives me no problems when I add the
PHP_SUBST(SYBASE_SHARED_LIBADD) line.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34323&edit=1