AGAIN FREETDS BUILD on REDHAT7.0

Philo Bonianga philo at galaxy.ocn.ne.jp
Thu Dec 13 11:29:41 EST 2001


Dear,

I made a small progress 30 min after I submitted
my complain. I mean, I was able to overcome the UNCOMPRESS
bug and my PHP could work.

Now I might be facing a library problem. The freetds library is
not visible and my PHP codes complains that " Call to undefined
function mssql_connect".

As you mention it I need a /usr/local/freetds/lib in my /etc/ld.so.conf
but, the fact is that there is no lib under my freetds directory.

The directory apparently was not generated. Why? What is wrong or
I can I get it generated??

Thanks a lot?

Philo

NOTE: I copuld progress without mentionning --with-sybase
in my PHP configuration.

----- Original Message -----
From: "Louis Romestant" <louisr at mindspring.com>
To: "TDS Development Group" <freetds at franklin.oit.unc.edu>
Sent: Thursday, December 13, 2001 5:56 AM
Subject: [freetds] Re: AGAIN FREETDS BUILD on REDHAT7.0


> Philo;
>
> This works great for me:
> ./configure
>     --with-apxs=/usr/local/apache/bin/apxs
>     --with-sybase=/usr/local/freetds
>
> I'm not an expert, but I think you should try --with-sybase
>
> Also be sure you have something like this in ld.so.conf:
> /usr/local/freetds/lib
>
> Louis
>
> ----- Original Message -----
> From: "Philo Bonianga" <philo at galaxy.ocn.ne.jp>
> To: "TDS Development Group" <freetds at franklin.oit.unc.edu>
> Sent: Wednesday, December 12, 2001 3:14 PM
> Subject: [freetds] AGAIN FREETDS BUILD on REDHAT7.0
>
>
> >
> > Dear Sirs,
> >
> > I am trying to build freetds to connect to microsoft sql.
> >
> > I am using freetds-0.53 on Redhat7.0
> >
> > php build:
> >
> > ./configure --prefix=/usr/local/src/php-4.0.6 --enable-mbregex
> >  --enable-apxs=/usr/local/src/apache/bin/apxs
> >  --with-mysql=/usr/local/mysql --with-mssql=/usr/local/freetds
> >
> > and then the traditional make & make install
> >
> > **when I try --with-sybase=/usr/local/freetds instead of --with-mssql,
> > I got this error :
> >     /usr/bin/ld: can not find -lsybdb
> >     make[1]: *** [php] error 1
> >     make[1]: ***[install-recursive]  error1
> > And I can not progres any more...
> >
> > Using --with-mssql=/usr/local/freetds, and make, make install,
> > I got the loadable module, but when I try to run Apache, Apache
cpmplains:
> >
> > #apachectl start:
> > Syntax error on line 236 of /usr/local/src/apache/conf/httpd.conf
> > Cannot load /usr/local/src/apache_1.3.20/libexec/libphp4.so into server:
> > Undefined symbol: uncompress
> > ./bin/apachectl start: httpd could not be started
> >
> > the so-called LINE 236:
> > LoadModule php4_module    libexec/libphp4.so
> >
> > MY Question:can you ask to people who already has this problem of
> > undefined symbol:  UNCROMPRESS. I mean that i might not be the first
> > to experiment that when php has been built with freetds. I am
xperimenting
> > the same desappiontment for the last 5 months I am trying unsuccessfuly
to
> > build PHP with freetds. I first tought that this was the problem of
> freetds
> > 0.51
> > but now I am getting the same problem with all later versions of freetds
> and
> > can not make any progress.
> >
> > Thanks a lot.
> >
> > Philo
> >
> > ========== shabaq at axel.ocn.ne.jp
> > Tel/Fax: 06-6699-6547
> > Sabbactani:
> >  Owner and R&D: Philo B.
> >  Park Hits Abiko, Room 502
> >  5-4-32 Abiko-cho, Sumiyoshi-ku
> >  Osaka 558-0014, Japan
> > ======= philo at galaxy.ocn.ne.jp
> >
> >
> >
> > ---
> > You are currently subscribed to freetds as: [louisr at mindspring.com]
> > To unsubscribe, forward this message to
> $subst('Email.Unsub')
> >
>
>
> ---
> You are currently subscribed to freetds as: [philo at galaxy.ocn.ne.jp]
> To unsubscribe, forward this message to
$subst('Email.Unsub')




More information about the FreeTDS mailing list