Hello,
I am trying to install spark-2.6.3 on a Fedora 16 machine. I have tried installing from the rpm and I get the following errors:
Error: Package: Spark-2.6.3.12555-1.x86_64 (/spark-2.6.3)
Requires: libodbcinst.so
Error: Package: Spark-2.6.3.12555-1.x86_64 (/spark-2.6.3)
Requires: libodbc.so
I have installed both the unixODBC i686 and x86_64 packages.
I have also tried building the spark-2.6.3.src.rpm. At first the build complained about %{SPARK_SOURCE} so I changed the spec file to hardcode the source path to rpmbuild/SOURCES/spark-2.6.3.12555.tar.gz and hardcoded the %{SPARK_VERSION} to 2.6.3.12555. Then the build complained about finding /usr/apache-ant-1.8.1bin/ant jar. On Fedora 16 ant is located in /usr/bin so the line should be /usr/bin/ant jar. The rpm will then build but it still complains about the same errors:
Error: Package: Spark-2.6.3.12555-1.x86_64 (/Spark-2.6.3.12555-1.x86_64)
Requires: libodbcinst.so
Error: Package: Spark-2.6.3.12555-1.x86_64 (/Spark-2.6.3.12555-1.x86_64)
Requires: libodbc.so
The dependencies are there:
lrwxrwxrwx. 1 root root 20 Jan 6 13:40 /usr/lib/libodbcinst.so -> libodbcinst.so.2.0.0
lrwxrwxrwx. 1 root root 20 Jan 6 13:40 /usr/lib/libodbcinst.so.2 -> libodbcinst.so.2.0.0
lrwxrwxrwx. 1 root root 16 Jan 6 13:40 /usr/lib/libodbc.so -> libodbc.so.2.0.0
lrwxrwxrwx. 1 root root 16 Jan 6 13:40 /usr/lib/libodbc.so.2 -> libodbc.so.2.0.0
Does anyone know how to fix this without running rpm with --nodeps?
Thanks,
Patrick