This forum is no longer active. Please post your questions to our new community site

Forums Liferay

Liferay install failed on Amazon EC2 instance(Ubuntu 10.04, x64 edition)

Subscribe to Liferay install failed on Amazon EC2 instance(Ubuntu 10.04, x64 edition) 4 post(s), 2 voice(s)

 
Avatar yetangye 7 post(s)

Hi, I had a question, please help me.

I set up an instance of amazon EC2,
(the AMI is from http://uec-images.ubuntu.com/releases/lucid/rel…
and try to install the bitnami liferay 6.0.5, but failed
(download from https://bitnami.com/files/stacks/liferay/6.0.5-0…

the error is “error while loading shared
libraries: libncursesw.so.5: cannot open shared object file: No such file or
directory”

but I confirmed that lib libncursesw has installed.

  • Below is my installation’s log *

ubuntu@ip-10-166-207-187:~$ sudo ./bitnami-liferay-6.0.5-0-linux-installer.bin
-————————————————————————————————————-
Welcome to the BitNami Liferay Stack Setup Wizard.


Installation folder

Please, choose a folder to install BitNami Liferay Stack

Select a folder [/opt/liferay-6.0.5-0]:


MySQL Information

Please enter your MySQL database information:

MySQL Server port 3306: 8401

Warning: It seems you do not have enough permissions to bind to the port or the
port is already taken by another application. Please select another one.
Press [Enter] to continue :
-————————————————————————————————————-
MySQL Information

Please enter your MySQL database information:

MySQL Server port 8401: 8402


MySQL Credentials

Please enter your database root user password

MySQL Server root password :
Re-enter password :
-————————————————————————————————————-
Setup is now ready to begin installing BitNami Liferay Stack on your computer.

Do you want to continue? [Y/n]: Y


Please wait while Setup installs BitNami Liferay Stack on your computer.

Installing 0% ______________ 50% ______________ 100% ########################################

Error: Error running /opt/liferay-6.0.5-0/mysql/scripts/myscript.sh
/opt/liferay-6.0.5-0/mysql **** : bin/mysql.bin: error while loading shared
libraries: libncursesw.so.5: cannot open shared object file: No such file or
directory
bin/mysql.bin: error while loading shared libraries: libncursesw.so.5: cannot
open shared object file: No such file or directory
bin/mysql.bin: error while loading shared libraries: libncursesw.so.5: cannot
open shared object file: No such file or directory
Press [Enter] to continue :

  • Installation log finished *
  • Below is the info that libncursesw has already installed *

ubuntu@ip-10-166-207-187:~$ sudo apt-get install libncurses5
Reading package lists… Done
Building dependency tree
Reading state information… Done
libncurses5 is already the newest version.
The following packages were automatically installed and are no longer required:
libwpd8c2a lp-solve librdf0 libwps-0.1-1 librasqal2 libcolamd2.7.1
libneon27-gnutls xfonts-mathml libraptor1 libgraphite3 libwpg-0.1-1
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

ubuntu@ip-10-166-207-187:~$ sudo apt-get install libncursesw5
Reading package lists… Done
Building dependency tree
Reading state information… Done
libncursesw5 is already the newest version.
The following packages were automatically installed and are no longer required:
libwpd8c2a lp-solve librdf0 libwps-0.1-1 librasqal2 libcolamd2.7.1
libneon27-gnutls xfonts-mathml libraptor1 libgraphite3 libwpg-0.1-1
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

ubuntu@ip-10-166-207-187:~$ whereis libncursesw.so.5
libncursesw.so: /lib/libncursesw.so.5 /lib64/libncursesw.so.5

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

Try to install the 32 bits version of libncursesw in the machine: “$ sudo apt-get install lib32ncurses5”

 
Avatar yetangye 7 post(s)

Thank U very much, I have resolved my problem after i executed the command below:

sudo apt-get install lib32ncurses5 lib32ncursesw5

Thank U!

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

I’m glad to hear that. We will fix this issue for next releases so it is not necessary to install any dependency before installing the Liferay Stack.

Forums Liferay