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)

In reply to DBD::ODBC install fails at perl Makefile.PL by mj10044

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.