This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* $ gcc -Wall -shared -fPIC -o patch_inotify_init1.so patch_inotify_init1.c | |
* | |
* LD_PRELOAD=patch_inotify_init1.so java ... | |
* | |
* [11.27.15 12:43:37.040 ERROR main .service.backup.BackupController] Exception setting up BackupController! , java.lang.UnsatisfiedLinkError: Error looking up function 'inotify_init1': /usr/local/crashplan/jre/bin/java: undefined symbol: inotify_init1 | |
* STACKTRACE:: java.lang.UnsatisfiedLinkError: Error looking up function 'inotify_init1': /usr/local/crashplan/jre/bin/java: undefined symbol: inotify_init1 | |
* at com.sun.jna.Function.<init>(Function.java:208) | |
* at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:536) | |
* at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:513) |