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 and

Does your link work if the Makefile is changed to -lpsa9 or -lpsa8?




>From: Martin Norland <[EMAIL PROTECTED]>
>Subject: Re: [PHP-DB] 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/
>>--with-oracle=/u01/app/oracle/product/ --enable-sigchild
>>that works ok. But when I type make it eventually fails with this
>>gcc -shared -o mod_php3.o libmodphp3-so.a
>>-L/usr/local/lib -L/u01/app/oracle/product/ -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/ -Wl,-rpath
>>/usr/bin/ld: cannot find -lpsa
>>collect2: ld returned 1 exit status
>>apxs:Break: Command failed with rc=1
>>make: *** [] 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:
> Oracle9i Database Release 2 Enterprise/Standard Edition for Linux
>New (26-Mar-04)
> 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.
>- 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 (
>To unsubscribe, visit:

-- PHP Database Mailing List ( To unsubscribe, visit:

Reply via email to