I also spent some time looking at the System.loadLibrary method provided by the JVM to load libraries (see attached NativeTest.java).
Basically this call will only accept an unqualified library name - 'pam' for example - which it then maps into a versionless 'libpam.so' library name - which does not exist on Ubuntu Natty! I can see anyway to inject a version number alongside the library name.
As I put in my previous comment, I don't know exactly how much of an issue this is i.e. I can't easily tell how many packages rely on version-less library links being present.
Steve
I also spent some time looking at the System.loadLibrary method provided by the JVM to load libraries (see attached NativeTest.java).
Basically this call will only accept an unqualified library name - 'pam' for example - which it then maps into a versionless 'libpam.so' library name - which does not exist on Ubuntu Natty! I can see anyway to inject a version number alongside the library name.
As I put in my previous comment, I don't know exactly how much of an issue this is i.e. I can't easily tell how many packages rely on version-less library links being present.