You are not logged in.

#1 2007-08-11 07:12:58

erm67
Member
From: Europe
Registered: 2007-08-01
Posts: 123

missing libraries for packages in AUR [solved]

I recently installed some updates and one of the AUR packages I use did't worked anymore because some libraries were missing,  the package itself however had not been updated. I tried to use aurbuild -su or aurbuild-bu to update it automatically but it said it was up2date.
I manually recompiled it with makepkg and now it works again, there is maybe a better/automatic way to check and solve such problems?

Last edited by erm67 (2007-08-13 13:42:49)

Offline

#2 2007-08-11 08:02:06

miggols99
Member
Registered: 2007-06-10
Posts: 424

Re: missing libraries for packages in AUR [solved]

You could try yaourt which is in the AUR. It manages packages in the AUR very well and also has coloured output! It is also compatible with pacman, so it does everything for you.

http://aur.archlinux.org/packages.php?d … s=0&SeB=nd

Offline

#3 2007-08-11 16:18:13

erm67
Member
From: Europe
Registered: 2007-08-01
Posts: 123

Re: missing libraries for packages in AUR [solved]

I tried it but it doesn't help much either, isn't there something like revdep-rebuild of gentoo?

Offline

#4 2007-08-13 08:58:24

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,952

Re: missing libraries for packages in AUR [solved]

Is the missing library libbfd-2.17.so ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2007-08-13 09:13:55

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: missing libraries for packages in AUR [solved]

Your issues are about aurbuild and yaourt - as you said yourself, rebuilding it with makepkg solved the problem. Ask the maintainers to add the necessary functionality.

Offline

#6 2007-08-13 12:44:35

miggols99
Member
Registered: 2007-06-10
Posts: 424

Re: missing libraries for packages in AUR [solved]

You can just install the package again with yaourt:

yaourt -S <name of package>

It just builds and reinstalls it for you.

Offline

#7 2007-08-13 13:41:59

erm67
Member
From: Europe
Registered: 2007-08-01
Posts: 123

Re: missing libraries for packages in AUR [solved]

miggols99 wrote:
yaourt -S <name of package>

yaourt works indeed better than aurbuild, .....

I was thinking about revdep-rebuild on gentoo, a tool that searches all executables in the system for missing libraries, find the corresponding packages and rebuilds them automatically.

Is there a way in arch to find which package contains a non installed file? Something like apt_cache search on debian?

Offline

#8 2007-08-13 17:50:04

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

Re: missing libraries for packages in AUR [solved]

You can try the lddd script: http://www.archlinux.org/~tpowa/lddd
It'll report any package that might need a rebuild.

Offline

#9 2007-08-13 18:36:23

erm67
Member
From: Europe
Registered: 2007-08-01
Posts: 123

Re: missing libraries for packages in AUR [solved]

Snowman wrote:

You can try the lddd script: http://www.archlinux.org/~tpowa/lddd
It'll report any package that might need a rebuild.

Nice script and it works well.
But returns possible rebuilds because, I read, on arch packages are considered dependencies only if they affect general functioning, so lddd also  returns also packages linked to libraries listed as makedepends in the PKGBUILD and not  as dependency.
This problem could be only solved if it were possible to query the files contained in non installed packages ....
Just trying to learn the arch way to linux :-)

in possible_rebuilds.txt
mplayer

in affected_files.txt
/usr/lib/mplayer/lirc-dl.so

in raw.txt
/usr/lib/mplayer/lirc-dl.so:
        liblirc_client.so.0 => not found

and in the mplayer PKGBUILD
makedepends=('lirc-utils' 'libcaca' 'unzip' 'live-media' 'libdts')

Last edited by erm67 (2007-08-13 18:37:22)

Offline

Board footer

Powered by FluxBB