473,387 Members | 1,590 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to Install sun app server on fedora 8

ak1dnar
1,584 Expert 1GB
Hi,
I need a big favor from you guys. I've installed Fedora 8 on a dell server in our office and i want to install sun application server on it. So I downloaded the "sjsas-9_1_01-linux.bin" file from sun's web site. and opened a terminal as a root user.
This is what I entered in the terminal.
Expand|Select|Wrap|Line Numbers
  1. [root@backbone ~]# cd soft
  2. [root@backbone soft]# ls
  3. jre-6u3-linux-i586.rpm  sjsas.bin
  4. [root@backbone soft]# ./sjsas.bin
  5. ./sjsas.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory 
  6. [root@backbone soft]# 
sjsas.bin is the renamed file of sun application server installation file.
So what is the reason for getting that message and what should I do to install the bin file. Thanks.
Jan 7 '08 #1
8 4823
numberwhun
3,509 Expert Mod 2GB
Hi,
I need a big favor from you guys. I've installed Fedora 8 on a dell server in our office and i want to install sun application server on it. So I downloaded the "sjsas-9_1_01-linux.bin" file from sun's web site. and opened a terminal as a root user.
This is what I entered in the terminal.
Expand|Select|Wrap|Line Numbers
  1. [root@backbone ~]# cd soft
  2. [root@backbone soft]# ls
  3. jre-6u3-linux-i586.rpm  sjsas.bin
  4. [root@backbone soft]# ./sjsas.bin
  5. ./sjsas.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory 
  6. [root@backbone soft]# 
sjsas.bin is the renamed file of sun application server installation file.
So what is the reason for getting that message and what should I do to install the bin file. Thanks.
You say it is renamed. Was it originally an RPM file? If not, why not just make it executable and run it with "./sjsas.bin"?

It looks like the bin file is looking for something in the libstdc++.so.5 file. You may want to check if that file exists, and if it does, what is the program looking for that doesn't seem to be there?

Do you know for sure that this can be done?

Regards,

Jeff
Jan 7 '08 #2
ak1dnar
1,584 Expert 1GB
You say it is renamed. Was it originally an RPM file? If not, why not just make it executable and run it with "./sjsas.bin"?

It looks like the bin file is looking for something in the libstdc++.so.5 file. You may want to check if that file exists, and if it does, what is the program looking for that doesn't seem to be there?

Do you know for sure that this can be done?

Regards,

Jeff
Honestly, This is my first attempt with a linux server. the file which was there on sun's web site is a ".bin" file, with a lengthy name. So I just renamed it to sjsas.bin and entered the command as shown in my previous post. Jeff, I'm not sure about the correctness of my linux commands. So can't I install it in this way? Is this way only for "rpm"s?
Jan 8 '08 #3
prn
254 Expert 100+
Hi Ajaxrand,

You would use the "rpm" command only to install *.rpm package files. If the file is arriving from Sun with a .bin extension, it is pretty unlikely (vanishingly unlikely) to be an rpm file. Without looking beyond what you have posted, I suspect Jeff is more or less on target here. If it's named *.bin, then first off just try to run it. (Of course, you did do that.)

Of course, there is always the option of "cheating" and looking for some README file or the like. :-)

Is the file marked on the sun site as being for linux? Is there any further mention of how to install it? Have you tried looking at the file itself, e.g. just using less? I have seen more than one .bin file that is actually a script, sometimes with binary data embedded in it.

I find on a Fedora 6 system, that I do have /usr/lib/libstdc++.so.5 I'm not sure that Fedora 8 has the same, but you might check.

HTH,
Paul
Jan 14 '08 #4
ak1dnar
1,584 Expert 1GB
Hi Ajaxrand,

You would use the "rpm" command only to install *.rpm package files. If the file is arriving from Sun with a .bin extension, it is pretty unlikely (vanishingly unlikely) to be an rpm file. Without looking beyond what you have posted, I suspect Jeff is more or less on target here. If it's named *.bin, then first off just try to run it. (Of course, you did do that.)

Of course, there is always the option of "cheating" and looking for some README file or the like. :-)

Is the file marked on the sun site as being for linux? Is there any further mention of how to install it? Have you tried looking at the file itself, e.g. just using less? I have seen more than one .bin file that is actually a script, sometimes with binary data embedded in it.

I find on a Fedora 6 system, that I do have /usr/lib/libstdc++.so.5 I'm not sure that Fedora 8 has the same, but you might check.

