Re: how to handle hard coded library paths?
On 22/08/11 at 19:46 +0530, Praveen A wrote:
> [I have joined this list now]
> cutest binary is looking for library files in /usr/lib/
> Is there any standard way of fixing this? I'm new to ruby packaging
> and I could not find anything at
> I manually edited /usr/bin/cutest to check it and it works.
yes, that's a bug in the upstream source. You can fix it with a
debian-specific patch (to push upstream).
The correct way to fix that is usually to do something like:
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
| Lucas Nussbaum
| email@example.com http://www.lucas-nussbaum.net/ |
| jabber: firstname.lastname@example.org GPG: 1024D/023B3F4F |