Skip to Content.
Sympa Menu

freetds - Re: Apache install failure with Freetds/PHP

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "joe brown" <jbrown AT lizardtech.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: Apache install failure with Freetds/PHP
  • Date: Wed, 4 Apr 2001 12:19:19 -0400


Hi, Thanks for the reply. How do you "install" libsybdb.so? I ran a find /
-name=libsybdb.so and got this:

/usr/local/src/freetds-0.51/src/dblib/.libs/libsybdb.so

I've set LD_LIBRARY_PATH to this path, and SYBASE to
/usr/local/src/freetds-0.51. But libsybdb.so is still invisible to Apache
and PHP both.

cd freetds-0.51
make clean
make distclean
./configure --prefix=/usr/local/src/freetds-0.51 --with-tdsver=7.0
--enable-msdblib
make
make install
make check

Make check works on M$SQL with a valid PWD. But compiling to PHP still
fails. Should the prefix be something other than the build dir?

Thanks!

> ----- Original Message -----
> From: "joe brown" <jbrown AT lizardtech.com>
> To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
> Sent: Wednesday, April 04, 2001 8:37 AM
> Subject: [freetds] Re: Apache install failure with Freetds/PHP
>
>
>
> > ======== Error Output for sanity check ========
> > cd ..; gcc -DLINUX=22 -I/usr/local/src/php-4.0.4pl1
> > -I/usr/local/src/php-4.0.4pl1/main -I/usr/local/src/php-4.0.4pl1/main
> > -I/usr/lt
> > /usr/bin/ld: cannot find -lsybdb
> > collect2: ld returned 1 exit status
> > make: *** [dummy] Error 1
> > ============= End of Error Report =============
> >
> > The problem is the same, "cannot find -lsybdb". Anybody know what this
> > means?
>
> Quite simple: the linker (/usr/bin/ld) is looking for a library called
> libsybdb.so to link to your binary, and possibly you've installed this in a
> non-standard location. Check to see that the path to your freetds
> installation is in LD_LIBRARY_PATH.
>
> allen
>
> --
> Allen Grace
> Irony Engineer
> Protopixel
>
> Dark Blue Sea Pty Ltd
> ph 3007 0000
> fax 3007 0001
>
> ***The opinions expressed in this email are my own and are not
> representative of DBS Pty Ltd.***




Archive powered by MHonArc 2.6.24.

Top of Page