I do not see any issue.
You need to sudo make install.
And then the sudo ldconfig if gretl is still not working.
Hélio
On Tue, Oct 9, 2012 at 4:59 PM, Matthieu Stigler
<matthieu.stigler(a)gmail.com> wrote:
Hi
Thanks to all of you for your kind help! So indeed, the libgretl is not
produced in the /usr/local/bin, while I do not have a /usr/local/bin
(although the machine itself is 64). I also did not use configure with a
path prefix, so should be these files indeed...
I hence tried the steps to create the make.log, that you can find under:
https://dl.dropbox.com/u/6113358/make.log
do you see there any issue?
Thanks!!
Matthieu
2012/10/9 Allin Cottrell <cottrell(a)wfu.edu>
>
> On Tue, 9 Oct 2012, Matthieu Stigler 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?
>
> The default result of ./configure is that gretl is installed
> under /usr/local: the executables in /usr/local/bin and the
> library in /usr/local/lib (or /usr/local/lib64 in case of a
> 64-bit build).
>
> If there's no libgretl* in /usr/local/lib or /usr/local/lib64
> after "make install" then the build must have failed. In that
> case, please do
>
> make clean
> make > make.log 2>&1
>
> and we can take a look at make.log to see what happened.
>
> If the library _did_ get installed OK but is not found by the
> runtime linker, the standard fix is to run the command Jack
> suggested, "sudo ldconfig". However, for this to work
> /usr/local/lib (or /usr/local/lib64) must be among the
> directories listed in ld.so.conf. Take a look at that file in
> a text editor and if necessary, append the name of the
> relevant directory (as root). For example,
>
> sudo echo "/usr/local/lib64" >> /etc/ld.so.conf
> sudo ldconfig
>
> Allin Cottrell
> _______________________________________________
> 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