java.lang.UnsatisfiedLinkError

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.


rafaelrafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Sorry for my English. When launch slave agent, in log printed {noformat} java.lang.UnsatisfiedLinkError: /usr/lib/purple-2/libskype.so: /usr/lib/purple-2/libskype.so: undefined symbol: g_free at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) at com.skype.connector.ConnectorUtils.loadLibrary(ConnectorUtils.java:318) at com.skype.connector.linux.SkypeFramework.init(SkypeFramework.java:42) at com.skype.connector.linux.LinuxConnector.isRunning(LinuxConnector.java:61) at com.skype.SkypeImpl.isRunning(SkypeImpl.java:172) at hudson.plugins.skype.im.transport.callables.SkypeSetupCallable.call(SkypeSetupCallable.java:47) at hudson.plugins.skype.im.transport.callables.SkypeSetupCallable.call(SkypeSetupCallable.java:28) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:325) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat}
    via by Strelchenko Vitaliy,
  • Sorry for my English. When launch slave agent, in log printed {noformat} java.lang.UnsatisfiedLinkError: /usr/lib/purple-2/libskype.so: /usr/lib/purple-2/libskype.so: undefined symbol: g_free at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) at com.skype.connector.ConnectorUtils.loadLibrary(ConnectorUtils.java:318) at com.skype.connector.linux.SkypeFramework.init(SkypeFramework.java:42) at com.skype.connector.linux.LinuxConnector.isRunning(LinuxConnector.java:61) at com.skype.SkypeImpl.isRunning(SkypeImpl.java:172) at hudson.plugins.skype.im.transport.callables.SkypeSetupCallable.call(SkypeSetupCallable.java:47) at hudson.plugins.skype.im.transport.callables.SkypeSetupCallable.call(SkypeSetupCallable.java:28) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:325) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat}
    via by Strelchenko Vitaliy,
  • Hi, This is my first try with skype-notifier. I follow instruction without results. There is the log trace when I launch the node which has skype label: ------------------------------ jenkins.log: ------------------------------ ode came online, retry Feb 22, 2012 8:16:18 PM hudson.slaves.CommandLauncher launch INFO: slave agent launched for Skype Feb 22, 2012 8:16:38 PM hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run INFO: Trying to reconnect createConnection Feb 22, 2012 8:16:38 PM hudson.plugins.skype.im.transport.SkypeIMConnection verifySlave SEVERE: null hudson.plugins.skype.im.transport.SkypeIMException at hudson.plugins.skype.im.transport.callables.SkypeSetupCallable.call(SkypeSetupCallable.java:56) at hudson.plugins.skype.im.transport.callables.SkypeSetupCallable.call(SkypeSetupCallable.java:28) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: com.skype.NotAttachedException at com.skype.Utils.convertToSkypeException(Utils.java:57) at com.skype.SkypeImpl.setDebug(SkypeImpl.java:129) at hudson.plugins.skype.im.transport.callables.SkypeSetupCallable.call(SkypeSetupCallable.java:51) ... 10 more Caused by: com.skype.connector.NotAttachedException at com.skype.connector.Connector.assureAttached(Connector.java:841) at com.skype.connector.Connector.addConnectorListener(Connector.java:886) at com.skype.connector.Connector.setDebug(Connector.java:230) at com.skype.SkypeImpl.setDebug(SkypeImpl.java:127) ... 11 more Feb 22, 2012 8:16:38 PM hudson.plugins.skype.im.transport.SkypeIMConnection connect WARNING: Cannot connect to Skype Feb 22, 2012 8:16:38 PM hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run INFO: Reconnect failed. Next connection attempt in 1 minutes ------------------------------ logs from jenkins gui (Node logs?): ------------------------------ Slave.jar version: 1.419 This is a Unix slave Copied maven-agent.jar Copied maven3-agent.jar Copied maven3-interceptor.jar Copied maven-interceptor.jar Copied maven2.1-interceptor.jar Copied plexus-classworld.jar Copied classworlds.jar Slave successfully connected and online java.lang.UnsatisfiedLinkError: no skype in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1028) at com.skype.connector.ConnectorUtils.loadLibrary(ConnectorUtils.java:318) at com.skype.connector.linux.SkypeFramework.init(SkypeFramework.java:42) at com.skype.connector.linux.LinuxConnector.isRunning(LinuxConnector.java:61) at com.skype.SkypeImpl.isRunning(SkypeImpl.java:172) at hudson.plugins.skype.im.transport.callables.SkypeSetupCallable.call(SkypeSetupCallable.java:47) at hudson.plugins.skype.im.transport.callables.SkypeSetupCallable.call(SkypeSetupCallable.java:28) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Skype is probably not running Skype is probably not running Skype is probably not running Skype is probably not running Skype is probably not running (skype is running with the same user than jenkins) I miss something in the doc(no skype in java.library.path), or it's a problem from me or a major change on skype? Thanks for answers. Regards, -- Erwan Le Gall
    via by Erwan Le Gall,
  • Hi, This is my first try with skype-notifier. I follow instruction without results. There is the log trace when I launch the node which has skype label: ------------------------------ jenkins.log: ------------------------------ ode came online, retry Feb 22, 2012 8:16:18 PM hudson.slaves.CommandLauncher launch INFO: slave agent launched for Skype Feb 22, 2012 8:16:38 PM hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run INFO: Trying to reconnect createConnection Feb 22, 2012 8:16:38 PM hudson.plugins.skype.im.transport.SkypeIMConnection verifySlave SEVERE: null hudson.plugins.skype.im.transport.SkypeIMException at hudson.plugins.skype.im.transport.callables.SkypeSetupCallable.call(SkypeSetupCallable.java:56) at hudson.plugins.skype.im.transport.callables.SkypeSetupCallable.call(SkypeSetupCallable.java:28) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: com.skype.NotAttachedException at com.skype.Utils.convertToSkypeException(Utils.java:57) at com.skype.SkypeImpl.setDebug(SkypeImpl.java:129) at hudson.plugins.skype.im.transport.callables.SkypeSetupCallable.call(SkypeSetupCallable.java:51) ... 10 more Caused by: com.skype.connector.NotAttachedException at com.skype.connector.Connector.assureAttached(Connector.java:841) at com.skype.connector.Connector.addConnectorListener(Connector.java:886) at com.skype.connector.Connector.setDebug(Connector.java:230) at com.skype.SkypeImpl.setDebug(SkypeImpl.java:127) ... 11 more Feb 22, 2012 8:16:38 PM hudson.plugins.skype.im.transport.SkypeIMConnection connect WARNING: Cannot connect to Skype Feb 22, 2012 8:16:38 PM hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run INFO: Reconnect failed. Next connection attempt in 1 minutes ------------------------------ logs from jenkins gui (Node logs?): ------------------------------ Slave.jar version: 1.419 This is a Unix slave Copied maven-agent.jar Copied maven3-agent.jar Copied maven3-interceptor.jar Copied maven-interceptor.jar Copied maven2.1-interceptor.jar Copied plexus-classworld.jar Copied classworlds.jar Slave successfully connected and online java.lang.UnsatisfiedLinkError: no skype in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1028) at com.skype.connector.ConnectorUtils.loadLibrary(ConnectorUtils.java:318) at com.skype.connector.linux.SkypeFramework.init(SkypeFramework.java:42) at com.skype.connector.linux.LinuxConnector.isRunning(LinuxConnector.java:61) at com.skype.SkypeImpl.isRunning(SkypeImpl.java:172) at hudson.plugins.skype.im.transport.callables.SkypeSetupCallable.call(SkypeSetupCallable.java:47) at hudson.plugins.skype.im.transport.callables.SkypeSetupCallable.call(SkypeSetupCallable.java:28) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Skype is probably not running Skype is probably not running Skype is probably not running Skype is probably not running Skype is probably not running (skype is running with the same user than jenkins) I miss something in the doc(no skype in java.library.path), or it's a problem from me or a major change on skype? Thanks for answers. Regards, -- Erwan Le Gall
    via by Erwan Le Gall,
  • Not finding libraries for JRI
    via Stack Overflow by OtagoHarbour
    ,
    • java.lang.UnsatisfiedLinkError: /usr/lib/purple-2/libskype.so: /usr/lib/purple-2/libskype.so: undefined symbol: g_free at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) at com.skype.connector.ConnectorUtils.loadLibrary(ConnectorUtils.java:318) at com.skype.connector.linux.SkypeFramework.init(SkypeFramework.java:42) at com.skype.connector.linux.LinuxConnector.isRunning(LinuxConnector.java:61) at com.skype.SkypeImpl.isRunning(SkypeImpl.java:172) at hudson.plugins.skype.im.transport.callables.SkypeSetupCallable.call(SkypeSetupCallable.java:47) at hudson.plugins.skype.im.transport.callables.SkypeSetupCallable.call(SkypeSetupCallable.java:28) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:325) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor2 times, last one,
    297 more bugmates