[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#796917: snappy1.0.3-java: dependency on libsnappy1



Hi Andreas,


> libsnappy1 is being replaced by libsnappy1v5.
>  Your arch:all package has

>a hardcoded dependency on the former (how does that even work?).>
>
>Before I simply add a hardcoded libsnappy1v5 I would like to ask for
>comments whether there is some better way to solve this.


Well, I'm not a java expert, but in general this approach is wrong.

however snappy-java code seems smart enough to understand where to find the library
at runtime (this isn't a build-time dependency, but a runtime one) and use it.


I'm not sure there is a smarter approach, to let shlibs to its job, because snappy is
used as a plugin in this particular case, so hardcoding the libsnappy1v5 might be
the best way to do the trick.

Did you try if the package works on different architectures?

cheers,

G.


Reply to: