Skip to content

phpstorm linux - java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-7-openjdk/jre/lib/amd64/ cannot open shared object file: No such file or directory

Just got the following exception thrown while i updated/installed phpstorm on a fresh installed arch linux.

java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-7-openjdk/jre/lib/amd64/ cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(
at java.lang.ClassLoader.loadLibrary0(
at java.lang.ClassLoader.loadLibrary(
at java.lang.Runtime.loadLibrary0(
at java.lang.System.loadLibrary(
at Method)
at java.awt.SplashScreen.getSplashScreen(
at com.intellij.idea.IdeaApplication$IdeStarter.a(
at com.intellij.idea.IdeaApplication$IdeStarter.a(
at com.intellij.idea.IdeaApplication$IdeStarter.access$000(
at com.intellij.idea.IdeaApplication.(
at com.intellij.idea.IdeaUltimateApplication.(
at com.intellij.idea.MainImpl$1$1.proceed(
at com.intellij.ide.a.f.ab$$
at java.awt.event.InvocationEvent.dispatch(
at java.awt.EventQueue.dispatchEventImpl(
at java.awt.EventQueue.access$200(
at java.awt.EventQueue$
at java.awt.EventQueue$
at Method)
at java.awt.EventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForFilters(
at java.awt.EventDispatchThread.pumpEventsForFilter(
at java.awt.EventDispatchThread.pumpEventsForHierarchy(
at java.awt.EventDispatchThread.pumpEvents(
at java.awt.EventDispatchThread.pumpEvents(

First idea, "well something went wrong" (because i simple rsynced my settings from another pc). Later it turned out something else was missing. A simple "pacman -S giflib" and everything was running fine afterwards.
so giflib was missing.
What is "giflib"?
giflib is a library for rendering and generating GIF image files.


RaspberryPi And Hardware Video Playback

Sadly but true, the local hamburg public transport stops "transporting" at half past one on weekdays, so i decided to watch the Fnord News Show at home.

Nothing special so far but there is this tiny raspberrypi near my full hd screen. I decided boot up the pi, start notion and wanted to watch the stream "on big screen".
Well, chromium was more a slideshow, mplayer was working but only in a slide show or with tiny video size (by the way, the load was way to high for a single core machine). A quick search on the web and i found thread. This thread links to a page called Hardware-accelerated video playback on the Raspberry Pi. To keep it short, mplayer isn't shipped with a hardware support, so simple install omxplayer, open your stream and you get full hd and hardware decoded video playback.

30c3 - alternative web address

Since is a little bit overcrowded, the irc channel just provided an alternative called
Pure benefit, it is stripped down to the essentials meaning "schedule plan" and link to the videos. There are also videos on youtube so join the congress mentaliy :-).

There is also a simple page with links available by 30c3 links at hackerspace prague. If you want to see the videos, simple use the twitter-c3streaming page and click on the most working source.

Zend Framework 2 - Use Own View Helpers In A Controller

Assuming you had created your view helper called "MyViewHelper", placed in in "Application\src\Application\View\Helper" and added it as "invokable" in your "module.config.php" (section "view_helpers" => "invokables").

After adding it to your "module.config.php", you can use it in your templates and everything is working as expected.
But what happens when you need that special view helper in your controller?

First idea would be to code something like the following lines in your controller.


To bad, this won't work. Do you want to debug it? just add the following line at the beginning of "AbstractPluginManager::get()" and search for your "MyViewHelper" call.
echo var_export(array('name'=>$name, 'hasName' => $this->has($name), 'autoloadAddInvokableClass' => $this->autoAddInvokableClass, 'class_exists'=>class_exists($name)), true);

"class_exists" will return a false since your alias is not available at this point. How to solve this problem? Simple adapt your view helper call the following way.