[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Build broken with new AIO tests

clebert.suconic@jboss.com do-not-reply at jboss.com
Tue May 6 08:50:23 EDT 2008


I have added the .SO under /native/bin. At the moment you have the 64bit version there.

If you have a 32bits OS, you have to run ./bootstrap under native and copy the library there (The Makefile will place it under project/native/src/.libs). The README under native should tell what are the install requirements. (libaio-dev, automake, autoconf, libtool, GCC, G++, lib6-dev).

If you are running those tests inside Eclipse, you could either define java.library.path through the IDE:

 * you need to define -Djava.library.path=${project-root}/native/src/.libs when calling the JVM
  |  * If you are running this test in eclipse you should do:
  |  *   I - Run->Open Run Dialog
  |  *   II - Find the class on the list (you will find it if you already tried running this testcase before)  
  |  *   III - Add -Djava.library.path=<your project place>/native/src/.libs
  | 


Or on the script that starts your IDE you should:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/pathToYourProject/native/bin.

The only automation that could be made is to place the libraries under the SVN. We could try adding a 32bit version and 64bit for a recent kernel, but If that doesn't work the library has to be compiled again.. unfortunately.  (Unfortunately Linux binary redistribution sucks... but I will see what could be improved).


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148817#4148817

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148817



More information about the jboss-dev-forums mailing list