On Fri, Sep 24, 1999 at 10:22:59AM +1000, Hugh Irvine wrote:
> On Thu, 23 Sep 1999, Jamie Orzechowski wrote:
> > Hi There .. .I am trying to Build DBD:Sybase
> > 
> > I have installed sybase-ase-11.0.3.3-2.i386.rpm
> > I have installed DBI-1.13
> > I have Obtained DBD-Sybase-0.20
> > 
> > The ASE and DBI install go fine.
> > 
> > I then come to the DBD-Sybase install .... I modified the "CONFIG" file to
> > say
> > 
> > SYBASE=/opt/sybase
> > EXTRA_LIBS=-linsck
> > LINKTYPE=static
> > 
> > I then run a "perl Makefile.Pl --file"
> > 
> > it reports
> > ----------
> > Checking if your kit is complete...
> > Looks good
> > Using DBI 1.13 installed in
> > /usr/lib/perl5/site_perl/5.005/i686-linux/auto/DBI
> > Writing Makefile for DBD::Sybase
> > 
> > I then run a "make"
> > 
> > it says it can't find the shared object file "libct.so" yet it is in my
> > /opt/sybase/lib directory ... any ideas???
> > 
> 
> I suspect you will have to add the above library to the EXTRA_LIBS line above.
> Either that or try copying the library in question to the standard location.
> 

Hi,
        I recently did the same process (but used sybase-11.9.2). I setup
the SYBASE environment variable and put /opt/sybase-11.9.2/lib into the
/etc/ld.so.conf (then ran ldconfig -v). This is Linux (RH6).

        CONFIG changes: make a static binary, didn't need to add any EXTRA_LIBS.

        perl Makefile.PL
        make
        make test
        (it fails but you get your perl binary with the sybase stuff in it
        regardless)
        make install
        cp perl /usr/local/bin/sybaseperl
        modify /usr/bin/radiusd first line to be:
                #!/usr/local/bin/sybaseperl

        This is working fine against a Microsoft SQLserver 6.5.

[EMAIL PROTECTED]

===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to