472,111 Members | 1,832 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,111 software developers and data experts.

Why does sybase break when gd installed?

If I configure PHP with:

../configure --with-mysql --with-apxs2=/www/bin/apxs --with-sybase-ct=/usr/lo
cal/freetds --enable-track-vars --with-xml --with-zlib-dir=/rpms/zlib-1.2.3
--with-png --with-jpeg-dir=/rpms/jpeg-6b --with-freetype-dir=/rpms/freetype-
2.1.10 --with-gd=/usr/local --enable-gd-native-ttf

GD works perfectly with freetype support and everything but I get:

Warning: sybase_connect() [function.sybase-connect]: Sybase: Unable to
connect in...

However if I simply remove GD Sybase works perfectly but of course I get no
image functions:

../configure --with-mysql --with-apxs2=/www/bin/apxs --with-sybase-ct=/usr/lo
cal/freetds --enable-track-vars --with-xml --with-zlib-dir=/rpms/zlib-1.2.3
--with-png --with-jpeg-dir=/rpms/jpeg-6b --with-freetype-dir=/rpms/freetype-
2.1.10 --enable-gd-native-ttf

I need to use both Sybase/FreeTDS and GD on this project but can find no way
to have both. Can anyone help?
Jul 27 '05 #1
1 1575
ljb
ne**@sleepistheenemy.co.uk wrote:
If I configure PHP with:

./configure --with-mysql --with-apxs2=/www/bin/apxs --with-sybase-ct=/usr/lo
cal/freetds --enable-track-vars --with-xml --with-zlib-dir=/rpms/zlib-1.2.3
--with-png --with-jpeg-dir=/rpms/jpeg-6b --with-freetype-dir=/rpms/freetype-
2.1.10 --with-gd=/usr/local --enable-gd-native-ttf

GD works perfectly with freetype support and everything but I get:

Warning: sybase_connect() [function.sybase-connect]: Sybase: Unable to
connect in...

However if I simply remove GD Sybase works perfectly but of course I get no
image functions:

./configure --with-mysql --with-apxs2=/www/bin/apxs --with-sybase-ct=/usr/lo
cal/freetds --enable-track-vars --with-xml --with-zlib-dir=/rpms/zlib-1.2.3
--with-png --with-jpeg-dir=/rpms/jpeg-6b --with-freetype-dir=/rpms/freetype-
2.1.10 --enable-gd-native-ttf

I need to use both Sybase/FreeTDS and GD on this project but can find no way
to have both. Can anyone help?


I can't help directly with your problem but I can say I do use Sybase_CT
(with FreeTDS) and GD together in PHP. I have some scripts which connect to
an ASA database, collect data, and draw a graph with PHPlot (which uses
GD). It works fine for me and I didn't do anything special to get it to
work. But I'm using Apache 1.3.x and you are apparently using Apache 2.x.
Maybe that is significant, or maybe it is something else.
Jul 28 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Luke | last post: by
reply views Thread by dbmethods | last post: by
reply views Thread by Data Goob | last post: by
reply views Thread by Vince | last post: by
reply views Thread by Metal2You | last post: by
4 posts views Thread by Dan | last post: by
3 posts views Thread by Alex Murphy | last post: by
2 posts views Thread by bhusandi | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.