[Nix-dev] Lack of exhaustive RPATH for vim and gimp with relation to python

Attila Oláh attilaolah at gmail.com
Sat Feb 12 15:50:45 CET 2011


On 02/12/11 15:11, Marc Weber wrote:
> Excerpts from Attila Oláh's message of Sat Feb 12 13:12:01 +0100 2011:
>> Error detected while processing
>> /home/aatiis/.vim/ftplugin/python/pyflakes.vim:
>> line  109:
>> Traceback (most recent call last):
>>   File "<string>", line 13, in <module>
>> ImportError: libpython2.6.so.1.0: cannot open shared object file: No
>> such file or directory
> 
> I've never seen this before.
> Can you tell me which derivation you used to compile Vim?

I'll try. So far I only have installed three packages through nix:

aatiis at aiur ~ $ sudo nix-env -qP '*'
2  blender-2.50a1
1  gimp-2.6.11
0  vim_configurable-7.3

aatiis at aiur ~ $ ls -l `which vim`
lrwxrwxrwx 1 root root 72 Feb 12 11:42 /home/aatiis/.nix-profile/bin/vim
-> /nix/store/dfgcf6dds6r3dnv22gzhxhf51gli052b-vim_configurable-7.3/bin/vim

Also Gimp:

aatiis at aiur ~ $ ls -l `which gimp`
lrwxrwxrwx 1 root root 64 Feb 12 11:42
/home/aatiis/.nix-profile/bin/gimp ->
/nix/store/61ii1bf9jvxwh91li9kidg6d1c724x3q-gimp-2.6.11/bin/gimp

>> `gimp` on the other hand, throws me this:
> Please tell how to get that error. Which command to click on?

Nothing, I just open up gimp, and this is what I see:

aatiis at aiur ~ $ gimp

(gimp:867): Gtk-WARNING **: Unable to locate theme engine in
module_path: "aurora",

(gimp:867): Gtk-WARNING **: Unable to locate theme engine in
module_path: "aurora",
Traceback (most recent call last):
  File
"/nix/store/61ii1bf9jvxwh91li9kidg6d1c724x3q-gimp-2.6.11/lib/gimp/2.0/plug-ins/palette-sort.py",
line 17, in <module>
    from gimpfu import *
  File
"/nix/store/61ii1bf9jvxwh91li9kidg6d1c724x3q-gimp-2.6.11/lib/gimp/2.0/python/gimpfu.py",
line 75, in <module>
    import gimp
ImportError:
/nix/store/61ii1bf9jvxwh91li9kidg6d1c724x3q-gimp-2.6.11/lib/gimp/2.0/python/gimp.so:
undefined symbol: PyUnicodeUCS2_SetDefaultEncoding

Gimp works, however there's no "Python-fu" in the Filters menu.

Thanks for helping!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20110212/1d407bc7/attachment.bin 


More information about the nix-dev mailing list