Re: php3 and oracle9i client libraries doesn't compile..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi Chris,

Your sugesstion worked at least until the next flag lcore4, I changed the makefile to lcore9 then the next flag failed lnlsrtl13 could not be found. I looked in the oracel lib directory but found nothing resembling that name. any ideas?

Here is a list of that directory. By the way its oracel 9.2.0.4 installed on redhat enterprise server.
Thanks for your help.


neil

activation.jar libgslssf9.a libodmd9.so libvpxoafnd.so
AgentEmdDiscover.jar libgx9.a libolapapi9.so libvpxos.so
classgen.jar libheteroxa9_g.so liboraawt.so libvsn9.a
clntsh.map libheteroxa9.so liboraioser.so libVxxxStackTrace.so
clntst_1.lis libirc.a liboraolap9.a libwtc9.a
clntst_2.lis libisqlplus.a libordim9.a libwtc9.so
clntst.lis libjmisc.so libordim9.so libwtcserver9.a
facility.lis libjox9.so libordimt9.a libwwg9.a
http_client.jar libldapclnt9.a libordsdo9.a libwwjcache.so
jdev-rt.zip libldapjclnt9.a libOsUtils.so libxdb.so
jsse.jar libldapjclnt9.so libowm2.so libxml9.a
lclasses11.zip libmapdummy.so libplc9.a libxmlg9.a
lclasses12.zip libmgwagent.so libplp9.a libxsd9.a
ldflags libmm.a libpls9.a libzx9.a
ldflagsO libn9.a libpsa9.a mail.jar
libagent9.a libnbeq9.a libqsmashr.so naect.o
libagtsh.so libncrypt9.a libserver9.a naedhs.o
libagtsh.so.1.0 libnhost9.a libsgsl_s9.a naeet.o
libamd.so libnid.a libskgxn9.so nautab.o
libclient9.a libnjni9.so libskgxns.so nigcon.o
libclntsh.so libnjssl9.so libskgxp9.a nigtab.o
libclntsh.so.9.0 libnk59.so libskgxp9.so nnfgt.o
libclntst9.a libnk59.so0 libskgxpd.a ntcontab.o
libcommon9.a libnl9.a libskgxpd.so oraclexsql.jar
libcore9.a libnldap9.a libskgxpu.a osntabst.o
libcorejava.so libnls9.a libskgxpu.so s0main.o
libcprts.so libnoname9.a libslax9.a scorept.o
libcprts.so.3 libnrad9.so libsnls9.a servlet.jar
libctx9.a libnrad9.so0 libsql9.a sscoreed.o
libctxc9.a libnro9.a libsqlplus.a stubs
libctxs9.a libnsgr9.a libtrace9.a sysliblist
libctxx9.so libnsslb9.a libtracefe9.a transx.zip
libcxa.so libntcp9.a libtracepls9.a vbjapp.jar
libcxa.so.3 libntcps9.a libtracepls9.so vbjorb.jar
libdm9.a libntns9.a libtracept9.a vbjtools.jar
libgeneric9.a libnus9.a libunls9.a xmlcomp2.jar
libgslavl9.a libnzjs9.a libunwind.so xmlcomp.jar
libgslber_s9.a libocci9.a libunwind.so.3 xmlmesg.jar
libgsldb9.a libocci.so libVdbJdbcExt.so xmlparserv2.jar
libgslec9.a libocci.so.9.0 libvdc.so xmlplsql.jar
libgslmt9.a libocijdbc9_g.so libvdg.so xschema.jar
libgslr9.a libocijdbc9.so libvppdc.so xsqlserializers.jar
libgslsg9.a libocijdbcst9.a libvpxdba.so xsu111.jar
libgslssb9.a libodm9.so libvpxeap.so xsu12.jar



>From: Christopher Jones <christopher.jones@xxxxxxxxxx>
>To: neil smith <neil989@xxxxxxxxxxx>
>CC: php-db@xxxxxxxxxxxxx
>Subject: Re: php3 and oracle9i client libraries doesn't compile..
>Date: Fri, 29 Apr 2005 16:49:27 +1000
>
>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
>


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux