[jitsi-users] Difficulties with registration for a custom renderer


#1

Hello,

I am trying the software "jitsi 2.6-5390" out a bit on my openSUSE system. I wonder about the following error message.


11:13:11.450 SEVERE: [14] org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to register custom Renderer org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with JMF.
java.lang.UnsatisfiedLinkError: /usr/share/jitsi/lib/native/libjnawtrenderer.so: libjawt.so: cannot open shared object file: No such file or directory

How should the mentioned dependencies be resolved here?

Regards,
Markus


#2

Hello Markus,

Normally this file comes with your JRE and you may already have it your system.

     find / -name libjawt.so

In my system the file is located here /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjawt.so.

Also, make sure that your env variables are set correctly. You need this file to be available in LD_LIBRARY_PATH.

     export LD_LIBRARY_PATH="/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/:$LD_LIBRARY_PATH"

Hope this helps,
George

···

On 7 Feb 2015, at 13:23, Markus Elfring wrote:

Hello,

I am trying the software "jitsi 2.6-5390" out a bit on my openSUSE system. I wonder about the following error message.


11:13:11.450 SEVERE: [14] org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to register custom Renderer org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with JMF.
java.lang.UnsatisfiedLinkError: /usr/share/jitsi/lib/native/libjnawtrenderer.so: libjawt.so: cannot open shared object file: No such file or directory

How should the mentioned dependencies be resolved here?

Regards,
Markus

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#3

You need this file to be available in LD_LIBRARY_PATH.

Can the software work also without additional settings in this environment variable?

Should information be sufficient like the following?


11:13:08.904 INFO: [14] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.boot.library.path=/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64
11:13:08.905 INFO: [14] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vm.version=25.40-b23

Regards,
Markus


#4

You need this file to be available in LD_LIBRARY_PATH.

Can the software work also without additional settings in this
environment variable?

No, although it is normally set in the launcher shell script and not globally for the whole system.

Should information be sufficient like the following?

… 11:13:08.904 INFO: [14]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.boot.library.path=/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd

This is the path for the Java libraries, not the native libraries.

64 11:13:08.905 INFO: [14]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.vm.version=25.40-b23 …

Regards,
Markus

Ingo


#5

This is the path for the Java libraries, not the native libraries.

Is the software component "Jitsi configuration service" able to extend
the corresponding system settings appropriately?

Can it become easier to find such a library file?
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libjawt.so

Regards,
Markus


#6

You need this file to be available in LD_LIBRARY_PATH.

Can the software work also without additional settings in this
environment variable?

No, although it is normally set in the launcher shell script and not globally for the whole system.

As Ingo said, no. LD_LIBRARY_PATH sets the dynamic linker path; that generally can't be changed at runtime, since it's usually cached by the dynamic linker.

···

On 7 Feb 2015, at 14:07, Ingo Bauersachs wrote:

Should information be sufficient like the following?

… 11:13:08.904 INFO: [14]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.boot.library.path=/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd

This is the path for the Java libraries, not the native libraries.

64 11:13:08.905 INFO: [14]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.vm.version=25.40-b23 …

Regards,
Markus

Ingo

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users