in reply to ODBC and UNIX

otijim,

You will need to purchase ODBC drivers for HPUX. Also check to make sure you have the ANSI C libraries for HPUX, this is also something that has to be purchased (the included HPUX compiler is not ANSI standard, it will essentially compile a kernel). You will also need to be sure that all the 4GL libraries (esql?) for informix are also installed. (and there is (used to be) a required install order with informix, with 4GL requiring to be installed prior to Informix itself.

In a previous lifetime, I attempted to get Perl, DBI and Informix to play together, but experienced numerous problems getting DBI compiled (DBD/DBI, HPUX and Informix seemed to be inherently problematic at the time, based on dbi-user posts). You'll likely benefit from subscribing to the dbi-users maillist.

My story ended sadly perl-wise, I never got it working and had to use 4GL for my work. I hope your story has a much happier ending!

good luck!

Replies are listed 'Best First'.
Re: RE: ODBC and UNIX
by alftheo (Scribe) on Nov 16, 2000 at 15:19 UTC
    I believe you can get the same results with gcc on HP/UX, and using the native Informix drivers, not ODBC or 4GL. This worked fine for me with Ingres, and also Informix on SCO unix. Just install gcc (available as binaries from hp), then DBI and DBD::Informix from CPAN...