SCIENTIFIC-LINUX-USERS Archives

April 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jean-Pierre Froberger <[log in to unmask]>
Reply To:
Jean-Pierre Froberger <[log in to unmask]>
Date:
Mon, 11 Apr 2011 18:36:38 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (47 lines)
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

ATOM RSS1 RSS2