LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-13-2010, 10:16 PM   #1
pliqui
Member
 
Registered: Feb 2007
Location: Caracas, Venezuela
Distribution: Debian x64
Posts: 156

Rep: Reputation: 17
Cannot install glassfish on debian Lenny x64


Good night all,

I'm trying to install glassfish enterprise server on an debian lenny x64 virtual machine.

I encounter some issues like the binary can only be execute by a 32bits JDK, need an xserver for install, all this has been take care of.

From Sun GlassFish Enterprise Server 2.1 Installation Guide
Quote:
If you are installing Sun GlassFish Enterprise Server on a 64–bit machine (running a 64–bit operating system), use a 32–bit JDK to install Sun GlassFish Enterprise Server on your 64–bit machine. You will need to use the following command: ./distribution_filename —javahome path to 32–bit JDK location
Latest 32bits JDK from SUN
Code:
glassadmin:/home/glassfish# java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
My problem now is when i try to run the binary i'm getting this error
Code:
glassadmin:/home/glassfish# l
total 260M
-rwxr-xr-x 1 glassfish glassfish 260M 2009-11-12 08:17 sges_ee-2_1_1-linux.bin
glassadmin:/home/glassfish# ./sges_ee-2_1_1-linux.bin
./sges_ee-2_1_1-linux.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
I went to the repos and download the library in question.

Code:
glassadmin:/home/glassfish# aptitude search libstdc++
v   libstdc++-dev                                  -
i   libstdc++5                                     - The GNU Standard C++ Library v3
i   libstdc++6                                     - The GNU Standard C++ Library v3

glassadmin:/home/glassfish# l /usr/lib/libstdc*
lrwxrwxrwx 1 root root   18 2010-01-13 22:31 /usr/lib/libstdc++.so.5 -> libstdc++.so.5.0.7
-rw-r--r-- 1 root root 810K 2008-07-15 16:36 /usr/lib/libstdc++.so.5.0.7
lrwxrwxrwx 1 root root   28 2010-01-13 22:57 /usr/lib/libstdc++.so.6 -> /usr/lib/libstdc++.so.6.0.10
-rw-r--r-- 1 root root 996K 2009-01-02 06:15 /usr/lib/libstdc++.so.6.0.10
But still getting the error of shared libraries.

Thanks in advance for any tip.
 
Old 01-13-2010, 10:33 PM   #2
pliqui
Member
 
Registered: Feb 2007
Location: Caracas, Venezuela
Distribution: Debian x64
Posts: 156

Original Poster
Rep: Reputation: 17
Found the answer

Just needed to install the following package and was done
Code:
aptitude install ia32-libs
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Debian Lenny : how to install xfce 4.6 instead of lenny's 4.4 cloacms Linux - Newbie 28 12-19-2009 12:11 AM
I cannot install debian lenny in my computer miros84 Linux - Laptop and Netbook 11 08-13-2009 01:53 PM
Debian Lenny: no GUI after install navy80 Linux - Newbie 15 04-13-2009 01:07 PM
Can't install Wine 0.9.34 in my Debian x64 Etch testing doraimom Debian 7 04-03-2007 11:29 AM
can i run linux mandriver x64 with windows x64 bit if so wich one should i install fi malmac2000 Linux - Software 2 04-26-2006 07:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration