pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
DBD::Pg on UnixWare
2+ messages / 2 participants
[nested] [flat]

* DBD::Pg on UnixWare
@ 1999-05-01 13:49  Thomas Good <tomg@nrnet.org>
  0 siblings, 1 reply; 2+ messages in thread

From: Thomas Good @ 1999-05-01 13:49 UTC (permalink / raw)
  To: PostgreSQL Interfaces <pgsql-interfaces@hub.org>; +Cc: Edmund Mergl <E.Mergl@bawue.de>


Vital Signs:
------------
Database version:     PostgreSQL 6.3.2 
Alleged OS:           UnixWare 2.1.2 
Perl Version:         Perl 5.004_04 
DBI Module:           DBI 0.91 
DBD Driver:           DBD-Pg 0.69

Gratuitous Whining:
------------------
This combination runs fine on Linux 2.0.30 (Slackware 3.4) and
FreeBSD 2.2.7 and 2.2.8 (Perl 5.005) but, like so many other things,
has trouble working properly on UnixWare...

Symptoms:
---------
The most rudimentary report that uses DBI::DBD-Pg to return a cursor
select is failing with:

dynamic linker: /usr/bin/perl: symbol not found: strncasecmp

Debug Attempt:
-------------
perl debug shows that the query is dying at line 101 of Pg.pm:

101:  DBD::Pg::db::prepare(/opt/lib/perl5/site_perl/DBD/Pg.pm: 101):
      DBD::Pg::st_prepare($sth, $statement, @attribs)
102:          or return undef;

If I comment out the PAGER simply connect to the db I can do so 
without complaint.  My $dbh->disconnect also exits without err.

Any advice most appreciated (danke sehr, Edmund)...
Tom
----
         North Richmond Community Mental Health Center

         Thomas Good   Information Systems Coordinator
         E-Mail:       tomg@ { admin | q8 } .nrnet.org
         Phone:        718-354-5528       
         Fax:          718-354-5056  

                 Empowered by PostgreSQL 6.3.2







^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: DBD::Pg on UnixWare
@ 1999-05-01 19:33  Edmund Mergl <E.Mergl@bawue.de>
  parent: Thomas Good <tomg@nrnet.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Edmund Mergl @ 1999-05-01 19:33 UTC (permalink / raw)
  To: Thomas Good <tomg@nrnet.org>; +Cc: pgsql-interfaces@hub.org

Thomas Good wrote:
> 
> Vital Signs:
> ------------
> Database version:     PostgreSQL 6.3.2
> Alleged OS:           UnixWare 2.1.2
> Perl Version:         Perl 5.004_04
> DBI Module:           DBI 0.91
> DBD Driver:           DBD-Pg 0.69
> 
> Gratuitous Whining:
> ------------------
> This combination runs fine on Linux 2.0.30 (Slackware 3.4) and
> FreeBSD 2.2.7 and 2.2.8 (Perl 5.005) but, like so many other things,
> has trouble working properly on UnixWare...
> 
> Symptoms:
> ---------
> The most rudimentary report that uses DBI::DBD-Pg to return a cursor
> select is failing with:
> 
> dynamic linker: /usr/bin/perl: symbol not found: strncasecmp
> 
> Debug Attempt:
> -------------
> perl debug shows that the query is dying at line 101 of Pg.pm:
> 
> 101:  DBD::Pg::db::prepare(/opt/lib/perl5/site_perl/DBD/Pg.pm: 101):
>       DBD::Pg::st_prepare($sth, $statement, @attribs)
> 102:          or return undef;
> 
> If I comment out the PAGER simply connect to the db I can do so
> without complaint.  My $dbh->disconnect also exits without err.
> 
> Any advice most appreciated (danke sehr, Edmund)...
> Tom
> ----
>          North Richmond Community Mental Health Center
> 
>          Thomas Good   Information Systems Coordinator
>          E-Mail:       tomg@ { admin | q8 } .nrnet.org
>          Phone:        718-354-5528
>          Fax:          718-354-5056
> 
>                  Empowered by PostgreSQL 6.3.2


in Pg.xs replace strncasecmp() by strncmp(). 
The check, in which strncasecmp is used,
will not be as strict, as it should, but 
this is not critical.

Edmund

-- 
Edmund Mergl          mailto:E.Mergl@bawue.de
Im Haldenhau 9        http://www.bawue.de/~mergl
70565 Stuttgart       fon: +49 711 747503
Germany



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1999-05-01 19:33 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-05-01 13:49 DBD::Pg on UnixWare Thomas Good <tomg@nrnet.org>
1999-05-01 19:33 ` Edmund Mergl <E.Mergl@bawue.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox