library misbehaviour in terminals

Bug #112525 reported by Dave Edwards
2
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

Strange one. I'll use points for the sake of brevity.

- upgraded Dapper -> Edgy -> Feisty
    - Dapper -> Edgy via network
    - Edgy -> Feisty reinstall with desktop CD
- in Edgy -> Feisty reinstall, I preserved my home partition and data
- most everything is fine, *except*
- I found when I ssh from work to home, most commands return complaints re missing libraries
- Examples:
$ ls
ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory

$ locate librt.so.1
locate: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

$ cat .bashrc
cat: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

$ strace ls
strace: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

- not *all* commands
$ echo This is weird.
This is weird.

- this problem also occurs in virtual terminals, C-A F1 etc.
- those files *do* exist, as can be discovered from a local GUI terminal, e.g. gnome-terminal or xterm, in which everything runs sans problem

- this occurred after both Dapper -> Edgy via the network, and Edgy -> Feisty reinstall
- have manually run ldconfig, but it does not clear up the problem
- have also rebooted a couple times since reinstall. no help.

Revision history for this message
Dave Edwards (dle) wrote :

This is resolved. It was caused by $LD_LIBRARY_PATH being set to /home/me/.local/lib by autopackage, in a file left over from my prior installs: ~/.config/autopackage/paths-bash which was getting sourced by ~/.bash_profile.

Revision history for this message
Ralph Janke (txwikinger) wrote :

According to the reporter this is not a bug, but happened due to a unusual library path being set. I therefore close this report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.