473,387 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 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 1652
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Luke | last post by:
Hello! This is the first time I need to connect via PHP to a Sybase DB. I'm working with PHP5 and Apache 2 under WinXP... no problem connecting with Mysql... I enabled in php.ini the correct dll:...
0
by: dbmethods | last post by:
I just installed Sybase ASE 11.9.2. I did "apt-get install php4-sybase" and it failed to install. Where I can a stable php4-sybase debian package? Thanks
0
by: Data Goob | last post by:
Hi, I had trouble using FreeTDS with Sybase ASE 12.5.2 DE. I kept getting errors when trying to run a stored procedure, using the PHP program found at the end of this post. php:...
2
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip...
0
by: Vince | last post by:
I'm getting link errors trying to install DBD::Sybase 1.0 on AIX 5.1, running Sybase 12.5.0.3 64-bit and Perl 5.8.0. DBI installed fine. I have tried building DBD::Sybase with both 32 and 64-bit...
0
by: Metal2You | last post by:
I'm working on an ASP.NET 2.0 application in Visual Studio 2005 that accesses a Sybase database back end. We're using Sybase SQL Anywhere 9.0.2.3228. I have installed and registered the Sybase...
4
by: Dan | last post by:
I have compiled and installed sybase-.037 , the module to add sybase to python. However, when I try to use it I get Import error: /usr/local/lib/python2.3/site-packages/sybasect.so undefined...
3
by: Alex Murphy | last post by:
As title, Thanks
2
by: bhusandi | last post by:
Dear All, I am new to this forum and perl ..;) I am trying to connect to Sybase (windows env) but am getting the error: "install_driver(Sybase) failed: Can't locate loadable object for module...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.