Archives of the TeradataForum
Message Posted: Fri, 14 Mar 2008 @ 16:10:03 GMT
Hmm ... first of all, DBD::Teradata is "unsupported". The author, Dean Arnold, occasionally makes some changes, and if you write to him he may help you out, but it's not his top priority. Have you considered using Teradata::SQL instead?
Okay, now about those messages.
> * 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. > Note (probably harmless): No library found for -lnet > Note (probably harmless): No library found for -lsocket > Note (probably harmless): No library found for -ltdusr.so
Not sure about these. Why couldn't it find libtdusr.so? But this may not be a big deal.
Messages like this --
> Teradata.xs:155: warning: passing arg 1 of 'DBCHCL' from incompatible pointer type
make me suspect that the header files are missing. Do you have the CLIv2 header files installed? Are they listed in TDAT_DBD_CLI_INC?
> /usr/local/bin/ld: skipping incompatible /usr/lib/libcliv2.so > when searching for -lcliv2
This is probably the real problem. Why is libcliv2.so incompatible? Unfortunately, it doesn't say. Perhaps installing the latest CLIv2 for Linux from the patch server would correct this.
I hope this helps.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|