469,085 Members | 1,020 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,085 developers. It's quick & easy.

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 1487
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
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by kglaser89 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.