#34323 [NEW]: /usr/lib/php4/sybase.so: undefined symbol: dbversion
| From: | mrcsparker at gmail dot com | Date: | Wed, 31 Aug 2005 19:56:20 +0000 |
| Subject: | #34323 [NEW]: /usr/lib/php4/sybase.so: undefined symbol: dbversion | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-84264@lists.php.net to get a copy of this message | ||
From: mrcsparker at gmail dot com
Operating system: GNU/Linux
PHP version: 4.4.0
PHP Bug Type: Sybase (dblib) related
Bug description: /usr/lib/php4/sybase.so: undefined symbol: dbversion
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 bug report at http://bugs.php.net/?id=34323&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34323&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34323&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34323&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34323&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34323&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34323&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34323&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34323&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34323&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34323&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34323&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34323&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34323&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34323&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34323&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34323&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34323&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34323&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34323&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34323&r=mysqlcfg