Running the test scripts manually didn't give any more information.

1..14
ok 1
Switch: DBI 1.20 by Tim Bunce, 1.20
Available Drivers: ExampleP, Proxy, Sybase
Segmentation Fault (core dumped)

I found that -ltli was not in EXTRALIBS
# Solaris 2.x needs -ltli

I added it in and now I'm back to this again.

t/main..............install_driver(Sybase) failed: Can't load
'blib/arch/auto/DBD/Sybase/Sybase.so' for module DBD::Sybase: ld.so.1:
/usr/local/bin/perl: fatal: relocation error: file
/usr/local/freetds/lib/libct.so.0: symbol g_tds_err_handler: referenced
symbol not found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm
line 206.
 at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at t/main.t line 45
t/main..............dubious
        Test returned status 255 (wstat 65280, 0xff00)

I also had a search through the freetds list archives, and didn't find much
there either, I've also tried freetds-0.53 and DBD::Sybase-0.93 which gives
the folllowing error:
    dbdimp.c : In function `syb_ct_finish_send':
    dbdimp.c : stucture has no member named `timestamp'
    dbdimp.c : stucture has no member named `timestamplen'


Darren

----- Original Message -----
From: "Michael Peppler" <[EMAIL PROTECTED]>
To: "Darren Clissold" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, December 12, 2001 11:06 AM
Subject: Re: Problems installing DBD::Sybase on Solaris


> Darren Clissold writes:
>  > Not quit there yet,
>  >  I now get Seg Faults.
>  >
>  > PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
>
 > -I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 -e
>  > 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
>  > t/*.t
>  > t/autocommit........dubious
>  >         Test returned status 0 (wstat 139, 0x8b)
>
> OK - so now try running things manually (perl -Mblib t/main.t).
>
> You probably also want to join the FreeTDS mailing list where these
> issues are covered in more detail (with the FreeTDS developpers).
>
> Michael
>
>
>  > ----- Original Message -----
>  > From: "Michael Peppler" <[EMAIL PROTECTED]>
>  > To: "Darren Clissold" <[EMAIL PROTECTED]>
>  > Cc: <[EMAIL PROTECTED]>
>  > Sent: Wednesday, December 12, 2001 3:28 AM
>  > Subject: Re: Problems installing DBD::Sybase on Solaris
>  >
>  >
>  > > Darren Clissold writes:
>  > >
>  > >  > make test
>  > >  >
>  > >  > And I get this error on basically all the tests.
>  > >  >
>  > >  > ............install_driver(Sybase) failed: Can't load
>  > >  > 'blib/arch/auto/DBD/Sybase/Sybase.so' for module DBD::Sybase:
ld.so.1:
>  > >  > /usr/local/bin/perl: fatal: relocation error: file
>  > >  > /usr/local/freetds/lib/libct.so.0: symbol g_tds_err_handler:
referenced
>  > >  > symbol not found at
>  > /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm
>  > >  > line 206.
>  > >
>  > > Add -ltds to the EXTRALIBS in CONFIG, rebuild, and you should be
fine.
>  > >
>  > > Michael
>  > > --
>  > > Michael Peppler - Data Migrations Inc. -
http://www.mbay.net/~mpeppler
>  > > [EMAIL PROTECTED] - [EMAIL PROTECTED]
>  > > International Sybase User Group - http://www.isug.com
>  > >
>  >
>
> --
> Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler
> [EMAIL PROTECTED] - [EMAIL PROTECTED]
> International Sybase User Group - http://www.isug.com
>

Reply via email to