RE: [PHP4BETA] Openlink/PHP4 problems

From: Date: Fri, 28 Jan 2000 13:56:14 +0000
Subject: RE: [PHP4BETA] Openlink/PHP4 problems
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-9516@lists.php.net to get a copy of this message
Brian, Try using the RS6000 version of the software instead of the Powerpc. Some people have had problems resolved by using the other version. Also, make sure you have the SDK if you are going to compile PHP with Openlink. Feel free to open an online support case at http://www.openlinksw.com if this does not resolve your problem. Best regards, Andrew Hill Openlink Technical Support > -----Original Message----- > From: Brian Leyton [mailto:bleyton@cpe-usalco.com] > Sent: Thursday, January 27, 2000 6:01 PM > To: ahill@openlinksw.com > Cc: Php4beta > Subject: RE: [PHP4BETA] Openlink/PHP4 problems > > > I *did* use only --with-openlink. When Apache tries to load the > libiodbc.a > from /usr/local/openlink/lib, it gives me the error message shown in my > original message. > > I looked again at the client components available on the web > site. There is > only 1 file that I could find for my platform. The file is called > a4brzzzz.taz. It is the client components for AIX 4.2 PowerPC. > This is the > file that I installed. > > Brian > > > -----Original Message----- > > From: Andrew Hill [mailto:ahill@openlinksw.com] > > Sent: Thursday, January 27, 2000 1:55 PM > > To: Brian Leyton; Php4beta > > Subject: RE: [PHP4BETA] Openlink/PHP4 problems > > > > > > Brian, > > > > Try using the --with-openlink option, to ensure that it's not > > just a corrupt > > iodbc tarball. The componets on our www.openlinksw.com site, > e.g. drivers > > and SDK should give you all the pieces you need. > > > > Regards, > > Andrew > > ---------------------------------------------------- > > Andrew Hill > > Technical Support Consultant > > OpenLink Software > > http://www.openlinksw.com > > Universal Database Connectivity Technology Providers > > > > > -----Original Message----- > > > From: Brian Leyton [mailto:bleyton@cpe-usalco.com] > > > Sent: Thursday, January 27, 2000 4:58 PM > > > To: Php4beta; ahill@openlinksw.com > > > Subject: [PHP4BETA] Openlink/PHP4 problems > > > > > > > > > I'm trying to build Apache/PHP4/Openlink. Here are the vital > > statistics - > > > IBM RS6000, AIX 4.2.1 PowerPC, PHP4 CVS version, Apache 1.3.11. > > > > > > I have Openlink set up and talking to my database via > odbctest. I have > > > compiled PHP4 using --with-openlink (adding > --with-iodbc=/path/to/iodbc > > > doesn't seem to make any difference). The LIBPATH environment > > variable is > > > pointing to /usr/local/openlink/lib. When I compile Apache, I get the > > > following error message: > > > > > > ./gen_test_char >test_char.h > > > Could not load program ./gen_test_char > > > /usr/local/openlink/lib/libiodbc.a is not executable or not in > > > correct XCOFF > > > format > > > Could not load library libiodbc.a > > > Error was: Exec format error > > > make: The error code from the last command is 255. > > > > > > Now this looks like the libiodbc.a file has some problems (BTW, > > > the file is > > > indeed there, and seems to have the proper permissions). So I changed > > > LIBPATH to point to /usr/local/lib, where I have the version of > > libiodbc.a > > > that I compiled from the libiodbc-2.50.3 package. I can get then > > > get Apache > > > to compile properly, but then I get core dumps in Apache when > trying to > > > access the database from a PHP script. > > > > > > I suspect that the iodbc that I compiled is the problem here, > > since I get > > > coredumps in odbctest when using the version of this program from the > > > libiodbc-2.50.3 directory. In fact, a comparison of the > backtraces from > > > Apache & odbctest looks very similar to my (untrained) eye. > > > > > > So I guess this boils down to a couple of questions, which now > > seem kinda > > > off-topic (sorry): > > > > > > 1. Is the problem with compiling Apache against the Openlink > version of > > > libiodbc.a easily solved? If so, then maybe that's the easiest > > > way to solve > > > this. I'm sure it's possible that I downloaded the wrong > version of the > > > client components, though I believe I did get the ones for AIX > > > 4.2 Power PC. > > > > > > 2. Am I doing something wrong when installing iODBC-2.50.3 > > that's causing > > > the coredumps? All I did there was unpack the tarball, run > ./configure, > > > ./make, ./make install. Not much to screw up - is there? > > > > > > Any advice would be greatly appreciated, > > > > > > Brian > > > > > > > > > -- > > > PHP 4.0 Beta Mailing List > > > <http://www.php.net/version4/> > > > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > > > For additional commands, e-mail: php4beta-help@lists.php.net > > > To contact the list administrators, e-mail: > php4beta-admin@lists.php.net > > > > > > > > > > > > -- > > PHP 4.0 Beta Mailing List > > <http://www.php.net/version4/> > > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > > For additional commands, e-mail: php4beta-help@lists.php.net > > To contact the list administrators, e-mail: php4beta-admin@lists.php.net > > > > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net > >

« previous php.version4 (#9516) next »