Hi Sebastian,

would you be able to test the below 1 line patch?

--- clients/Makefile.am.orig    2008-01-25 16:49:55.000000000 +0100
+++ clients/Makefile.am 2008-01-25 16:45:10.000000000 +0100
@@ -36,7 +36,7 @@
 # not LDADD.
 libupsclient_la_SOURCES = upsclient.c upsclient.h
 libupsclient_la_LIBADD = ../common/parseconf.lo
-libupsclient_la_LDFLAGS = -version-info 0:0:0
+libupsclient_la_LDFLAGS = -version-info 0:0:0 -prefer-pic

 # rules for cross-directory targets
 ../common/libcommon.a: FORCE


some notes:
- patch generated on 2.2.1 (just uploaded to Sid yesterday)
- autoreconf needs to be called after applying the patch.

2007/4/17, Sebastian Harl <[EMAIL PROTECTED]>:
> Package: nut-dev
> Version: 2.0.4-4
> Severity: normal
>
> When trying to link a shared library against libupsclient on 64bit systems,
> the build fails with a R_X86_64_32S relocation error. Please provide a version
> of libupsclient compiled with -fPIC - at least on 64bit architectures.
>
> Please see [1] for more details on basically the same problem.
>
> TIA,
> Sebastian
>
> [1] http://bugs.debian.org/358637
>
>

thanks,
Arnaud
-- 
Linux / Unix Expert R&D - MGE Office Protection Systems - http://www.mgeops.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to