Why does sybase break when gd installed?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sleepite

    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?


  • ljb

    #2
    Re: Why does sybase break when gd installed?

    news@sleepisthe enemy.co.uk wrote:[color=blue]
    > 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?[/color]

    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.

    Comment

    Working...