🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.linux
Article #29

Re: Oracle 8.1.6 and RH7.0 and JBuilder4

#29
From: Josh Fletcher (Borland)
Date: Sat, 20 Jan 2001 00:31
52 lines
2949 bytes
Oh, you're right Joi, I forgot about that!  Jeff, as an alternative, you
can modify the launch script to NOT do this.  You need to look in
"cfglib.sh" I believe.

-Josh

"Joi Ellis [TeamB]" wrote:
> 
> In borland.public.jbuilder.linux Jeff Warner <jeff@emazing.com> wrote:
> >     Added that to the project, now I get:
> 
> > UnsatisfiedLinkError /u01/app/oracle/product/8.1.6/lib/libocijdbc8.so
> > libclntsh.so.8.0: cannot open shared object file: No such file or directory
> 
> >     Both files (libocijdbc8.s0 and libclntsh.so.8.0) are in the lib
> > directory.  Not sure what to do now, this stuff works with the
> > LD_LIBRARY_PATH set in bash.
> 
> Jbuilder's launch script ERASES LD_LIBRARY_PATH.  A major Grrrr in my
> opinion!
> 
> There are several things you do try to work around this.
> 
>   a) put the path libclntsh.so.8.0 and libocijdbc8.so into your system's
>      default library path.  That way, you won't have to specify it at all.
>      see /etc/ld.so.conf and 'man ldconfig'.  However, this may cause other
>      problems if you should install additional Oracle releases on that box,
>      or you have a streak of security-nazi in you and don't want everyone
>      to have access to those libs.
> 
>   b) modify your project(s) properties to put the following in the
>      JVM parameters:
> 
>        -Djava.library.path=path/to/libocijdbc8.so:path/to/libclntsh.so.8.0
> 
> --
> Joi Ellis (TeamB)
> No direct email, please.
> For best results, post on news server newsgroups.borland.com!

-- 
Josh Fletcher
JBuilder Developer Support

Mail sent to me from the newsgroups won't bounce but will be 
ignored.  Please confine your posts to the newsgroups.

Developer Support:
http://www.borland.com/devsupport/

Disclaimer:
http://www.borland.com/devsupport/disclaim.html
Technical Details
Message-ID: <3A68DC64.E5A7F558@borland.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!bignews.mediaways.net!newsfeed00.sul.t-online.de!t-online.de!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!bornews.borland.com!dnews!10.143.12.180
References: <3a676605$1_2@dnews> <3A67666B.A1E1CAA9@borland.com> <3a685b23$1_1@dnews> <94aknm$6eh8@bornews.inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 107590,4fb89cd56a7c58ce
X-Google-Attributes: gid107590,public
X-Google-Thread: 1073da,4fb89cd56a7c58ce
X-Google-Attributes: gid1073da,public
X-Google-ArrivalTime: 2001-01-19 16:40:45 PST
Message-ID: <3A68DC64.E5A7F558@borland.com>
Date: Fri, 19 Jan 2001 16:31:32 -0800
From: "Josh Fletcher (Borland)" <jfletcher@borland.com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.linux,borland.public.jbuilder.database
Subject: Re: Oracle 8.1.6 and RH7.0 and JBuilder4
References: <3a676605$1_2@dnews> <3A67666B.A1E1CAA9@borland.com> <3a685b23$1_1@dnews> <94aknm$6eh8@bornews.inprise.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 10.143.12.180
X-Trace: 19 Jan 2001 16:31:33 -0800, 10.143.12.180
Lines: 52
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!bignews.mediaways.net!newsfeed00.sul.t-online.de!t-online.de!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!bornews.borland.com!dnews!10.143.12.180