[GRASSLIST:191] Re: Problems with installation

I have followed the below instructions, and yet rpm still tells me that it cannot find the libsqlite3.so.0 library. When I do a find for the libsqlite3.so.0, I get the following:

/usr/local/lib/libsqlite3.so.0
/usr/lib64/libsqlite3.so.0
/usr/lib/libsqlite3.so.0
/home/julie/Desktop/libsqlite3.so.0
/libsqlite3.so.0

The file actually resides in /usr/lib64. All the other references are soft links I created to try to get it to work. Where can this thing possibly be looking for this file? Any ideas what I'm doing wrong?

Thank you,
Julie

> I'm trying to install GRASS on an AMD64 machine running Fedore Core 4.
> I have downloaded the Fedore Core 4 files. I have installed many of
> the rpm's, but I cannot get gdal to install. It's unable to locate
> the libsqlite3.so.0 library. When I go to install it, it tells me
> it's installed already. So, if SQLlite is already installed, what's
> going wrong? Any ideas on how to fix this? GDAL is the part I really
> need to use.

funny, it should be installed with sqlite:
  http://rpmfind.net//linux/RPM/fedora/4/i386/sqlite-3.1.2-3.i386.html

rpm -q sqlite
?

Sqlite 3 may be installed, but it doesn't necessarily contain a file
called libsqlite3.so.0.

try

ls -l /usr/lib/libsqlite3.so*

and see what shows up. If something close is there, you might just need
to make a symlink to it with the desired name.

e.g.

cd /usr/local/lib
ln -s /usr/lib/libsqlite3.so libsqlite3.so.0

   or

ln -s /usr/lib/libsqlite3.so.0.8.6 libsqlite3.so.0

make sure /usr/local/lib is listed in /etc/ld.so.conf so it can find
your new link. If not, add it and run ldconfig (as root) to refresh the
installed library list.

Hamish

-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Julie Tittler wrote:

I have followed the below instructions, and yet rpm still tells me
that it cannot find the libsqlite3.so.0 library. When I do a find for
the libsqlite3.so.0, I get the following:

/usr/local/lib/libsqlite3.so.0
/usr/lib64/libsqlite3.so.0
/usr/lib/libsqlite3.so.0
/home/julie/Desktop/libsqlite3.so.0
/libsqlite3.so.0

The file actually resides in /usr/lib64. All the other references are
soft links I created to try to get it to work. Where can this thing
possibly be looking for this file? Any ideas what I'm doing wrong?

The rpm tool doesn't care whether you have a file named
"libsqlite3.so.0" installed on your system. It is basing its decision
on whether an installed RPM provides a feature named
"libsqlite3.so.0".

The problem is that either the GDAL RPM using the wrong name in its
"requires" list, or the SQLite RPM omitting the name from its
"provides" list.

You could try using the "--nodeps" option (I think; I haven't used Red
Hat in a while) when installing the GDAL RPM to simply skip the
dependency check.

--
Glynn Clements <glynn@gclements.plus.com>