Allin Cottrell schrieb:
On Mon, 16 Nov 2009, Sven Schreiber wrote:
> on a newly installed Ubuntu 9.10 (not upgraded, fresh install) I
> couldn't get the cvs version to install/run. It compiled ok
> (seemingly?), and 'sudo make install' also went fine -- well I saw some
> libtool warnings in the terminal output, don't know whether that is normal.
>
> But trying to run it (icon click or 'gretl' on cli) only gives the error
>
> /usr/local/bin/gretl_x11: error while loading shared libraries:
> libgretl-1.0.so.0: cannot open shared object file: No such file or directory
>
> I tried with a fresh cvs checkout, but no go.
>
> Then I installed the official 1.8.5 debs and gretl runs (haven't tested
> anything econometric so far). It actually now says 1.8.5cvs built on Nov
> 16th, so it seems that the 1.8.5 released version that was installed
> last didn't quite manage to supersede the previously intended cvs install?
>
> Any ideas?
ldd /usr/local/bin/gretl_x11
ls -al /usr/local/lib/libgretl*
Thanks for your quick answer -- after executing these commands I did
sudo make install again and from the dates of the libgretl* links and
files they were replaced, and gretl still runs. So that's good and it
seems it really is the cvs version. Of course I don't know if that would
have helped without installing the 1.8.5 debs, but that's just of
academic interest I guess.
And maybe:
sudo echo "/usr/local/lib" >> /etc/ld.so.conf
sudo ldconfig
I didn't need to use these.
thanks!
Sven