Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 313122

Summary: Could not load library: liblocalfile_1_0_0.so on rhel4 x86_64
Product: [Eclipse Project] Platform Reporter: James Blackburn <jamesblackburn+eclipse>
Component: ResourcesAssignee: Platform-Resources-Inbox <platform-resources-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:

Description James Blackburn CLA 2010-05-17 09:07:12 EDT
Just moved product up to RC1 and got this in the error log at startup:

Could not load library: liblocalfile_1_0_0.so.  This library provides platform-specific optimizations for certain file system operations.  This library is not present on all platforms, so this may not be an error.  The resources plug-in will safely fall back to using java.io.File functionality.

java.lang.UnsatisfiedLinkError: no localfile_1_0_0 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1734)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at org.eclipse.core.internal.filesystem.local.LocalFileNatives.<clinit>(LocalFileNatives.java:32)
at org.eclipse.core.internal.filesystem.local.LocalFile.fetchInfo(LocalFile.java:143)
at org.eclipse.core.filesystem.provider.FileStore.fetchInfo(FileStore.java:277)
...


I know in CDT we had issues where x86_64 natives were built on newer linux systems and couldn't be loaded on rhel4. Perhaps this .so has been rebuilt recently?
Comment 1 John Arthorne CLA 2010-05-17 09:22:05 EDT
RHEL x86_64 is one of our reference platforms for 3.6, so this should be working. Pawel/Szymon have you tried this platform lately?
Comment 2 James Blackburn CLA 2010-05-17 09:23:45 EDT
I just had a quick look in cvs it seems that liblocalfile was removed and replaced by libunixfile. Perhaps I've got a corrupt configuration, still digging...
Comment 3 James Blackburn CLA 2010-05-17 09:28:24 EDT
Having restarted with -clean and the error hasn't re-appeared. I'm willing to put this down to a corrupt config.