Re: Issues installing DBD::Teradata on AIX server

Jens Rehsack <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <[email protected]>
On 23.04.13 01:19, Sunil Palepu wrote:
> Hi -

++

> We had installed DBI on the AIX server but unable to install DBD::Teradata on the same server. My Unix admin is seeing "Memory fault(coredump)" error and wondering if someone can help me out. I did install this on the Linux servers in the past but this is my first time installing DBI on AIX.

How did you install that DBI?
Which compiler did you use? Which compiler flags.
Did you modify the system perl (read: where is DBI installed?)
or used local::lib?

> OS : AIX
> Perl version is : v5.8.8
> DBI version : DBI-1.625
> DBD version : DBD-Teradata-1.52
>
>
> $ sudo perl Makefile.PL
>
>   *** Configuring DBD::Teradata (feature-limited free edition)...
>
> ***************************************************************
> *
> *       !!!NOTE TO INSTALLERS!!!
> *
> *       DBD::Teradata will be built using the following
> *       directives:
> *       Libraries: -L/usr/lib -lcliv2 -lnet -lsocket -lresolv -ltdusr.so
> *       Include files:
> *       Compile flags: -D__error_t_defined=1
> *
> *       If your CLI2 libraries and/or include files are in another
> *       location, please update the TDAT_DBD_CLI_LIB and
> *       TDAT_DBD_CLI_INC environment variables before running
> *       Makefile.PL.
> *
> ***************************************************************
>
> Memory fault(coredump)

You should probably trace where it crashes - and you should NEVER run 
Makefile.PL as root.

> Thanks in advance

' welcome

Cheers
-- 
Jens Rehsack
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.