You are not logged in.

#1 2006-10-27 21:24:13

vladuz976
Member
From: Venice, CA
Registered: 2005-11-04
Posts: 108

update breaks gnucash

Hi i updated with pacman -Syu and gnucash stopped working right after.

vladuz@box:~$ gnucash
gnucash-bin: error while loading shared libraries: libguile.so.12: cannot open shared object file: No such file or directory
vladuz@box:~$ 

I noticed that dbus was upgraded to a newer version. I've tried downgrading to the older version of dbus but that doesn't help. Can anyone please help me. Running gnucash is really important and I think a simple upgrade shouldn't breake it. Pacman didn't output any warnings or anything.
Any help is appreciated.

Thanks

Offline

#2 2006-10-27 23:14:42

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: update breaks gnucash

Get the PKGBUILD from ABS and rebuild it. Notify the TU who maintains it.

Offline

#3 2006-10-28 02:30:28

vladuz976
Member
From: Venice, CA
Registered: 2005-11-04
Posts: 108

Re: update breaks gnucash

I've tried that. I have all dependecies but I get this error:

...
/usr/bin/ld: cannot find -lguile-ltdl
collect2: ld returned 1 exit status
make[4]: *** [libgw-core-utils.la] Error 1
make[4]: Leaving directory `/var/abs/local/gnucash/src/gnucash-2.0.2/src/core-utils'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/abs/local/gnucash/src/gnucash-2.0.2/src/core-utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/abs/local/gnucash/src/gnucash-2.0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/gnucash/src/gnucash-2.0.2'
make: *** [all] Error 2
==> ERROR: Build Failed.  Aborting...

I don't know what to do to fix it. I would like to know what broke gnucash from the regular repository in the first place. If anybody else is experiencing the same problem please let me know how you worked around it.
Thanks

Offline

#4 2006-10-28 02:48:22

twiistedkaos
Member
Registered: 2006-05-20
Posts: 666

Re: update breaks gnucash

I've had a few apps do this also when upgrading to the new dbus, downgrading doesn't seem to fix the libs, they keep the newer ones for some odd reason. You can soft link the new dbus lib to match the older one, but this isnt recremended.

Offline

#5 2006-10-28 06:21:34

vladuz976
Member
From: Venice, CA
Registered: 2005-11-04
Posts: 108

Re: update breaks gnucash

That's really bad. That simple updates brake your computer.
dbus shouldn't be upgraded until all the stuff that depends on it is upgraded, too.

Offline

#6 2006-10-28 06:23:02

vladuz976
Member
From: Venice, CA
Registered: 2005-11-04
Posts: 108

Re: update breaks gnucash

what other programs did you have problems with?
for me gnucash is really important. I can't afford to not have it running.
Hopefully this will get fixed soon.

Offline

#7 2006-10-28 17:37:02

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: update breaks gnucash

You need to rebuild g-wrap first. Use the PKGBUILD below.

# Maintainer: William Rea <sillywilly>
# Contributor: David Moore <davidm>
pkgname=g-wrap
pkgver=1.9.6
pkgrel=4
pkgdesc="Contains tools for exporting C libraries into Scheme interpreters"
url="http://www.gnucash.org"
options=('NOLIBTOOL')
license="LGPL"
depends=('guile' 'glib2' 'slib')
source=(http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz 
    g-wrap-staticffi.patch 
    g-wrap-glib2.patch 
    g-wrap-consistent.patch)
md5sums=('4d83964f51376500eedced538c1620cb' '22f6867ed00323dfa34c5bf736b30f01'
         '36fead091eefe67598ba0f499742d3dc' '4b3e91128b3f328673037b2eed8b06ad')

build() {
  cd $startdir/src/$pkgname-$pkgver
  patch -p1 -i ../g-wrap-staticffi.patch
  patch -p1 -i ../g-wrap-glib2.patch
  patch -p1 -i ../g-wrap-consistent.patch
  ./configure --prefix=/usr --disable-static 
  #--with-modules-dir=/usr/share/guile
  make || return 1
  make DESTDIR=$startdir/pkg install

  mv $startdir/pkg/usr/include/ffi* $startdir/pkg/usr/include/g-wrap
  rm $startdir/pkg/usr/lib/libffi.a

  sed -i "s|-lffi||g" $startdir/pkg/usr/lib/pkgconfig/*
  sed -i "s|<ffi|<g-wrap/ffi|g"  $startdir/pkg/usr/include/g-wrap/*.h

#  cp -R lib/srfi $startdir/pkg/usr/share/guile/site/
  mkdir -p $startdir/pkg/usr/share/guile/site/srfi/
  cp $startdir/src/$pkgname-$pkgver/lib/srfi/* $startdir/pkg/usr/share/guile/site/srfi/

}

Offline

#8 2006-10-28 17:46:44

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: update breaks gnucash

What cause gnucash to break is that apps are compiled against specific version of the libraries (in this case guile). When the library version is updated, you sometime needs to rebuild the apps against the newer library.

Gnucash broke because it is from the community repo. Before moving guile, dbus from testing  to current/extra the devs only consider the packages from these official repo. As there is no testing repo for the community packages, you can expect that they will be momentarily broke before the TUs rebuilds them.

twiistedkaos: Make sure that your are up to date and your moirror is up to date too. What packages are broken? If they are from community repo, notify the TU who maintains them. If it's stuff from unsupported or custom packages, you'll need to rebuild them yourself.

Offline

#9 2006-10-28 20:46:58

vladuz976
Member
From: Venice, CA
Registered: 2005-11-04
Posts: 108

Re: update breaks gnucash

I downgraded guile for now and put it under ignore in pacman.conf. So far i've been having problems only with gnucash. I am waiting for gnucash to be rebuilt before I update guile.

Offline

Board footer

Powered by FluxBB