472,954 Members | 1,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,954 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 4804
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: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
1
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.