php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34323 /usr/lib/php4/sybase.so: undefined symbol: dbversion
Submitted: 2005-08-31 21:56 UTC Modified: 2005-09-01 00:29 UTC
From: mrcsparker at gmail dot com Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 4.4.0 OS: GNU/Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
13 + 18 = ?
Subscribe to this entry?

 
 [2005-08-31 21:56 UTC] 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. 
 
 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-01 00:29 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 21:01:36 2024 UTC