java.lang.UnsatisfiedLinkError: Unable to load library 'Advapi32': ld.so.1: java: fatal: libAdvapi32.so: open failed: No such file or directory

Jenkins JIRA | hyau | 7 years ago
  1. 0

    On windows systems I am seeing this error when using cygwin on Windows. Allocating TCP port 8080 Allocating TCP port 8181 Allocating TCP port 4848 TCP port allocation complete FATAL: Unable to load library 'Advapi32': ld.so.1: java: fatal: libAdvapi32.so: open failed: No such file or directory java.lang.UnsatisfiedLinkError: Unable to load library 'Advapi32': ld.so.1: java: fatal: libAdvapi32.so: open failed: No such file or directory at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:145) at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:188) at com.sun.jna.Library$Handler.<init>(Library.java:123) at com.sun.jna.Native.loadLibrary(Native.java:255) at hudson.util.jna.Advapi32.<clinit>(Advapi32.java:31) at hudson.util.jna.RegistryKey.open(RegistryKey.java:211) at hudson.util.jna.RegistryKey.openReadonly(RegistryKey.java:206) at hudson.plugins.cygpath.CygpathLauncherDecorator$1.getCygwinRoot(CygpathLauncherDecorator.java:82) at hudson.plugins.cygpath.CygpathLauncherDecorator$1.cygpath(CygpathLauncherDecorator.java:97) at hudson.plugins.cygpath.CygpathLauncherDecorator$1.launch(CygpathLauncherDecorator.java:63) at hudson.Launcher$ProcStarter.start(Launcher.java:268) at hudson.Launcher$ProcStarter.join(Launcher.java:275) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:83) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:480) at hudson.model.Build$RunnerImpl.build(Build.java:158) at hudson.model.Build$RunnerImpl.doRun(Build.java:98) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:354) at hudson.model.Run.run(Run.java:1106) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:122)

    Jenkins JIRA | 7 years ago | hyau
    java.lang.UnsatisfiedLinkError: Unable to load library 'Advapi32': ld.so.1: java: fatal: libAdvapi32.so: open failed: No such file or directory
  2. 0

    RE: Eclipse compiling error using java wrapper

    emotiv.com | 8 months ago
    java.lang.UnsatisfiedLinkError: Unable to load library 'edk': The specified module could not be found.
  3. 0

    UnsatisfiedLinkError: Add exception message with cause hint

    GitHub | 2 years ago | 4F2E4A2E
    java.lang.UnsatisfiedLinkError: Das angegebene Modul wurde nicht gefunden.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [OSX] Unable to create screen capture

    GitHub | 2 years ago | pladzilla
    java.lang.RuntimeException: Unable to create screen capture for unity.Blizzard Entertainment.Hearthstone due to exception
  6. 0

    Build Process for eclipse

    GitHub | 3 years ago | edmethods
    java.lang.UnsatisfiedLinkError: Unable to load library 'gsdll32': Native library (win32-x86-64/gsdll32.dll) not found in resource path ([file:/C:/Users/edlong/workspace/Hearthstats/bin/, file:/C:/workspace/git/HearthStats.net-Uploader/lib/ghost4j-0.3.1.jar, file:/C:/workspace/git/HearthStats.net-Uploader/lib/ini4j-0.5.2.jar, file:/C:/workspace/git/HearthStats.net-Uploader/lib/jai_imageio.jar, file:/C:/workspace/git/HearthStats.net-Uploader/lib/javaocr-core-1.0.jar, file:/C:/workspace/git/HearthStats.net-Uploader/lib/javaocr-plugin-awt-1.0.jar, file:/C:/workspace/git/HearthStats.net-Uploader/lib/javaocr-plugin-cluster-1.0.jar, file:/C:/workspace/git/HearthStats.net-Uploader/lib/javaocr-plugin-fir-1.0.jar, file:/C:/workspace/git/HearthStats.net-Uploader/lib/javaocr-plugin-moment-1.0.jar, file:/C:/workspace/git/HearthStats.net-Uploader/lib/javaocr-plugin-morphology-1.0.jar, file:/C:/workspace/git/HearthStats.net-Uploader/lib/JGoogleAnalytics_0.4.jar, file:/C:/workspace/git/HearthStats.net-Uploader/lib/jna.jar, file:/C:/workspace/git/HearthStats.net-Uploader/lib/jna-4.0.0.jar, file:/C:/workspace/git/HearthStats.net-Uploader/lib/jna-platform-4.0.0.jar, file:/C:/workspace/git/HearthStats.net-Uploader/lib/json-simple-1.1.1.jar, file:/C:/workspace/git/HearthStats.net-Uploader/lib/junit-4.10.jar])

  1. rohan 3 times, last 6 months ago
24 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsatisfiedLinkError

    Unable to load library 'Advapi32': ld.so.1: java: fatal: libAdvapi32.so: open failed: No such file or directory

    at com.sun.jna.NativeLibrary.loadLibrary()
  2. Java Native Access
    Native.loadLibrary
    1. com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:145)
    2. com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:188)
    3. com.sun.jna.Library$Handler.<init>(Library.java:123)
    4. com.sun.jna.Native.loadLibrary(Native.java:255)
    4 frames
  3. hudson.util.jna
    RegistryKey.openReadonly
    1. hudson.util.jna.Advapi32.<clinit>(Advapi32.java:31)
    2. hudson.util.jna.RegistryKey.open(RegistryKey.java:211)
    3. hudson.util.jna.RegistryKey.openReadonly(RegistryKey.java:206)
    3 frames