neil smith wrote:
Hi Martin,
It's a legacy application that is huge and sprawling and teh programmers
who developed it left along time ago , apparently. It would probably be
easier to write a whole new application then convert it to php 4 or 5
and thankfully thats not what I've been asked to do.
psa - thanks for that!!
would that be part of an oracle library?
I can see Oracle 9.2 has a libpsa8.so and libpsa9.so
Does your link work if the Makefile is changed to -lpsa9 or -lpsa8?
Chris
thanks,
neil
>From: Martin Norland <martin.norland@xxxxxxxxxx>
>Reply-To: php-db@xxxxxxxxxxxxx
>To: php-db@xxxxxxxxxxxxx
>Subject: Re: php3 and oracle9i client libraries doesn't
compile..
>Date: Thu, 28 Apr 2005 09:31:33 -0500
>
>neil smith wrote:
>>I'm using this command to configure php3
>>./configure --with-apxs=/usr/local/apache/bin/apxs
>>--with-config-file-path=/usr/local/lib --enable-versioning
>>--enable-track-vars --with-oci8=/u01/app/oracle/product/9.2.0.4
>>--with-oracle=/u01/app/oracle/product/9.2.0.4 --enable-sigchild
>>
>>that works ok. But when I type make it eventually fails with this
>>error:
>>
>>gcc -shared -o libphp3.so mod_php3.o libmodphp3-so.a
>>-L/usr/local/lib -L/u01/app/oracle/product/9.2.0.4/lib -lclntsh
>>-lpsa -lcore4 -lnlsrtl3 -lclntsh -ldl -lm -lpthread -lnsl -lirc
>>-lgdbm -lpam -lm -ldl -lcrypt -lresolv
>>-Wl,--version-script=/usr/php/php-3.0.18/php.map -Wl,-rpath
>>/u01/app/oracle/product/9.2.0.4/lib
>>/usr/bin/ld: cannot find -lpsa
>>collect2: ld returned 1 exit status
>>apxs:Break: Command failed with rc=1
>>make: *** [libphp3.so] Error 1
>>
>>
>>
>>I don't understand enough about this compilation process to know
>>what lpsa is and why it can't find it. Does anybody know how I can
>>get php3 to work with oracle 9i client libraries?
>>thanks in advance to anyone who can help.
>
>-lpsa means it's trying to link a library named 'psa' - off the top
>of my head I can't say what that is, and a brief googling is proving
>less than useful.
>
>--- end section where I am 'useful', on to questioning rant ---
>
>Can I ask why you're using such an old version of php? If it's for
>a legacy application I can understand, but it seems like you're
>giving up a LOT to stay on php3. In any case - looking at the
>release dates for the two:
>
>http://www.oracle.com/technology/software/products/oracle9i/index.html
> Oracle9i Database Release 2 Enterprise/Standard Edition for Linux
>New (26-Mar-04)
>
>http://www.php.net/releases.php
> 3.0.x (latest)
> # Released: 20 Oct 2000
>
>I'd say you'd be better off trying your legacy app under php4 and
>moving to that. If it's simply a register globals issue, then
>you're no safer in php3 than you would be in php4 with it turned on,
>so that's not a reason to stay back.
>
>good luck determining what psa is, I have to run to a meeting but I
>may try looking again later.
>
>cheers,
>--
>- Martin Norland, Sys Admin / Database / Web Developer,
>International Outreach x3257
>The opinion(s) contained within this email do not necessarily
>represent those of St. Jude Children's Research Hospital.
>
>--
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php