Thanks Ricardo for the answer!

so should I run this $sudo ldconfig in any folder? I just tried and did not change it., see:
$ sudo ldconfig
[sudo] password:
$ gretl
/usr/local/bin/gretl_x11: error while loading shared libraries: libgretl-1.0.so.4: cannot open shared object file: No such file or directory

are you assuming with the ldconfig approach that the "libgretl-1.0.so.4" is somewhere, just badly linked? I could not even locate it on the folders... where is it supposed to be?

Thanks!!!

Mat

2012/10/9 Riccardo (Jack) Lucchetti <r.lucchetti@univpm.it>
On Tue, 9 Oct 2012, Matthieu Stigler wrote:

Hi

I am trying to compile gretl on Ubuntu 11.04, and get a problem, probably a
stupid one...

Even if installation (./configure without options, then make, then
checkinstall) is sucessfull, I then get while trying to launch gretl:
$ gretl
/usr/local/bin/gretl_x11: error while loading shared libraries:
libgretl-1.0.so.4: cannot open shared object file: No such file or directory

Try

sudo ldconfig

This should fix it once and for all.

--------------------------------------------------
 Riccardo (Jack) Lucchetti
 Dipartimento di Economia

 Università Politecnica delle Marche
 (formerly known as Università di Ancona)

 r.lucchetti@univpm.it
 http://www2.econ.univpm.it/servizi/hpp/lucchetti
--------------------------------------------------
_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users