- 
        1. Re: HornetQ Native Libsalesj Oct 21, 2011 5:56 AM (in response to ataylor)It's supported. You should place it in the module's dir - of the module that's gonna load them. I suggest you do a quick peek at the supporting code, to see the exact format you need to follow -- afair, you need to do lib/<process_dir>/your.native.lib 
- 
        2. Re: HornetQ Native Libsataylor Oct 21, 2011 9:03 AM (in response to alesj)I tried lib/x86_64/my.so but it doesnt seem to pick it up, can you point me at the code where this is set up 
- 
        3. Re: HornetQ Native Libsdmlloyd Oct 21, 2011 11:09 AM (in response to ataylor)1 of 1 people found this helpfulFirst thing you have to do is add a resource directory called "lib" to your module.xml. Once you've done that, you have to file your native libs in the proper platform-specific directory. The directory name format is <osname>-<osarch> where <osname> is one of: - linux
- macosx
- win
- os2
- solaris
- mpeix
- hpux
- aix
- os390
- freebsd
- irix
- digitalunix
- osf1
- openvms
 ...and <osarch> is one of: - sparcv9
- sparc
- x86_64
- i686
- ppc64
- ppc
- arm
- parisc
- alpha
- mips
 Then put your .so/.dll/etc files in the appropriate directories and you should be set. 
- 
        4. Re: HornetQ Native Libsataylor Nov 1, 2011 9:41 AM (in response to dmlloyd)First thing you have to do is add a resource directory called "lib" to your module.xml. whats the correct format for this, I cant find an example or the schema? 
- 
        5. Re: HornetQ Native Libsataylor Nov 2, 2011 7:05 AM (in response to ataylor)I have the following config, in the module.xml in modules/org/hornetq/main/ i have the following line added: <resource-root path="lib"/> and i have the native lib under: modules/org/hornetq/main/lib/linux-x86_64/libHornetQAIO64.so however i still get an unsatisfied link error, is this configuration correct? 
- 
        6. Re: HornetQ Native Libsdmlloyd Nov 2, 2011 12:33 PM (in response to ataylor)I have to see the code to see for sure. 
- 
        7. Re: HornetQ Native Libsdmlloyd Nov 2, 2011 3:30 PM (in response to ataylor)After additional testing I've discovered a Modules bug which may affect your results and I've pushed releases in both the 1.0 and 1.1 series. 
- 
        8. Re: HornetQ Native Libsataylor Nov 2, 2011 6:33 PM (in response to dmlloyd)cheers david, i'll take a look tomorrow 
- 
        9. Re: HornetQ Native Libsdmlloyd Dec 13, 2011 12:16 PM (in response to ataylor)Andy Taylor wrote: I have the following config, in the module.xml in modules/org/hornetq/main/ i have the following line added: <resource-root path="lib"/> and i have the native lib under: modules/org/hornetq/main/lib/linux-x86_64/libHornetQAIO64.so however i still get an unsatisfied link error, is this configuration correct? Just want to mention that the resource root is no longer needed as Modules will now automatically look for a lib directory when native libraries are loaded. 
 
     
    