470,567 Members | 1,493 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,567 developers. It's quick & easy.

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 4636
numberwhun
3,503 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

Post your reply

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

Similar topics

7 posts views Thread by Daniel Bickett | last post: by
1 post views Thread by richardun | last post: by
reply views Thread by maluyao | last post: by
1 post views Thread by Frank Potter | last post: by
4 posts views Thread by mechphisto | last post: by
1 post views Thread by livre | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.