<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: perl DBD::Sybase in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/perl-dbd-sybase/m-p/4052730#M94361</link>
    <description>There's a few things that can screw it up.&lt;BR /&gt;I'm assuming you are using gcc.&lt;BR /&gt;&lt;BR /&gt;These variables need set:&lt;BR /&gt;Update the path so it can see gcc before hp's CC.&lt;BR /&gt;CC=GCC  GCC=YES&lt;BR /&gt;Assume that S=the real path to sybase, like "/mydir/sybase"&lt;BR /&gt;&lt;BR /&gt;SYBASE=S (i.e. SYBASE=/mydir/sybase)&lt;BR /&gt;SYBASE_OCS=OCS-12_0&lt;BR /&gt;SYBASE_ASE=ASE-12_0&lt;BR /&gt;SHLIB_PATH=/S/OCS-12_5/lib:/S/OCS-12_5:/usr/lib:/lib&lt;BR /&gt;:/usr/lib/Motif1.2:/S/SQLRemote/lib:/S/ASE-12_0/lib:&lt;BR /&gt;&lt;BR /&gt;vi CONFIG&lt;BR /&gt;SYBASE= S &lt;BR /&gt;vi PWD&lt;BR /&gt;put in a valid username, password, and SERVER.&lt;BR /&gt;&lt;BR /&gt;perl Makefile.PL&lt;BR /&gt;&lt;BR /&gt;-----------and----------&lt;BR /&gt;There is a typo in Makefile.PL in version 13.  It gets fixed in later versions of sybperl.  But I can always fix it right now.&lt;BR /&gt;Change this line.....&lt;BR /&gt;From:  'MAN3PODS' =&amp;gt; 'pod/sybperl.pod'&lt;BR /&gt;  To:  'MAN3PODS' =&amp;gt; { 'pod/sybperl.pod' =&amp;gt; 'blib/man3/sybperl.3' }&lt;BR /&gt;------------and-------------&lt;BR /&gt;libinsk is busted?&lt;BR /&gt;In the CONFIG file is " EXTRALIB=-libinsck."&lt;BR /&gt;This bombs out on "gmake"  because there is no libinsck.sl file.&lt;BR /&gt;&lt;BR /&gt;There are files like this instead......&lt;BR /&gt;S(i.e. the sybase path)/OCS-12_5/lib/ libinsck.sl.12.5.1.0&lt;BR /&gt;&lt;BR /&gt;The solution is to make a link.&lt;BR /&gt;libinsck.sl -&amp;gt; ./libinsck.sl.12.5.1.4&lt;BR /&gt;&lt;BR /&gt;----and--------------&lt;BR /&gt;It died because CTlib.sl could not see sybase where it expected it to be?&lt;BR /&gt;&lt;BR /&gt;strings ./lib/site_perl/5.6.0/PA-RICS2.0/auto/Sybase/DBlib/DBlib.sl | \&lt;BR /&gt;        grep -E "\/ &lt;PUT your="" sybase="" path="" here=""&gt; \/"&lt;BR /&gt;        &lt;BR /&gt;strings ./lib/site_perl/5.6.0/PA-RICS2.0/auto/Sybase/CTlib/CTlib.sl | \&lt;BR /&gt;        grep -E "\/ &lt;PUT your="" sybase="" path="" here=""&gt; \/"&lt;BR /&gt;&lt;BR /&gt;&lt;/PUT&gt;&lt;/PUT&gt;</description>
    <pubDate>Fri, 10 Aug 2007 08:34:41 GMT</pubDate>
    <dc:creator>Steve Post</dc:creator>
    <dc:date>2007-08-10T08:34:41Z</dc:date>
    <item>
      <title>perl DBD::Sybase</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-dbd-sybase/m-p/4052729#M94360</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;Initial caveat:  I know enough about oracle to be really dangerous and annoying to real dbas.  I know absolutely nothing about Sybase.&lt;BR /&gt;&lt;BR /&gt;That being said, I'm trying to install the DBD::Sybase module for some users.  I'm using the perl -MCPAN module to do that.  &lt;BR /&gt;&lt;BR /&gt;Taking my clue from the oracle, I sourced the sybase environment variables.  It looks like the compile went ok; at least I can't see any errors listed in there. &lt;BR /&gt;&lt;BR /&gt;The make tests failed miserably, however.  &lt;BR /&gt;&lt;BR /&gt;Running make test&lt;BR /&gt;        PERL_DL_NONLAZY=1 /opt/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t&lt;BR /&gt;t/autocommit....ok 1/9Can't make loaded symbols global on this platform while loading blib/arch/auto/DBD/Sybase/Sybase.sl at /opt/perl/lib/5.8.6/PA-RISC2.0/DynaLoader.pm line 230.&lt;BR /&gt;/usr/lib/dld.sl: Unresolved symbol: csf_gss_get_OidAddress (code)  from /sybase/product/12.0/OCS-12_0/lib/libskrb.sl&lt;BR /&gt;&lt;BR /&gt;#     Failed test (t/autocommit.t at line 18)&lt;BR /&gt;t/autocommit....NOK 2#     Tried to use 'DBD::Sybase'.                       &lt;BR /&gt;#     Error:  Can't load 'blib/arch/auto/DBD/Sybase/Sybase.sl' for module DBD::Sybase: Unresolved external at /opt/perl/lib/5.8.6/PA-RISC2.0/DynaLoader.pm line 230.&lt;BR /&gt;#  at (eval 6) line 2&lt;BR /&gt;# Compilation failed in require at (eval 6) line 2.&lt;BR /&gt;# BEGIN failed--compilation aborted at t/autocommit.t line 18.&lt;BR /&gt;Had to create DBD::Sybase::dr::imp_data_size unexpectedly at /opt/perl/lib/site_perl/5.8.6/PA-RISC2.0/DBI.pm line 1207.&lt;BR /&gt;Use of uninitialized value in subroutine entry at /opt/perl/lib/site_perl/5.8.6/PA-RISC2.0/DBI.pm line 1207.&lt;BR /&gt;Had to create DBD::Sybase::db::imp_data_size unexpectedly at /opt/perl/lib/site_perl/5.8.6/PA-RISC2.0/DBI.pm line 1237.&lt;BR /&gt;Use of uninitialized value in subroutine entry at /opt/perl/lib/site_perl/5.8.6/PA-RISC2.0/DBI.pm line 1237.&lt;BR /&gt;Undefined subroutine &amp;amp;DBD::Sybase::db::_login called at blib/lib/DBD/Sybase.pm line 90.&lt;BR /&gt;# Looks like you planned 9 tests but only ran 2.&lt;BR /&gt;# Looks like your test died just after 2.&lt;BR /&gt;&lt;BR /&gt;is just a small snippet of the output.  &lt;BR /&gt;&lt;BR /&gt;Do any of these errors mean anything to anyone and/or can anyone help me get this installed cleanly?  &lt;BR /&gt;&lt;BR /&gt;Appreciate any hints/tips/suggestions.&lt;BR /&gt;&lt;BR /&gt;Doug O'Leary</description>
      <pubDate>Thu, 09 Aug 2007 10:46:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-dbd-sybase/m-p/4052729#M94360</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2007-08-09T10:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: perl DBD::Sybase</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-dbd-sybase/m-p/4052730#M94361</link>
      <description>There's a few things that can screw it up.&lt;BR /&gt;I'm assuming you are using gcc.&lt;BR /&gt;&lt;BR /&gt;These variables need set:&lt;BR /&gt;Update the path so it can see gcc before hp's CC.&lt;BR /&gt;CC=GCC  GCC=YES&lt;BR /&gt;Assume that S=the real path to sybase, like "/mydir/sybase"&lt;BR /&gt;&lt;BR /&gt;SYBASE=S (i.e. SYBASE=/mydir/sybase)&lt;BR /&gt;SYBASE_OCS=OCS-12_0&lt;BR /&gt;SYBASE_ASE=ASE-12_0&lt;BR /&gt;SHLIB_PATH=/S/OCS-12_5/lib:/S/OCS-12_5:/usr/lib:/lib&lt;BR /&gt;:/usr/lib/Motif1.2:/S/SQLRemote/lib:/S/ASE-12_0/lib:&lt;BR /&gt;&lt;BR /&gt;vi CONFIG&lt;BR /&gt;SYBASE= S &lt;BR /&gt;vi PWD&lt;BR /&gt;put in a valid username, password, and SERVER.&lt;BR /&gt;&lt;BR /&gt;perl Makefile.PL&lt;BR /&gt;&lt;BR /&gt;-----------and----------&lt;BR /&gt;There is a typo in Makefile.PL in version 13.  It gets fixed in later versions of sybperl.  But I can always fix it right now.&lt;BR /&gt;Change this line.....&lt;BR /&gt;From:  'MAN3PODS' =&amp;gt; 'pod/sybperl.pod'&lt;BR /&gt;  To:  'MAN3PODS' =&amp;gt; { 'pod/sybperl.pod' =&amp;gt; 'blib/man3/sybperl.3' }&lt;BR /&gt;------------and-------------&lt;BR /&gt;libinsk is busted?&lt;BR /&gt;In the CONFIG file is " EXTRALIB=-libinsck."&lt;BR /&gt;This bombs out on "gmake"  because there is no libinsck.sl file.&lt;BR /&gt;&lt;BR /&gt;There are files like this instead......&lt;BR /&gt;S(i.e. the sybase path)/OCS-12_5/lib/ libinsck.sl.12.5.1.0&lt;BR /&gt;&lt;BR /&gt;The solution is to make a link.&lt;BR /&gt;libinsck.sl -&amp;gt; ./libinsck.sl.12.5.1.4&lt;BR /&gt;&lt;BR /&gt;----and--------------&lt;BR /&gt;It died because CTlib.sl could not see sybase where it expected it to be?&lt;BR /&gt;&lt;BR /&gt;strings ./lib/site_perl/5.6.0/PA-RICS2.0/auto/Sybase/DBlib/DBlib.sl | \&lt;BR /&gt;        grep -E "\/ &lt;PUT your="" sybase="" path="" here=""&gt; \/"&lt;BR /&gt;        &lt;BR /&gt;strings ./lib/site_perl/5.6.0/PA-RICS2.0/auto/Sybase/CTlib/CTlib.sl | \&lt;BR /&gt;        grep -E "\/ &lt;PUT your="" sybase="" path="" here=""&gt; \/"&lt;BR /&gt;&lt;BR /&gt;&lt;/PUT&gt;&lt;/PUT&gt;</description>
      <pubDate>Fri, 10 Aug 2007 08:34:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-dbd-sybase/m-p/4052730#M94361</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2007-08-10T08:34:41Z</dc:date>
    </item>
  </channel>
</rss>

