Error while loading shared libraries?!
Hi all;
I have ubuntu 9.04 on my Virtual Machine and my host OS is Win.XP, I've installed SSH on my linux and and now, I use PuTTY on Win.XP to connect to the SSH on linux, Now, I have a problem: When I login with "root" and run any command, I see load errors for libraries such below: Code:
vim: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory Also, when I use "su" command in the user's session and go to the root, I have no problem again in running commands! Could you help me where the problem is coming from? Is it related to my linux version or distro? Or anything else?! TIA. |
Quote:
|
Hi and Thanks!
Here is my ".bashrc file" in root: Code:
# ~/.bashrc: executed by bash(1) for non-login shells. Code:
# .bash_profile And how could I fix it? TIA. |
I was expecting two pieces of output (a diff of 'env|grep LD' as root over SSH and logged in as unprivileged user) and an answer to "when did this start?". Without that information I only see a "export LD_ASSUME_KERNEL=2.4" line which may (or may not) be the culprit.
|
Hi dear unSpawn!
Quote:
Code:
root@ubuntu:~# env|grep LD Code:
user@ubuntu:~$ env|grep LD Right from install or after updates? Whenever I login as root and run any command, I see the mentioned errors. But with "unprivileged user", I see no error, as you see. What's the problem? THX |
Comment out the "export LD_ASSUME_KERNEL=2.4" line (put a hash mark in front of it), log out and log back in to see if that fixes things.
|
Thank you so much!!
The problem is resolved. Could you explain me why this flag "LD_ASSUME_KERNEL" caused the problem?! |
|
All times are GMT -5. The time now is 03:23 AM. |