No, but posting with a better subject and the exact error message you still get 
would
help.  I don't see a 'DynaLoader' error in there...

Jeff

> -----Original Message-----
> From: Mark Vaughan [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, May 12, 2005 7:02 PM
> To: Jeff Urlwin; DBI users
> Subject: RE: SEGV error
> 
> 
> Jeff,
> I have tried using DBD::Sybase with negative results:
> cpan> install DBD::Sybase
> CPAN: Storable loaded ok
> Going to read /.cpan/Metadata
>   Database was generated on Thu, 12 May 2005 07:58:25 GMT 
> Running install for module DBD::Sybase Running make for 
> M/ME/MEWP/DBD-Sybase-1.05.tar.gz
> CPAN: Digest::MD5 loaded ok
> CPAN: Compress::Zlib loaded ok
> Checksum for 
> /.cpan/sources/authors/id/M/ME/MEWP/DBD-Sybase-1.05.tar.gz
> ok
> Scanning cache /.cpan/build for sizes
> x DBD-Sybase-1.05, 0 bytes, 0 tape blocks
> x DBD-Sybase-1.05/dbdimp.h, 4803 bytes, 10 tape blocks
> x DBD-Sybase-1.05/dbd-sybase.pod, 23060 bytes, 46 tape blocks
> x DBD-Sybase-1.05/t, 0 bytes, 0 tape blocks
> x DBD-Sybase-1.05/t/nsql.t, 1215 bytes, 3 tape blocks
> x DBD-Sybase-1.05/t/xblk.t, 9615 bytes, 19 tape blocks
> x DBD-Sybase-1.05/t/place.t, 1540 bytes, 4 tape blocks
> x DBD-Sybase-1.05/t/fail.t, 2174 bytes, 5 tape blocks
> x DBD-Sybase-1.05/t/exec.t, 3164 bytes, 7 tape blocks
> x DBD-Sybase-1.05/t/autocommit.t, 1350 bytes, 3 tape blocks
> x DBD-Sybase-1.05/t/thread.t, 2410 bytes, 5 tape blocks
> x DBD-Sybase-1.05/t/xblob.t, 4387 bytes, 9 tape blocks
> x DBD-Sybase-1.05/t/base.t, 515 bytes, 2 tape blocks
> x DBD-Sybase-1.05/t/_test.pm, 643 bytes, 2 tape blocks
> x DBD-Sybase-1.05/t/multi_sth.t, 6534 bytes, 13 tape blocks
> x DBD-Sybase-1.05/t/login.t, 668 bytes, 2 tape blocks
> x DBD-Sybase-1.05/t/screen.jpg, 96804 bytes, 190 tape blocks
> x DBD-Sybase-1.05/t/main.t, 3706 bytes, 8 tape blocks
> x DBD-Sybase-1.05/Sybase.h, 4192 bytes, 9 tape blocks
> x DBD-Sybase-1.05/dbdimp.c, 149144 bytes, 292 tape blocks
> x DBD-Sybase-1.05/README.freetds, 2085 bytes, 5 tape blocks
> x DBD-Sybase-1.05/PWD.factory, 88 bytes, 1 tape blocks
> x DBD-Sybase-1.05/Makefile.PL, 11355 bytes, 23 tape blocks
> x DBD-Sybase-1.05/META.yml, 296 bytes, 1 tape blocks
> x DBD-Sybase-1.05/dbivport.h, 2016 bytes, 4 tape blocks
> x DBD-Sybase-1.05/README.vms, 1405 bytes, 3 tape blocks
> x DBD-Sybase-1.05/Sybase.xs, 4695 bytes, 10 tape blocks
> x DBD-Sybase-1.05/README, 9780 bytes, 20 tape blocks
> x DBD-Sybase-1.05/CHANGES, 17607 bytes, 35 tape blocks
> x DBD-Sybase-1.05/BUGS, 688 bytes, 2 tape blocks
> x DBD-Sybase-1.05/CONFIG, 1602 bytes, 4 tape blocks
> x DBD-Sybase-1.05/Sybase.pm, 67748 bytes, 133 tape blocks
> x DBD-Sybase-1.05/MANIFEST, 441 bytes, 1 tape blocks
> x DBD-Sybase-1.05/eg, 0 bytes, 0 tape blocks
> x DBD-Sybase-1.05/eg/Show.cgi, 3151 bytes, 7 tape blocks
> x DBD-Sybase-1.05/eg/dbschema.pl, 21765 bytes, 43 tape blocks
> x DBD-Sybase-1.05/eg/README, 344 bytes, 1 tape blocks
> x DBD-Sybase-1.05/eg/check-space.pl, 2816 bytes, 6 tape 
> blocks Removing previously used /.cpan/build/DBD-Sybase-1.05
> 
>   CPAN.pm: Going to build M/ME/MEWP/DBD-Sybase-1.05.tar.gz
> 
> Unknown Client Library version - assuming FreeTDS.
> 
> By default DBD::Sybase 1.05 and later use the 'CHAINED' mode (where
> available)
> when 'AutoCommit' is turned off. Versions 1.04 and older 
> instead managed the transactions explicitly with a 'BEGIN 
> TRAN' before the first DML statement. Using the 'CHAINED' 
> mode is preferable as it is the way that Sybase implements 
> AutoCommit handling for both its ODBC and JDBC drivers.
> 
> Use 'CHAINED' mode by default (Y/N) [Y]: 
> 
> The DBD::Sybase module need access to a Sybase server to run 
> the tests. To clear an entry please enter 'undef' Sybase 
> server to use (default: SYBASE): blackhawk User ID to log in 
> to Sybase (default: sa): mallard Password (default: undef): 
> Sybase database to use on blackhawk (default:
> undef): MallardODBC
> 
> * Writing login information, including password, to file PWD.
> 
> Checking if your kit is complete...
> Looks good
> Note (probably harmless): No library found for -lcs
> Note (probably harmless): No library found for -ltcl
> Note (probably harmless): No library found for -lcomn
> Note (probably harmless): No library found for -lblk
> Using DBI 1.48 (for perl 5.006001 on sun4-solaris) installed 
> in /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI/
> Writing Makefile for DBD::Sybase
> cp Sybase.pm blib/lib/DBD/Sybase.pm
> cp dbd-sybase.pod blib/lib/DBD/dbd-sybase.pod
> /usr/bin/perl -p -e "s/~DRIVER~/Sybase/g" 
/usr/local/lib/perl5/site_perl/5.6.1/sun4-> solaris/auto/DBI//Driver.xst > 
Sybase.xsi
/usr/bin/perl 
> -I/usr/local/lib/perl5/5.6.1/sun4-solaris
> -I/usr/local/lib/perl5/5.6.1 
> /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp
> -typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap 
> Sybase.xs > Sybase.xsc && mv Sybase.xsc Sybase.c gcc -c 
> -I/usr/local/freetds/include 
> -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI
> -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -O    -DVERSION=\"1.05\"  -DXS_VERSION=\"1.05\"
> -fPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE  
> Sybase.c gcc -c -I/usr/local/freetds/include 
> -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI
> -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -O    -DVERSION=\"1.05\"  -DXS_VERSION=\"1.05\"
> -fPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE  
> dbdimp.c Running Mkbootstrap for DBD::Sybase () chmod 644 
> Sybase.bs rm -f blib/arch/auto/DBD/Sybase/Sybase.so
> LD_RUN_PATH="/usr/local/freetds/lib:/usr/lib" gcc 
> -L/usr/local/freetds/lib -G -L/usr/local/lib Sybase.o  dbdimp.o  -o
> blib/arch/auto/DBD/Sybase/Sybase.so   -L/usr/local/freetds/lib -lct
> -lintl -ltds -ldl -lm  
> chmod 755 blib/arch/auto/DBD/Sybase/Sybase.so
> cp Sybase.bs blib/arch/auto/DBD/Sybase/Sybase.bs
> chmod 644 blib/arch/auto/DBD/Sybase/Sybase.bs
> Manifying blib/man3/DBD::Sybase.3
>   /usr/ccs/bin/make  -- OK
> Running make test
> PERL_DL_NONLAZY=1 /usr/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....ok 1/5cs_config(CS_LOC_PROP) failed at 
> /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 
> 225. t/autocommit....NOK 4
> 
> #     Failed test (t/autocommit.t at line 46)
> t/autocommit....NOK 5
> 
> #     Failed test (t/autocommit.t at line 61)
> # Looks like you failed 2 tests of 5.
> t/autocommit....dubious
> 
>         Test returned status 2 (wstat 512, 0x200)
> DIED. FAILED tests 4-5
>         Failed 2/5 tests, 60.00% okay
> t/base..........cs_config(CS_LOC_PROP) failed at 
> /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 
> 225. t/base..........ok
> 
> t/exec..........ok 1/17cs_config(CS_LOC_PROP) failed at 
> /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 
> 225. t/exec..........dubious
> 
>         Test returned status 0 (wstat 138, 0x8a)
> DIED. FAILED tests 5-17
>         Failed 13/17 tests, 23.53% okay
> t/fail..........ok 1/12cs_config(CS_LOC_PROP) failed at 
> /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 
> 225. t/fail..........NOK 4
> 
> #     Failed test (t/fail.t at line 35)
> t/fail..........NOK 6
> 
> #     Failed test (t/fail.t at line 47)
> ct_send(CS_DESCRIBE_INPUT) returned 0 at 
> blib/lib/DBD/Sybase.pm line 133. t/fail..........dubious
> 
>         Test returned status 0 (wstat 139, 0x8b)
> DIED. FAILED tests 4, 6-12
>         Failed 8/12 tests, 33.33% okay
> t/login.........ok 1/4cs_config(CS_LOC_PROP) failed at 
> /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 
> 225. t/login.........ok
> 
> t/main..........ok 1/29cs_config(CS_LOC_PROP) failed at 
> /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 
> 225. t/main..........ok 10/29Setting of CS_OPT_TEXTSIZE 
> failed. at t/main.t line 94. t/main..........NOK 18
> 
> #     Failed test (t/main.t at line 99)
> t/main..........NOK 19
> 
> #     Failed test (t/main.t at line 102)
> t/main..........NOK 21
> 
> #     Failed test (t/main.t at line 113)
> type_info_all result has 19 keys but 20 fields at t/main.t 
> line 139 # Looks like you planned 29 tests but only ran 22. # 
> Looks like your test died just after 22. t/main..........dubious
> 
>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 18-19, 21, 23-29
>         Failed 10/29 tests, 65.52% okay
> t/multi_sth.....ok 1/43cs_config(CS_LOC_PROP) failed at 
> /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 225.
> ct_send(CS_DESCRIBE_INPUT) returned 0 at 
> blib/lib/DBD/Sybase.pm line 133. t/multi_sth.....dubious
> 
>         Test returned status 0 (wstat 139, 0x8b)
> DIED. FAILED tests 10-43
>         Failed 34/43 tests, 20.93% okay
> t/nsql..........ok 1/7cs_config(CS_LOC_PROP) failed at 
> /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 
> 225. t/nsql..........ok
> 
> t/place.........ok 1/13cs_config(CS_LOC_PROP) failed at 
> /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 225.
> ct_send(CS_DESCRIBE_INPUT) returned 0 at 
> blib/lib/DBD/Sybase.pm line 133. t/place.........dubious
> 
>         Test returned status 0 (wstat 139, 0x8b)
> DIED. FAILED tests 5-13
>         Failed 9/13 tests, 30.77% okay
> t/thread........skipped
>         all skipped: this perl 5.006001 not configured to 
> support iThreads t/xblk..........ok 
> 1/62cs_config(CS_LOC_PROP) failed at 
> /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 
> 225. t/xblk..........NOK 6
> 
> #     Failed test (t/xblk.t at line 84)
> t/xblk..........NOK 7
> 
> #     Failed test (t/xblk.t at line 84)
> t/xblk..........dubious
> 
>         Test returned status 0 (wstat 139, 0x8b)
> DIED. FAILED tests 6-62
>         Failed 57/62 tests, 8.06% okay
> t/xblob.........ok 1/11cs_config(CS_LOC_PROP) failed at 
> /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 
> 225. Use of uninitialized value in print at t/xblob.t line 
> 49. Setting of CS_OPT_TEXTSIZE failed. at t/xblob.t line 56. 
> t/xblob.........NOK 6
> 
> #     Failed test (t/xblob.t at line 79)
> Use of uninitialized value in print at t/xblob.t line 121. 
> DBD::Sybase::st syb_ct_send_data failed: Server message 
> number=170 severity=15 state=1 line=1 server=BLACKHAWK 
> text=Line 1: Incorrect syntax near 
> '0x00000000000000000000000000000000'. at t/xblob.t line 125. 
> Setting of CS_OPT_TEXTSIZE failed. at t/xblob.t line 129. 
> t/xblob.........NOK 10
> 
> #     Failed test (t/xblob.t at line 153)
> # Looks like you failed 2 tests of 11.
> t/xblob.........dubious
> 
>         Test returned status 2 (wstat 512, 0x200)
> DIED. FAILED tests 6, 10
>         Failed 2/11 tests, 81.82% okay
> Failed Test    Stat Wstat Total Fail  Failed  List of Failed
> --------------------------------------------------------------
> ----------
> -------
> t/autocommit.t    2   512     5    2  40.00%  4-5
> t/exec.t          0   138    17   26 152.94%  5-17
> t/fail.t          0   139    12   14 116.67%  4 6-12
> t/main.t        255 65280    29   17  58.62%  18-19 21 23-29
> t/multi_sth.t     0   139    43   68 158.14%  10-43
> t/place.t         0   139    13   18 138.46%  5-13
> t/xblk.t          0   139    62  112 180.65%  6-62
> t/xblob.t         2   512    11    2  18.18%  6 10
> 1 test skipped.
> Failed 8/12 test scripts, 33.33% okay. 135/208 subtests 
> failed, 35.10% okay.
> *** Error code 11
> make: Fatal error: Command failed for target `test_dynamic'
>   /usr/ccs/bin/make test -- NOT OK
> Running make install
>   make test had returned bad status, won't install without force
> 
> cpan>
> 
> I tried doing a 'force install DBD::Sybase' and it installed 
> the files. I'm now able to connect to my DB and get data, 
> although I still get the same DynaLoader warning.
> 
> Any thoughts or suggestions?
> 
> Thanks,
> Mark
> 
> Mark Vaughan
> 
> Programmer III
> 
>  
> 
> Direct: +1 303 802 2426
> 
> Cell: +1 303 601 4434
> 
> Fax: +1 303 802 1420
> 
> [EMAIL PROTECTED]
> 
> Evolving Systems, Inc. 
> 
> 9777 Pyramid Court, Suite 100, Englewood, CO USA 80112
> 
> www.evolving.com
> 
> -----Original Message-----
> From: Jeff Urlwin [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, May 10, 2005 12:28 PM
> To: Mark Vaughan; 'DBI users'
> Subject: RE: SEGV error
> 
> > 
> > 
> > Jeff,
> > Thanks for the response.  I thought the same thing:  Maybe it
> > is failing because the table does not exist, so I created it 
> > using the same username and password.  It still fails.
> > 
> > I am trying to connect to an MS SQL Server running on a Win
> > 2k server using the freetds driver and unixODBC device 
> > manager.  All suggested access for both unixODBC and freetds 
> > have been used and work correctly.
> > 
> > I am a newbie with the DBI stuff so sorry if I seem lost in
> > all of this.
> 
> 
> A slightly simpler configuration is to use FreeTDS with DBD::Sybase.
> That eliminates the
> ODBC layer(s)
> 
> DBI --> DBD::Sybase --> FreeTDS
> 
> Vs
> 
> DBI --> DBD::ODBC --> unixODBC --> FreeTDS ODBC Driver --> FreeTDS
> 
> Just a suggestion.  If you can't do that for some reason or 
> that doesn't
> work for some
> other reason, let me know.  I'm working on getting myself setup again
> with all the various
> flavors of stuff, Solaris included.  If you post again, please post
> versions of the above
> "stuff".
> 
> Thanks,
> 
> Jeff
> 
> > 
> > Thanks,
> > Mark
> > 
> > Mark Vaughan
> > 
> > Programmer III
> > 
> >  
> > 
> > Direct: +1 303 802 2426
> > 
> > Cell: +1 303 601 4434
> > 
> > Fax: +1 303 802 1420
> > 
> > [EMAIL PROTECTED]
> > 
> > Evolving Systems, Inc. 
> > 
> > 9777 Pyramid Court, Suite 100, Englewood, CO USA 80112
> > 
> > www.evolving.com
> > 
> > 
> > -----Original Message-----
> > From: Jeff Urlwin [mailto:[EMAIL PROTECTED] 
> > Sent: Tuesday, May 10, 2005 4:10 AM
> > To: Mark Vaughan; 'DBI users'
> > Subject: RE: SEGV error
> > 
> > > 
> > > 
> > > All,
> > > 
> > > While executing CPAN's "install DBD::ODBC" command test #2 fails.
> > > 
> > >  
> > > 
> > > Here is the output when run by hand:
> > > 
> > [snip]
> > > 
> > >     -> do for DBD::ODBC::db (DBI::db=HASH(0x285918)~0x2714ec
> > > 'DROP TABLE
> > > PERL_DBD_TEST')
> > > 
> > > Segmentation Fault(coredump)
> > 
> > Not a pretty sight.  This is attempting to drop a table that 
> > probably won't yet exist in your case.  It should have the 
> > DBMS raise an error, but that's about it. Please tell us more 
> > about your configuration.  To which RDBMS are you connecting? 
> > Using which driver? Using which driver manager?  
> > 
> > > 
> > >  
> > > 
> > > Environment:
> > > 
> > > Solaris 2.8
> > > 
> > > Perl 5.6.1
> > > 
> > > DBI: 1.48
> > > 
> > > DBD::ODBC: 1.13
> > > 
> > >  
> > 
> > This should be ok.
> > 
> > Jeff
> > 
> > This e-mail and any attachments may be confidential and/or 
> > legally privileged. If you have received this e-mail and you 
> > are not a named addressee, please inform Evolving Systems TIS 
> > at [EMAIL PROTECTED] and then delete the e-mail from your 
> > system. If you are not a named addressee you must not use, 
> > disclose, distribute, copy, print or rely on this e-mail. To 
> > ensure regulatory compliance and for the protection of our 
> > clients and business, Evolving Systems may monitor and read 
> > e-mails sent to and from its servers. Although Evolving 
> > Systems routinely screens for viruses, addressees should scan 
> > this e-mail and any attachments for viruses. Evolving Systems 
> > makes no representation or warranty as to the absence of 
> > viruses in this e-mail or any attachments. 
> > 
> > Registered Office: 9777 Mt. Pyramid Ct Suite 100, 
> Englewood, CO 80112
> > 
> 
> This e-mail and any attachments may be confidential and/or 
> legally privileged. If you have received this e-mail and you 
> are not a named addressee, please inform Evolving Systems TIS 
> at [EMAIL PROTECTED] and then delete the e-mail from your 
> system. If you are not a named addressee you must not use, 
> disclose, distribute, copy, print or rely on this e-mail. To 
> ensure regulatory compliance and for the protection of our 
> clients and business, Evolving Systems may monitor and read 
> e-mails sent to and from its servers. Although Evolving 
> Systems routinely screens for viruses, addressees should scan 
> this e-mail and any attachments for viruses. Evolving Systems 
> makes no representation or warranty as to the absence of 
> viruses in this e-mail or any attachments. 
> 
> Registered Office: 9777 Mt. Pyramid Ct Suite 100, Englewood, CO 80112
> 

Reply via email to