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*
And maybe:
sudo echo "/usr/local/lib" >> /etc/ld.so.conf
sudo ldconfig
You may have trouble if /usr/local/bin is ahead of /usr/bin in
your PATH, but /usr/lib is searched before /usr/local/lib by
the runtime linker. To ensure you overwrite an older
installation, "./configure --prefix=/usr".
Allin Cottrell