.so library files are dynamic library files and .a library files are static library files. If you want to pack a library inside your exe, you will need to use the static ‘.a’ files. In netbeans you can add them by going to your project’s properties. Go to linker, and select ‘Add library’ and select your .a file. (Ex: libpcap.a) Now when you build, Netbeans will pack the library into your exe and the header includes for the library will also be found. (Ex: #include <pcap.h> ) This is very nice when you don’t want your users to have to install a library to use your program. The downside is that your exe will be a bigger depending on the library’s size.
NetBeans was supposed to come out with a 6.5.2 patch back in January 2009 to fix the problem that you can’t add a JBoss server because the Domains page is empty. I tried to read through the NetBeans code to find a workaround by creating fake jar files and things in my domains folders, but I still couldn’t get it to recognize my domains. I had the required files for version 5, but for version 4 I was missing some which I added to no avail. I’m still waiting on that patch….