-
1. Re: Trying to install libaio
clebert.suconic May 22, 2009 12:25 PM (in response to timfox)You also need to have ./trunk/native/bin on LD_LIBRARY_PATH. We should also document this.
export LD_LIBRARY_PATH=./path-to-trunk/native/bin -
2. Re: Trying to install libaio
timfox May 22, 2009 2:01 PM (in response to timfox)Yes, please document it. Otherwise users won't be able to use AIO.
-
3. Re: Trying to install libaio
timfox May 22, 2009 2:10 PM (in response to timfox)Also you need to add it to the quick start guide.
-
4. Re: Trying to install libaio
timfox May 22, 2009 2:40 PM (in response to timfox)I tried setting LD_LIBRARY_PATH and it makes no difference, still get
[java] WARNING: AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
-
5. Re: Trying to install libaio
timfox May 22, 2009 2:44 PM (in response to timfox)AIO is already installed:
[xyz@blahblah ~]# sudo yum install libaio Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Parsing package install arguments Package libaio-0.3.106-3.2.x86_64 already installed and latest version Package libaio-0.3.106-3.2.i386 already installed and latest version Nothing to do
-
6. Re: Trying to install libaio
clebert.suconic May 22, 2009 3:52 PM (in response to timfox)Is that a different CPU or something? (don' t know.. like Itanium... maybe we need to recompile it there?)
-
7. Re: Trying to install libaio
timfox May 22, 2009 5:51 PM (in response to timfox)AFAIK there are 2 main flavours of 64 bit x64 and itanium
-
8. Re: Trying to install libaio
timfox May 22, 2009 5:57 PM (in response to timfox)This needs more thought. Before we release we need to make sure we have a .so compiled for each of the architectures that the Linux 2.6 is compiled for, and document them unambiguously.
-
9. Re: Trying to install libaio
clebert.suconic May 23, 2009 12:57 AM (in response to timfox)We just need to compile them and add them to the binaries. I will do it first thing next week.
-
10. Re: Trying to install libaio
timfox May 23, 2009 2:36 AM (in response to timfox)Cool.
We should have both AMD and Intel boxes in the qa lab somewhere, so should be ok.
If people want to compile for other architectures they can build from source. :) -
11. Re: Trying to install libaio
timfox May 23, 2009 2:56 AM (in response to timfox)Hmm, we should also probably build for IBM POWER chips too, these are popular in the data centre, i beleive.
we should also give instructions how to build from source in the user guide -
12. Re: Trying to install libaio
timfox May 23, 2009 5:00 AM (in response to timfox)We should make it explicit in the docs what architectures we support.
-
13. Re: Trying to install libaio
timfox May 26, 2009 5:09 AM (in response to timfox)I also think LD_LIBRARY_PATH should be set in the run script. The user shouldn't have to do this.
It also needs to be set in the examples, or they'll never be using AIO. -
14. Re: Trying to install libaio
timfox May 26, 2009 7:04 AM (in response to timfox)I've added a small section on LD_LIBRARY_PATH to the docs, and I added it to run.sh.
Clebert - can you check this is correct?