Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am new to Linux, but I had no choice when I was buying my server box.
My problem is that I can not install my hl1 (Half Life) server since it is a 32bit application. I have googled it and did not find anything helpful. I now understand that I need to install some 32bit libs but I do not know what exactly to run in the command prompt.
You had no choice? Well, I can understand that. But you do now. The computer I'm typing on shipped with Windows Vista -- what a larf, right! I turned its nobs for about an hour, stood up, made a cup of tea, and then Got Serious About Computing.
My point is, you can install another version of Linux if you want. Can't you? You'll have better luck finding out about "Supported Linux" flavours for those proprietary binaries by looking directly at the software vendor's documents. (Steam or whoever.)
Yes 64Bit & 32Bit both are supported by CentOS5 & above
Hi Blue,
Could you provide with exact version & arch of your centos,
# uname -a
#arch
will do
In Redhat EL 64 Bit OS supports 64 Bit as well as 32 Bit apps, Redhat guys call it Multilib support.
How does it happen - Redhat OS by default is installed with 64Bit Libs in usually /usr/lib64 or /lib64 & allows users to
store 32BIt libs in either /lib or /usr/lib .
NOTE - File system layout ( scraped from http://www.redhat.com/magazine/009ju...ures/multilib/)
A 64-bit operating system provides libraries compiled for the newer instruction set. To run a dynamically-linked 32-bit
binary application, any libraries it needs must also be available in the 32-bit instruction set. Also, any libraries those
libraries are dynamically linked against need to be available in that form, right down to the C library itself (such as glibc
on GNU systems).
So, to run 32-bit programs on a 64-bit system, two flavors of the C library (and more libraries besides) need to be provided
by the operating system, and these extra libraries need to reside somewhere in the file system. Multiple instances of a
particular library, each for a different instruction set supported by the processor, is often known as multilib.
So after reading notes it is much clear that we are trying an untested soln (specifically for CentOS)
Since Centos says itself to be 100% compliant to Redhat let us try in a test/staging server with following steps,
1.On your home machine install a replica of your latest rental server with CentOS, I would suggest create a VM instead of raw
install( try out http://www.virtualbox.org/)
2. Take a backup of 32bit lib files(it should be everything under /usr/lib & /lib) folder from your existing Fedora8 install
3.Move this backup to your CentOS VM under 32 bit lib folder ( you got to checkout if it is /usr/lib & /lib OR /usr/lib32 &
/lib32, I am assuming that it is /lib & /usr/lib).
4.and try running your apps one by one ( I know you have to install your targeted 32Bit Apps too on this test machine,
but at least we could be sure of not messing the production server if this test fails )
Could you provide with exact version & arch of your centos,
# uname -a
#arch
will do
In Redhat EL 64 Bit OS supports 64 Bit as well as 32 Bit apps, Redhat guys call it Multilib support.
How does it happen - Redhat OS by default is installed with 64Bit Libs in usually /usr/lib64 or /lib64 & allows users to
store 32BIt libs in either /lib or /usr/lib .
NOTE - File system layout ( scraped from http://www.redhat.com/magazine/009ju...ures/multilib/)
A 64-bit operating system provides libraries compiled for the newer instruction set. To run a dynamically-linked 32-bit
binary application, any libraries it needs must also be available in the 32-bit instruction set. Also, any libraries those
libraries are dynamically linked against need to be available in that form, right down to the C library itself (such as glibc
on GNU systems).
So, to run 32-bit programs on a 64-bit system, two flavors of the C library (and more libraries besides) need to be provided
by the operating system, and these extra libraries need to reside somewhere in the file system. Multiple instances of a
particular library, each for a different instruction set supported by the processor, is often known as multilib.
So after reading notes it is much clear that we are trying an untested soln (specifically for CentOS)
Since Centos says itself to be 100% compliant to Redhat let us try in a test/staging server with following steps,
1.On your home machine install a replica of your latest rental server with CentOS, I would suggest create a VM instead of raw
install( try out http://www.virtualbox.org/)
2. Take a backup of 32bit lib files(it should be everything under /usr/lib & /lib) folder from your existing Fedora8 install
3.Move this backup to your CentOS VM under 32 bit lib folder ( you got to checkout if it is /usr/lib & /lib OR /usr/lib32 &
/lib32, I am assuming that it is /lib & /usr/lib).
4.and try running your apps one by one ( I know you have to install your targeted 32Bit Apps too on this test machine,
but at least we could be sure of not messing the production server if this test fails )
My problem is that I can not install my hl1 (Half Life) server since it is a 32bit application.
What error message did you get when you tried to install that?
You can install a 32 bit application on 64 bit Centos and you apparently have 32 bit Linux anyway, so your diagnosis of the problem is doubly wrong.
You may be missing files that hl1 needs. If so and if the error messages tell you which files are missing, there is a yum to find out what package (if any) provides that file and another yum command to install the package.
Generally the yum commands must be given as root. I would expect the hl1 server install to also need to be done as root. Perhaps not installing as root was your problem. With no error messages quoted we can't do better than wild guesses.
Which raises the question - what makes you think it's 64-bit ?. Try this and post the result
Code:
readelf -h $(which init) | grep "Class"
Code:
Class: ELF32
Quote:
Originally Posted by johnsfine
What error message did you get when you tried to install that?
You can install a 32 bit application on 64 bit Centos and you apparently have 32 bit Linux anyway, so your diagnosis of the problem is doubly wrong.
You may be missing files that hl1 needs. If so and if the error messages tell you which files are missing, there is a yum to find out what package (if any) provides that file and another yum command to install the package.
Generally the yum commands must be given as root. I would expect the hl1 server install to also need to be done as root. Perhaps not installing as root was your problem. With no error messages quoted we can't do better than wild guesses.
When I run the installer, it asks me accept the agreement:
Quote:
Enter 'yes' to accept this agreement, 'no' to decline:
Could be a lame question, but how do you run the installer file (hldsupdatetool.bin) on command prompt ?
Do you say -[root@localhost]# ./ hldsupdatetool.bin
it will be great if you can post screenshot of the complete output
meanwhile i am also downloading the .bin file once done i will execute it on my test machine ..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.