http://www.sw-soft.com/ru/products/psa/
Why would PHP need PSA? I have no idea (apart from the fact that psa seems to be just another web server(tm) probably based on apache).
Aman
Martin Norland wrote:
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,
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php