Jean-Michel Barbet wrote:
Hello all,

I am trying to package a MonaLisa sensor that comes with its own
java binary distribution and would be installed in /usr/local.

I can build the package fine but it does not install because of a
dependency not satisfied :

 depcheck: package MLSensor 1.0-1 needs libodbc.so()(64bit)
 depcheck: package MLSensor 1.0-1 needs libodbcinst.so()(64bit)

This is because rpmbuild have autocomputed the dependencies and
the resulting RPM have these requirements :
libodbc.so()(64bit)
libodbcinst.so()(64bit)

Unfortunately neither unixODBC nor unixODBC-devel provides these,
instead they provide :
libodbc.so.1()(64bit)
libodbcinst.so.1()(64bit)

So my RPM refuses to install (and I cannot use --nodeps, the
installation is performed by a tool)

=> Is this due to the packaging of unixODBC ? Can it be corrected ?

The java that comes natively with SL is apparently not compiled with
ODBC so it does not have libodbc requirements.

This issue is minor and not blocking for me and I am not too sure
I have understood the problem.

Thanks

JM

Hello Jean-Michel,

I suppose you already tried this inelegant workaround:

ln -s  libodbc.so.1  libodbc.so
ln -s  libodbcinst.so.1 libodbcinst.so

Cheers,
J-P

Reply via email to