Re: [Vala] hello world, "symbol lookup error ..."



you right. I forgot that I've installed vala via apt-get first; before
installing from sources (0.7.8).

But the problem is, even after

  $ sudo apt-get remove valac
  $ sudo apt-get autoremove

and
  $ cd ~/install/vala-0.7.8 && sudo make uninstall

and finally ...
  $ sudo find /usr -iname 'vala' -exec rm -rf {} \;
  $ sudo find /usr -iname 'valac' -exec rm -rf {} \;
  $ sudo find /usr -iname 'libvala.*' -exec rm -rf {} \;

it still doesn't work, after the reinstall from sources

$ valac
valac: error while loading shared libraries: libvala.so.0: cannot open
shared object file: No such file or directory

although the library is here:

$ ls -al /usr/local/lib/libvala.so.0
lrwxrwxrwx 1 root root 16 2009-11-07 08:03 /usr/local/lib/libvala.so.0 ->
libvala.so.0.0.0
lekuin:~/install/vala-0.7.8
$ ls -al /usr/local/lib/libvala.so.0.0.0
-rwxr-xr-x 1 root root 7292173 2009-11-07 08:03
/usr/local/lib/libvala.so.0.0.0

2009/11/7 Frederik <scumm_fredo gmx net>

ben nukel wrote:
 $ valac hello.vala
valac: symbol lookup error: valac: undefined symbol:
vala_code_context_set_experimental_non_null


any ideas what's wrong here?

Do you have two different Vala versions installed, e.g. one from
a repository and one built from source? It seems to use the wrong
libvala.


Best regards,

Frederik
_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]