reopen 505101
reassign 505101 libupsclient1-dev
thanks

Hi Arnaud,

On Fri, Nov 21, 2008 at 09:39:09AM +0000, Debian Bug Tracking System wrote:
>    * debian/rules: also move libupsclient.so to /lib, otherwise the link is
>      broken (Closes: #505101)

Unfortunately, this fix is broken. In debian/rules you do:

  mv $(CURDIR)/debian/nut/usr/lib/*.so $(CURDIR)/debian/libupsclient1-dev/lib

However, $(CURDIR)/debian/libupsclient1-dev/lib does not exist at that
point, so you create /lib as a symlink to libupsclient.so.1.0.0.

Also, libupsclient.la (currently found in /usr/lib) points to /usr/lib
as well (libdir='/usr/lib'). Because of that, libtool is looking for
/usr/lib/libupsclient.so. Since the .la file references libupsclient.a
as well, I guess, changing libdir to '/lib' won't do it, because libtool
then won't be able to find the static lib any longer. I suppose, the
only way to solve that is to move the .a and .la to /lib as well.

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

Reply via email to