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

2009-11-07 Thread Frederik
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


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

2009-11-07 Thread Frederik
Or if you use the 'vala' package from the PPA then you must deinstall
the old 'valac' and 'libvala0' packages of the original repository.

Best regards,

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


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

2009-11-07 Thread ben nukel
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_fr...@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

___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list


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

2009-11-07 Thread Frederik
ben nukel wrote:
 $ 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

Maybe you must update your shared library cache with 'sudo ldconfig'.


Best regards,

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


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

2009-11-07 Thread ben nukel
aargh ;-)
thanks


2009/11/7 Frederik scumm_fr...@gmx.net

 ben nukel wrote:
  $ 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

 Maybe you must update your shared library cache with 'sudo ldconfig'.


 Best regards,

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

___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list