You are not logged in.
Pages: 1
danielt@bfh:~ » gvim -c ':qa!'
danielt@bfh:~ » sudo pacman -S lib32-glibc
resolving dependencies...
looking for inter-conflicts...
Targets (1): lib32-glibc-2.15-4
Total Installed Size: 14.20 MiB
Proceed with installation? [Y/n] y
(1/1) checking package integrity [##########################] 100%
(1/1) loading package files [##########################] 100%
(1/1) checking for file conflicts [##########################] 100%
(1/1) installing lib32-glibc [##########################] 100%
danielt@bfh:~ » gvim -c ':qa!'
gvim: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
[1] 14605 exit 127 gvim -c ':qa!'Ok let's strace it a bit:
danielt@bfh:~ » strace -e open gvim -c ':qa!' 127 ↵
[ Process PID=14653 runs in 32 bit mode. ]
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib32/tls/i686/sse2/libgtk-x11-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib32/tls/i686/libgtk-x11-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
...It is searching for it's libs in /usr/lib32 suddenly, but file(1) says it's a 64-bit executable:
danielt@bfh:~ » file /usr/bin/gvim 127 ↵
/usr/bin/gvim: symbolic link to `vim'
danielt@bfh:~ » file /usr/bin/vim
/usr/bin/vim: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.27, BuildID[sha1]=0x99841ad5b161108b31a93388fd20529940a1d605, stripped
danielt@bfh:~ » vim -c ':qa!'hmm... running vim instead of gvim works fine. Any ideas?
Thanks,
Daniel
Last edited by danielt (2012-02-06 21:00:15)
Offline
vim -g which should do the same as calling vim as gvim works (WAT?):
danielt@bfh:~ » gvim -c ':qa!' 127 ↵
gvim: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
[1] 14862 exit 127 gvim -c ':qa!'
danielt@bfh:~ » vim -g -c ':qa!' 127 ↵
danielt@bfh:~ » Offline
Pages: 1