🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Oracle 8.1.6 and RH7.0 and JBuilder4

#28
From: Joi Ellis [TeamB]
Date: Sat, 20 Jan 2001 00:05
31 lines
2224 bytes
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!
Technical Details
Message-ID: <94aknm$6eh8@bornews.inprise.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!xfer13.netnews.com!netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail
References: <3a676605$1_2@dnews> <3A67666B.A1E1CAA9@borland.com> <3a685b23$1_1@dnews>

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:09:01 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!xfer13.netnews.com!netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Newsgroups: borland.public.jbuilder.linux,borland.public.jbuilder.database
Subject: Re: Oracle 8.1.6 and RH7.0 and JBuilder4
Date: 20 Jan 2001 00:05:10 GMT
Organization: Another Netscape Collabra Server User
Lines: 32
Message-ID: <94aknm$6eh8@bornews.inprise.com>
References: <3a676605$1_2@dnews> <3A67666B.A1E1CAA9@borland.com> <3a685b23$1_1@dnews>
NNTP-Posting-Host: linux.aravox.com
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-3 (i686))