Languages

Menu
Sites
Language
[FYI] Tizen SDK 2.2.1 (Nov 9, 2013) - sdb startup problem with libudev

FYI,

Tizen SDK 2.2.1 (Nov 9, 2013) IDE does not start properly on Ubuntu 13.04 (Raring) with the following error messages in <sdk>/tizen-sdk/tools/logs/sdblib-*.log:

09:17:00 E/sdblib: 'sdb start-server' failed -- run manually if necessary

09:17:00 E/sdblib: Cause: /home/user/tizen-sdk/tools/sdb: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

The libudev package is already installed, but creates /lib/i386-linux-gnu/libudev.so.1 only. A workaround:

sudo ln -sf /lib/i386-linux-gnu/libudev.so.1 /lib/i386-linux-gnu/libudev.so.0

I think the previous version of Tizen SDK did not have this problem.

Gary

Responses

13 Replies
Chintan Gandhi

Hi Gary,

Thank you for writing to us. We will check for the issue and get back to you as soon as possible.

Gary V

Also, the same problem occurs under Ubuntu 13.10 (Saucy Salamander) as well - there is no libudev.so.0.

Moreover, Tizen SDK 2.2.1 seems to run into problems under Ubuntu 13.10: 1.) Tizen emulator hangs unresponsive for a few minutes at a time when changing device Settings (new 3.11 Linux kernel memory management?), 2.) <sdk>/tizen-sdk/install-manager/inst-manager.bin complains about missing UI libraries and fails to start.

Please note that this might be due to my specific installation of Ubuntu, as I upgraded from 13.04 (Raring) to 13.10 (Saucy). You might want to give Tizen IDE a Q/A cycle under Saucy.

Gary

Gary V

A small clarification: Tizen SDK 2.2.1 installer can be fixed under Ubuntu 13.10 (Saucy) by uninstalling and re-installing libgnome2-0. For the moment, Eclipse (Tizen IDE) menus are, khm, khm, broken under Saucy. Finally, Tizen emulator keeps freezing frequently, when changing device Settings back and forth, for example Language and keyboard.

Gary

Hendy Irawan

For the Installer & UI issues, see https://developer.tizen.org/forums/sdk-ide/tizen-install-manager-v2.2.71-ubuntu-64-bit-crashes-advanced-dialog-changing-image-media#comment-8783

Chintan Gandhi

Hi Gary,

Try doing this :

$ sudo apt-get install libudev-dev

How sdb is working?

Thanks.

Gary V

Yes, the libudev-dev package is already installed. Ubuntu 13.04 (Raring) Ubuntu package page (http://packages.ubuntu.com/raring/libudev-dev) specifies libudev-dev as dependent on libudev1 (/lib/i386-linux-gnu/libudev.so.1 >> /lib/i386-linux-gnu/libudev.so.1.2.2). The situation is analogous for Ubuntu 13.10 (Sausy). Tizen SDK 2.2.1 seems to be dependent on /lib/i386-linux-gnu/libudev.so.0.

SDB (-e shell) seems to work fine both on Ubuntu 13.04 (Raring) and Ubuntu 13.10 (Sausy).

Gary

Kirill Chuvilin

I copied symlinks "libudev.so.1" to "libudev.so.0" in  "/lib/x86_64-linux-gnu/" and "/lib/i386-linux-gnu/".
It seems that it helped.

Kirill Chuvilin

Or it can be done as symlinks "libudev.so.0" to symlinks "libudev.so.1" :)

Yoonki Park

Yes, As Kirill says it would rather make symbolic link. And I suggest you would better use ubuntu 12 (LTS). Tizen SDK is working on Ubuntu 12.x

https://developer.tizen.org/downloads/sdk/installing-sdk/prerequisites-tizen-sdk

 

Hendy Irawan

Thanks!

Here's the symlink command for 64-bit:

sudo ln -sv /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0

 

Jihed Ben Slama

Same  Probleme  resolved with  this solution  on  Ubuntu  14.04 (64bit) 

Thanks 

David Fuka

The symlink command fixed it for me on Ubuntu 14.04 Trusty Tahr.

 

Hendy Irawan

Reported as https://bugs.tizen.org/jira/browse/TDIST-665