Maybe ldconfig is not looking for the correct directory.
Add the line where libgretl is, (looks like: /usr/local/lib) to
/etc/ldconfig.d/gretl or /etc/ldconfig.conf.
(I am away from Ubuntu right now so excuse any wrong paths/names).
Hélio
On Tue, Oct 9, 2012 at 4:19 PM, Matthieu Stigler
<matthieu.stigler(a)gmail.com> wrote:
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(a)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(a)univpm.it
>
http://www2.econ.univpm.it/servizi/hpp/lucchetti
> --------------------------------------------------
> _______________________________________________
> Gretl-users mailing list
> Gretl-users(a)lists.wfu.edu
>
http://lists.wfu.edu/mailman/listinfo/gretl-users
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users