DBD::Advantage and 64-bit Perl - Always 6060

Posted by WarheadsSE on Stack Overflow See other posts from Stack Overflow or by WarheadsSE
Published on 2010-04-30T15:13:49Z Indexed on 2010/04/30 16:47 UTC
Read the original article Hit count: 441

I realize that I am attempting to go beyond the "supported" behavior of the manf's released drivers for perl, after all they have only released it in package with x86 .so's.

However, since I cannot use their package with x64 Perl on a RHEL 5.4 x86_64 box, and maintaining a seperate install of x86 perl just for this one package, I have made an attempt to get this puppy working thanks to released 64-bit .so's that accompany other driver packages for Advantage.

What I have done to this point:

  • download beta 10 DBI drivers, in 32
  • download beta 10 PHP extension (it contains 32 and x86_64)
  • copy the required DLLs into the ads-lib location (eg /usr/local/ads/lib64)
  • compile the Perl DBI driver with the path to the lib64's .so's
  • Good compilation, good install, good use.

The problem is that I always get :

failed: [iAnywhere Solutions][Advantage SQL][ASA] Error 6060: Advantage Database Server not available on specified server. axServerConnect (SQL-HY000)(DBD: db_login/SQLConnect err=-1)

Does anyone have any ideas?

EDIT: fixed package name in post title

© Stack Overflow or respective owner

Related posts about perl

Related posts about advantage-database-server