HTH,
Paul
Hi Paul,
This is what I can see under the directory, you mentioned.
Expand|Select|Wrap|Line Numbers
  1. [root@backbone lib]# ls libstdc++*
  2. libstdc++-3-libc6.2-2-2.10.0.so  libstdc++.so.5      libstdc++.so.6
  3. libstdc++-libc6.2-2.so.3         libstdc++.so.5.0.7  libstdc++.so.6.0.8
  4. [root@backbone lib]#
I don't know why there are lots of files.
Jan 15 '08 #5
prn
254 Expert 100+
Hi ajaxrand,

There are lots of libstdc++ files basically because different packages have been built with different versions of the library. You have them so that various applications can link to the right version at run time. It's not a problem.

What does make it seem odd is that you have the file but your package cannot find it. In fact that is not really as odd as it probably seems at first glance. My first guess is that you may need to set an environment variable -- most likely LD_LIBRARY_PATH.

First, try
Expand|Select|Wrap|Line Numbers
  1. env | grep LD_LIBRARY_PATH
to see if you already have LD_LIBRARY_PATH defined. You may or may not. If LD_LIBRARY_PATH is in your environment, then check to see if /usr/local/lib is in the path.

You can add /usr/local/lib to the path by adding:
Expand|Select|Wrap|Line Numbers
  1. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
to your .bash_profile. Let us know if that helps.

Best Regards,
Paul
Jan 15 '08 #6
ak1dnar
1,584 Expert 1GB
Hi ajaxrand,

There are lots of libstdc++ files basically because different packages have been built with different versions of the library. You have them so that various applications can link to the right version at run time. It's not a problem.

What does make it seem odd is that you have the file but your package cannot find it. In fact that is not really as odd as it probably seems at first glance. My first guess is that you may need to set an environment variable -- most likely LD_LIBRARY_PATH.

First, try
Expand|Select|Wrap|Line Numbers
  1. env | grep LD_LIBRARY_PATH
to see if you already have LD_LIBRARY_PATH defined. You may or may not. If LD_LIBRARY_PATH is in your environment, then check to see if /usr/local/lib is in the path.

You can add /usr/local/lib to the path by adding:
Expand|Select|Wrap|Line Numbers
  1. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
to your .bash_profile. Let us know if that helps.

Best Regards,
Paul
]

Thank you so much for the reply. I'll try this, once I get a chance and let you know about the progress. Thanks again.
Jan 16 '08 #7
ybarra
2
install the package compat-libstdc++

yum install compat-libstdc++
Feb 28 '08 #8
ybarra
2
yum install compat-libstdc++
Feb 28 '08 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Lim Kok Wah | last post by:
I've tried to install Sun Java Studio 5 update 1 on my newly installed Fedora Linux Box and the following error was encountered:- Unable to install...your user does not have enough privilege. ...
5
by: Logan | last post by:
I have two different Python versions on my Linux system (2.2 and 2.3). I cannot remove version 2.2 because many configuration files of the system depend on this version of Python (and its...
7
by: Daniel Bickett | last post by:
I've been trying to convince my host to install python/mod_python on his server for a while now, however there are a number of reasons he is reluctant to do so, which I will outline here: 1. His...
1
by: richardun | last post by:
My goal is to install python2.4 using yum (wouldn't you know it, it's a dependency for something else). >From this page (), I followed the following instructions: 1. ...creat...
3
by: Google Mike | last post by:
On Linux, I need to ask what your favorite installation options are for a PHP app as a kind of poll. In this first part, I discuss the Install Wizard choices. In Part 2, I discuss the database...
0
by: maluyao | last post by:
Install IBM DB2 on Fedora Core 5 (Bordeaux) author: maluyao RHCE. maluyao@NOSPAMgmail.com(remove NOSPAM) http://www.teenblog.org/tiantian/ (Chinese Version) Pre-installation notes:...
1
by: Frank Potter | last post by:
I use "python setup.py install" to install PIL in fedora with python 2.4, But I got these errors: running build_ext building '_imaging' extension creating build/temp.linux-i686-2.4 creating...
4
by: Amber | last post by:
The installer tells it faild to config db2inst1, the db2setup.err is as following: /usr/share/themes/Clearlooks/gtk-2.0/gtkrc:60: Engine "clearlooks" is unsupporte d, ignoring Jun 15, 2007...
4
by: mechphisto | last post by:
I'm working on a friend's box, Fedora Core 6. It has PHP 5.1.6. I need to install mcrypt into it, and the only way I can find to do it is from source then recompile PHP. So I did all that, and got...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.