|
|
sybperl-l Archive
Up Prev Next
From: Roleigh Martin <rol at uhc dot com>
Subject: bad exec format with perl5.004 and sybperl-2.10 on AIX
(RS/6000) computer, why?
Date: Jan 5 1999 12:17AM
Hi,
Our unix support person has installed Perl5.004, sybperl-2.10 on a AIX (RS/6000
computer -- see version info below) and when I run a simple cgi program in
offline mode, I get the below error messages -- any ideas?
Thanks in advance.
I get 'bad exec format'
-------------------------------------------------------------------
stderr output
-------------------------------------------------------------------
>which perl
/usr/local/gnu/perl5.004/perl
18:/usr/local/httpd/cgi-bin/qstar>perl test_install2.cgi
Can't load '/usr/local/gnu/lib/perl5/site_perl/aix/auto/Sybase/DBlib/DBlib.a' for module Sybase::DBlib: dlopen: /usr/local/gnu/lib/perl5/site_perl/aix/auto/Sybase/DBlib/DBlib.a:
bad exec format in /usr/local/gnu/lib/perl5/site_perl/aix/auto/Sybase/DBlib/DBlib.a at /usr/local/gnu/lib/perl5/aix/5.004/DynaLoader.pm line 155.
at test_install2.cgi line 4
BEGIN failed--compilation aborted at test_install2.cgi line 4.
-------------------------------------------------------------------
AIX Version information:
-------------------------------------------------------------------
AIX Version 3
(C) Copyrights by IBM and by others 1982, 1993.
>uname -a
AIX polaris 1 4 000189097000
-------------------------------------------------------------------
-------------------------------------------------------------------
CGI script:
-------------------------------------------------------------------
/usr/local/httpd/cgi-bin/qstar>cat test_install2.cgi
#!/usr/local/gnu/bin/perl -w
use strict;
use Sybase::DBlib;
use CGI ':standard';
my $query = new CGI;
my $pwd='qqqqqqq';
my $database='ddddddd';
my $user='uuuuuuuu';
my $server='ssssssss';
my $dbh = new Sybase::DBlib $user, $pwd, $server;
$dbh->dbuse($database);
print $query->header;
print $query->start_html('Sysusers Query');
print $query->end_html;
$dbh->dbclose;
exit(0);
-------------------------------------------------------------------
--
Roleigh Martin, Rt. MN012-N188 Opinions are mine not UHC |
Software Engineer Consultant AT&T voice: (612) 992-4592|
UHC, HealthCare System Services AT&T vmail: (612) 992-4592|
5901 Lincoln Drive FAX: (612) 992-7021|
Edina MN 55436 Email: rol@.uhc.com|
Y2k Page: http://ourworld.compuserve.com/homepages/roleigh_martin
( easy to remember alias is: http://webalias.com/roleigh )
(A Web Site that focuses on Y2k threat to core infrastructures.)
|