Languages

Menu
Sites
Language
Failed to create Emulator(test)

Sorry for my english.

I use linux(OpenSuse 12.3) and install Tizen SDK 2.2, but I can't create new device in emulator-manager and don't have default device  as it is written in manual.
When i tried create new device:

Failed to create Emulator(test)

Error while running 'qemu-img'. Exit value : 127
You can get more information in log file (/home/*****/tizen-sdk-data/emulator-vms/vms/emulator-manager)

emulator-manager.log:

[2013.10.23 16:37:18][WARNING][QemuImgProc$1.run] Failed check base image...(from qemu-img)
/home/*****/tizen-sdk/tools/emulator/bin/qemu-img: error while loading shared libraries: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory
[2013.10.23 16:37:18][WARNING][QemuImgProc.RunningForCheckImg] Error while running 'qemu-img'. Exit value : 127
[2013.10.23 16:37:18][WARNING][Creator.createInternal] Failed to create the VM: Error while running 'qemu-img'. Exit value : 127
You can get more information in log file (/home/*****/tizen-sdk-data/emulator-vms/vms/emulator-manager)
[2013.10.23 16:37:18][WARNING][VMsMainView.createEmualtor] Failed to create Emulator (test)
Error while running 'qemu-img'. Exit value : 127
You can get more information in log file (/home/*****/tizen-sdk-data/emulator-vms/vms/emulator-manager)

I tried:

ln -s libcurl-gnutls.so.4 libcurl.so.4.3

but got:

/home/*****/tizen-sdk/tools/emulator/bin/qemu-img: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /home/*****/tizen-sdk/tools/emulator/bin/qemu-img)

Who is faced with a similar problem or know how to solve? Please write. ty
 

Responses

11 Replies
Raghavendra Reddy Shiva

Try doing this,

sudo apt-get install libcurl3

And assuming you already installed the below packages as mentioned in the prerequisites for linux.

$ sudo apt-get install procps gettext libdbus-1-3 libcurl3 expect grep zip make qemu-user-static libwebkitgtk-1.0-0 libudev-dev libsdl1.2debian libgnome2-0
Anton Badovsky

Thank you.

But I use OpenSuse and I don't have libcurl3 but have libcurl4 on my dictributive official repo. This package(libcurl4) hasn't library libcurl-gnutls.so.4 which need for qemu-img from Tizen SDK.

But I was still able to run the emulator. For this I do:

cd /home/*****/tizen-sdk/tools/emulator/bin

rn qemu-img qemu-img-old

ln -s /usr/bin/qemu-img   /home/*****/tizen-sdk/tools/emulator/bin/qemu-img

It's not a very elegant solution but it works (for now).

 

akshma gandotra

When I am creating a new Emulator, I am getting the message :

format of base image is not available.

Earlier I had updated the sdk, after that I am getting this essage

Anton Badovsky

What operating system are you using

akshma gandotra

I am working on Ubuntu 11.0

Anton Badovsky

Ubuntu 11.0* is not supported by the company Canonical now.

Мaybe you are out of date depending on the libraries.

akshma gandotra

Its Ubuntu 12.04.3 LTS.

 

Anton Badovsky

Write what is written in the file: .../tizen-sdk-data/emulator-vms/vms/emulator-manager.log

akshma gandotra

[2013.10.29 16:26:7][INFO][EMLogger.initLogger] 
=== Initial Information ===========
sdk.info file path: /home/egguser/tizen-sdk/tools/emulator/bin/../../../sdk.info
TIZEN_SDK_INSTALLED_PATH: /home/egguser/tizen-sdk
TIZEN_SDK_DATA_PATH: /home/egguser/tizen-sdk-data
Current path: /home/egguser/tizen-sdk/tools/emulator/bin
Tizen sdk path: /home/egguser/tizen-sdk
Tizen sdk data path: /home/egguser/tizen-sdk-data
Workspace path: /home/egguser/tizen-sdk-data/emulator-vms
Use original MAC = D0:27:88:DA:88:97

[2013.10.29 16:26:7][INFO][About.printSystemInformation] System Information
JAVA HOME: /usr/lib/jvm/jre1.7.0/jre
JAVA VENDOR: Oracle Corporation
JAVA VERSION: 1.7.0_21
OS ARCH: i386
OS NAME: Linux
OS VERSION: 3.2.0-55-generic-pae
SWT PLATFROM: gtk
SWT VERSION: 3738
[2013.10.29 16:26:7][INFO][About.printSystemInformation] EmulatorManager Information
Version      : 2.2.0
Build time   : 20130711-1608 (GMT)
Git version  : 1936e98
Workspace path : /home/egguser/tizen-sdk-data/emulator-vms
[2013.10.29 16:26:7][INFO][CheckVirtualization$VirtualizationCheckWork.run] Support HW virtualization: false
[2013.10.29 16:26:7][INFO][CheckVirtualization$GPUCheckWork.run] Support GPU: true
[2013.10.29 16:26:7][INFO][EmulatorManager.main] Start Emulator Manager!!
[2013.10.29 16:26:10][WARNING][SkinList.makeSkinList] Failed adding Skin..
Skin Path: /home/egguser/tizen-sdk/tools/emulator/skins/emul-480x800
Error: info.ini file does not exist.
[2013.10.29 16:26:10][WARNING][SkinList.makeSkinList] Failed adding Skin..
Skin Path: /home/egguser/tizen-sdk/tools/emulator/skins/emul-720x1280
Error: info.ini file does not exist.
[2013.10.29 16:26:10][WARNING][SkinList.makeSkinList] Failed adding Skin..
Skin Path: /home/egguser/tizen-sdk/tools/emulator/skins/emul-general
Error: info.ini file does not exist.
[2013.10.29 16:26:17][WARNING][Creator.createInternal] Failed to create the VM: Base image is child image of other base image.
This image is not using as base image.

[2013.10.29 16:26:17][WARNING][VMsMainView.createEmualtor] Failed to create Emulator (y) 
Base image is child image of other base image.
This image is not using as base image.

Anton Badovsky

Check whether you have an image file: /tizen-sdk/platforms/tizen2.2/emulator-images/default/x86-standard/ emulimg-2.2.x86

If it exists, try to create emulator via the tab "Custom" and select the that image as the "base image"

Also try to download the installation image and get a base image from it (with file "info.ini") ( tizen-sdk-image-2.2.0-ubuntu32.zip->emulator-image-

2.2-x86....zip->data/platforms/tizen2.2/emulator-images/default/x86-standard).

akshma gandotra

Thanks Anton, Now I am able to create emulator.

But it failed to launch and gave the following error:

Failed to launch

Cannot run program "../tizen-sdk/tools/emulator/bin/emulator-x86/" (in directory "../tizen-sdk/tools/emulator/bin"): error=2, No such file or directory