473,382 Members | 1,749 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,382 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 1651
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.