logo       

PHP and Sybase: msg#00739

Subject: PHP and Sybase
Hello,
I would like to make a connection to a sybase database in PHP.
I installed freetds version 0.60 and it work fine (i can connect to a 
sybase database).
Then, i compile the sybase extension (with php-devel) :
$ phpize
$ ./configure --with-php-configure=/usr/bin/php-config 
--with-sybas=/usr/local/freetds
$ make
$ make install
I get the library php_sybase_db.so. I had a line in the php.ini file and i 
restart apache ($ apachectl restart)
But when apache restart, i get an error: httpd : error while loading shared 
libraries :usr/lib/php/extensions/php_syabse_db.so undefined symbol : 
dbinit.
I found this in the comments on sybase :
If you compile php with freetds (www.freetds.org <http://www.freetds.org>) 
support (--with-sybase in php), apache might NOT START due to unresolved 
symbol.
This can be easily solved by adding -ltds flag in config_vars.mk file after 
configuring PHP under the line EXTRA_LIBS.
You can view this debug fix on www.freetds.org <http://www.freetds.org> 
under FAQ section.
But i don't know where to add the option -ltds in config_vars.mk file.
Could you help me
Thank by advance.
Raphael KISTER


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe