🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Oracle 8.1.6 and RH7.0 and JBuilder4

#24
From: Jeff Warner
Date: Wed, 31 Jan 2001 19:19
64 lines
3282 bytes
    Adding a line to cfglib.sh to include the Oracle lib directory fixed the
problem.  Thanks.

Jeff
"Josh Fletcher (Borland)" <jfletcher@borland.com> wrote in message
news:3A68DC64.E5A7F558@borland.com...
> 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: <3a7864f7_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out.usenetserver.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!216.2.249.246
References: <3a676605$1_2@dnews> <3A67666B.A1E1CAA9@borland.com> <3a685b23$1_1@dnews> <94aknm$6eh8@bornews.inprise.com> <3A68DC64.E5A7F558@borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1073da,4fb89cd56a7c58ce
X-Google-Attributes: gid1073da,public
X-Google-Thread: 107590,4fb89cd56a7c58ce
X-Google-Attributes: gid107590,public
X-Google-ArrivalTime: 2001-01-31 11:19:57 PST
From: "Jeff Warner" <jeff@emazing.com>
Newsgroups: borland.public.jbuilder.linux,borland.public.jbuilder.database
References: <3a676605$1_2@dnews> <3A67666B.A1E1CAA9@borland.com> <3a685b23$1_1@dnews> <94aknm$6eh8@bornews.inprise.com> <3A68DC64.E5A7F558@borland.com>
Subject: Re: Oracle 8.1.6 and RH7.0 and JBuilder4
Date: Wed, 31 Jan 2001 14:19:14 -0500
Lines: 69
Organization: EMAZING
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 216.2.249.246
Message-ID: <3a7864f7_2@dnews>
X-Trace: 31 Jan 2001 11:18:15 -0800, 216.2.249.246
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out.usenetserver.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!216.2.249.246