Re: LD_LIBRARY_PATH

2008-11-25 Thread Corinna Vinschen
On Nov 25 11:13, John Emmas wrote: > - Original Message - From: "Corinna Vinschen" > Sent: 25 November 2008 10:43 > Subject: Re: LD_LIBRARY_PATH >> >> $PATH is what you want and if you examine /bin resp. /usr/bin, you see >> that Cygwin puts all s

Re: LD_LIBRARY_PATH

2008-11-25 Thread John Emmas
- Original Message - From: "Corinna Vinschen" Sent: 25 November 2008 10:43 Subject: Re: LD_LIBRARY_PATH $PATH is what you want and if you examine /bin resp. /usr/bin, you see that Cygwin puts all shared libs there for the above reason. /lib resp. /usr/lib only contain the s

Re: LD_LIBRARY_PATH

2008-11-25 Thread Corinna Vinschen
On Nov 25 10:21, John Emmas wrote: > When I compile & build for my Linux installation, library files and shared > objects go to /usr/lib/ > > If I then run an executable (from /usr/bin/) it will automatically find the > shared objects because it expects them to be in /usr/lib/. This isn't > happen

Re: LD_LIBRARY_PATH not accessible through java under cygwin for JNI

2003-02-27 Thread Randall R Schulz
Alan, Thanks for that. Actually, I had an ulterior motive in directing Gilles here--I'm just about to embark on my first attempt at JNI programming and I need to evaluate the suitability of using Cygwin and / or MinGW for producing JNI libraries to use with the Sun JVM and any pointers I can g

Re: LD_LIBRARY_PATH not accessible through java under cygwin for JNI

2003-02-27 Thread Alan Thompson
Gilles - The following should work for you under Cygwin: HelloWorld.c: - #include using namespace std; #include "HelloWorld_jni.h" JNIEXPORT void JNICALL Java_HelloWorld_sayHello( JNIEnv *env, jclass c ) { cerr << "Hello World fr

Re: LD_LIBRARY_PATH not accessible through java under cygwin for JNI

2003-02-27 Thread Randall R Schulz
Ronald, At 04:10 2003-02-27, Ronald Landheer-Cieslak wrote: On Thu, 27 Feb 2003, gilles bourgeois wrote: > hi folks, > > I am currently using my JNI so/dll library under solaris, linux and cygwin. > with solaris and linux, no problem, I bind to it using load(..) since the > LD_LIBRARY_PATH is set.

Re: LD_LIBRARY_PATH not accessible through java under cygwin forJNI

2003-02-27 Thread Ronald Landheer-Cieslak
On Thu, 27 Feb 2003, gilles bourgeois wrote: > hi folks, > I am currently using my JNI so/dll library under solaris, linux and cygwin. > with solaris and linux, no problem, I bind to it using load(..) since the > LD_LIBRARY_PATH is set. > BUT, under cygwin/windows, it does not work and I shall tell