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.
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.
my computer (well the one where I got this problem, I have more than one computer...) is an old p120 so I haven't installed X. Now I want to use emacs (I really like this little text editor) but seems this prog need X library, no matter if I try to run it in text mode or not.
If I try to run the "emacs" command I get this error: "emacs: error while loading shared library: cannot open shared object file: can not load shared object file: No such file or directory" (a very unclear error but I think it talk about X library... read the next part )
Now I found there are some others emacs command and this one is just a soft link the "emacs-20.7-with-x11"
But when I try to run "emacs-20.7-no-x11" the progz seems to load but in the status bar I get this funny error: "Opening input file: no such file or directory, /usr/lib/X11/locale/locale.alias"
(of course I don't have this, stupid emacs,I ask you to start yourself without X )
Herm... Anyone can help me? I like emacs, vi is really bad for me and pico... hum dunno I prefer emacs.
2 totally different error messages from "no X11" and "with X11".
the first is claiming it doesn't have a shared library that it needs (or two, or more). Which library(ies) it needs, you neglected to include in your question. I would want to know what shared library it complains about, so you could tell what shared library you needed, provided you wanted to launch it in X (even from a terminal).
as for the second error with "no X11", I'm not sure what the "status bar" you speak of is. Are you in X when you are trying to launch it?
I don't have X so I can't be in X.... The status bar... well you know, when you start Emacs in console, in the bottom of emacs windows, you have a white "bar" saying few information (something like "---:---- F1 (Fundamental)----L1--All-------------
and bellow this bar, you have a black "bar" showing you information about the files, about emacs etc (example, when you open emacs, it is where you see "For information about Gnu Project please type C-h C-p" ) The "status" bar i'm talking about is this bar.
But Anyways this is not important, I already told you the error msg I get. The real question is "can I use Emacs without having X install" and if yes, how ?
OK, so you don't have X installed. Big Deal.
Yes, you can use emacs without X installed.
this is what you told me was your "error" (WITHOUT X INSTALLED):
"emacs: error while loading shared library: cannot open shared object file: can not load shared object file: No such file or directory" (a very unclear error but I think it talk about X library... read the next part)
the next part doesn't matter. You haven't given the full error message.
THIS is the ONLY and the FULL error msg emacs give me!!!!
I will not invent a new one just for you, I don't get anything but THIS.
If you readed the next part of the first msg, you saw I found that the command "emacs" is a soft link to "emacs-20.7-with-x" so I tried to start the OTHER emacs command "emacs-20.7-no-x" but I got ANOTHER error msg, this one: "Opening input file: no such file or directory, /usr/lib/X11/locale/ locale.alias"
If you can't help me, it's ok but tell me and stop thinking I'm an idiot!
And read the first msg.
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
OK, locate where linux Binary is, in this example i will assume it is in /bin/emacs
cd to /bin and type ./emacs and it should spit out that error about missing shared libraries. Now to find the shared libraries we wiil use a neat trick. While still in /bin (or whatever Emacs is onstalled to) type:
As you can see it shows all the libraries emacs uses, and, since you are missing somme of this it will tell you witch ones, so then go and get these missing libraries, or in the case you have them but emacs can not find them, make sure they are in ld.so.conf and run ldconfig.
Ok so I can see with this command that "emacs" use a number of X library I don't have X installed, so I cannot use it.
But If I try to same command with "emacs-20.7-no-x" I can see I have all library... But when I try to start this one, I get this error msg : "Opening input file: no such file or directory, /usr/lib/X11/locale/locale.alias"
What is that file? Can I tell emacs to does not search for it? I have other box running with X but I don't have this files.... Anyone have it?
i tried to post the file.. but it's too long 40000lines
if u let me know your email, i'll sent to u
this is first part of the file
# $TOG: locale.alias /main/33 1998/05/26 13:41:50 kaleb $
# This file contains alias name of locale.
# Each alias name is described within one line.
# The first word is the alias name (simplified locale name)
# the second word is full locale name.
# $XFree86: xc/nls/locale.alias,v 1.34 2000/12/06 22:00:42 dawes Exp $