Oh wise ones,
I am attempting to install DBD::ODBC module on AIX 6.1. Perl is set to 64 bit, ODBC driver mgr is 64 bit, and drivers are 64 bit.
My problem is when installing DBD::ODBC module, I receive
a segmentation fault when running perl Makefile.PL. any help appreciated ?
***************** SEE OUTPUT BELOW ********************
> perl Makefile.PL
Useless use of private variable in void context at Makefile.PL line 10
+25.
**********
Remember to actually *READ* the README file!
And re-read it if you have any problems.
**********
OSNAME: aix
LANG: en_US
ODBCHOME: /opt/unixODBC-2.3.0
LD_LIBRARY_PATH: :/opt/unixODBC-2.3.0/lib:/lib:/usr/local/lib
DBROOT:
WINDIR:
II_SYSTEM:
You are using a Perl configured with threading enabled.
Please read the warnings in DBI about this.
You should also be aware that on non-Windows platforms ODBC drivers co
+me
in two forms, thread-safe and non-thread-safe drivers and you may need
to make sure you are using the right one.
Press return to continue...
Looking for odbc_config at /opt/unixODBC-2.3.0/bin/odbc_config
Found odbc_config (via /opt/unixODBC-2.3.0/bin/odbc_config) version
+2.3.0
odbc_config reports --prefix=/opt/unixODBC-2.3.0
odbc_config reports --include-prefix=/opt/unixODBC-2.3.0/include
odbc_config reports --lib-prefix=/opt/unixODBC-2.3.0/lib
ODBC INC dir set to /opt/unixODBC-2.3.0/include from odbc_config
ODBC LIB dir set to /opt/unixODBC-2.3.0/lib from odbc_config
Using ODBCHOME /opt/unixODBC-2.3.0
This looks like a unixodbc type of driver manager.
Looking for odbcinst
odbcinst -j reports:
unixODBC 2.3.0
DRIVERS............: /opt/unixODBC-2.3.0/odbcinst.ini
SYSTEM DATA SOURCES: /opt/unixODBC-2.3.0/odbc.ini
FILE DATA SOURCES..: /opt/unixODBC-2.3.0/ODBCDataSources
USER DATA SOURCES..: /opt/unixODBC-2.3.0/odbc.ini
SQLULEN Size.......: 8
SQLLEN Size........: 8
SQLSETPOSIROW Size.: 8
Please note these files as they are where you define your ODBC drivers
+ and data sources.
Looking for odbc_config to get cflags
Adding odbc_config --cflags "-DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_T
+YPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/opt/unixODBC-2.3.0/inc
+lude " to CC line
Checking if your kit is complete...
Looks good
Segmentation fault(coredump)