Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi, i have a problem with compile a simple program in a machine an execute it on an other. I'm not a linux expert so i try to illustrate my situation.
I have 2 system with the same version of linux kernel 2.4.19.
I need to compile the simple code on the first machine and then run on the other because the second system is a very reduced installation (it is on a flash ramdisk).
I compile the code on the first machine with : "gcc source.c -lm -o source.o"
and when i use ldd cmd i obtain this:
Where ld-linux.so.2 -> ld-2.1.3.so
libc.so.6 -> libc-2.1.3.so
libm.so.6 -> libm-2.1.3.so
The executable file can't run in the second machine because it have only the 0.9.20.so library.
I tried the "-static" option with gcc and the program run but it work uncorrectly.
MY QUESTION IS: what is the best solution for this problem ? Compile the code using the 0.9.20 library or install the 2.1.3 on the secon system? Is possible to use cross-compiling ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.