[Slackbuilds-users] Updates - 20100422

Matteo Bernardini matteo.bernardini at sns.it
Sun Apr 25 09:46:32 UTC 2010


On 23/04/2010 06:54, alkos333 wrote:
> On Wed, Apr 21, 2010 at 10:56 PM,<xgizzmo at slackbuilds.org>  wrote:
>    
>> office/abiword: Updated for version 2.8.4.
>>      
> I get the following when trying to compile on Slackware64-13.0:
>
>      /usr/lib/libgthread-2.0.so: could not read symbols: File in wrong format
>      collect2: ld returned 1 exit status
>      make[3]: *** [libabiword-2.8.la] Error 1
>      make[3]: Leaving directory `/tmp/SBo/abiword-2.8.4/src'
>      make[2]: *** [all-recursive] Error 1
>      make[2]: Leaving directory `/tmp/SBo/abiword-2.8.4/src'
>      make[1]: *** [all-recursive] Error 1
>      make[1]: Leaving directory `/tmp/SBo/abiword-2.8.4'
>      make: *** [all] Error 2
>
>    
looks like DEPS_LIBS variable get wrong values during ./configure 
execution: this small patch to configure seems to fix building on 
multilib stable (on -current there are additional not-finding-boost 
problems with plugins build, but this is another story ;) )

http://ponce.cc/slackware/sources/patches/abiword-multilib-configure.patch

--- abiword-2.8.4/configure.orig        2010-04-25 10:10:58.649514876 +0200
+++ abiword-2.8.4/configure     2010-04-25 11:20:28.326014806 +0200
@@ -18547,6 +18547,7 @@
  else
         DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS
         DEPS_LIBS=$pkg_cv_DEPS_LIBS
+        DEPS_LIBS=${DEPS_LIBS/\ -L\/usr\/lib\ / -L\/usr\/lib64 }
          { $as_echo "$as_me:$LINENO: result: yes" >&5
  $as_echo "yes" >&6; }
         :

but I haven't solved yet why it gets the wrong values on multilib 
(pkgconfig?)...

Matteo


More information about the SlackBuilds-users mailing list