You are not logged in.

#1 2016-07-12 06:52:02

simendsjo
Member
Registered: 2012-09-27
Posts: 113

[SOLVED] Unable to use cower after upgrade

I'm having problems with cower after a big upgrade. Seems it cannot find libalpm.so.9, but I have upgraded pacman to v5, and have libalpm.so.10. Everything I've found online seems to indicate that I have not rebuilt cower, but I really think I have..

wget https://aur.archlinux.org/cgit/aur.git/snapshot/cower.tar.gz
tar -zxvf cower.tar.gz
cd cower && makepkg -sri

The output from these commands are:

--2016-07-12 08:50:52--  https://aur.archlinux.org/cgit/aur.git/snapshot/cower.tar.gz
# (.. snip ..)
Saving to: ‘cower.tar.gz’
# (.. snip ..)
cower/
cower/.SRCINFO
cower/PKGBUILD
==> Making package: cower 16-1 (Tue Jul 12 08:50:53 CEST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading cower-16.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 26092  100 26092    0     0  76939      0 --:--:-- --:--:-- --:--:-- 76967
  -> Downloading cower-16.tar.gz.sig...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   287  100   287    0     0   1273      0 --:--:-- --:--:-- --:--:--  1275
==> Validating source files with md5sums...
    cower-16.tar.gz ... Passed
    cower-16.tar.gz.sig ... Skipped
==> Verifying source file signatures with gpg...
    cower-16.tar.gz ... Passed
==> Extracting sources...
  -> Extracting cower-16.tar.gz with bsdtar
==> Starting build()...
cc -Wclobbered -Wempty-body -Wfloat-equal -Wignored-qualifiers -Wmissing-declarations -Wmissing-parameter-type -Wsign-compare -Wmissing-prototypes -Wold-style-declaration -Wtype-limits -Woverride-init -Wunused -Wstrict-prototypes -Wuninitialized -std=c99 -g -pthread -pedantic -Wall -Wextra -fstack-protector-strong -O2 -march=native -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_GNU_SOURCE -DCOWER_VERSION=\"16\" -D_FORTIFY_SOURCE=2  -c -o cower.o cower.c
cc -Wclobbered -Wempty-body -Wfloat-equal -Wignored-qualifiers -Wmissing-declarations -Wmissing-parameter-type -Wsign-compare -Wmissing-prototypes -Wold-style-declaration -Wtype-limits -Woverride-init -Wunused -Wstrict-prototypes -Wuninitialized -std=c99 -g -pthread -pedantic -Wall -Wextra -fstack-protector-strong -O2 -march=native -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_GNU_SOURCE -DCOWER_VERSION=\"16\" -D_FORTIFY_SOURCE=2  -c -o aur.o aur.c
cc -Wclobbered -Wempty-body -Wfloat-equal -Wignored-qualifiers -Wmissing-declarations -Wmissing-parameter-type -Wsign-compare -Wmissing-prototypes -Wold-style-declaration -Wtype-limits -Woverride-init -Wunused -Wstrict-prototypes -Wuninitialized -std=c99 -g -pthread -pedantic -Wall -Wextra -fstack-protector-strong -O2 -march=native -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_GNU_SOURCE -DCOWER_VERSION=\"16\" -D_FORTIFY_SOURCE=2  -c -o package.o package.c
pod2man --section=1 --center="Cower Manual" --name="COWER" --release="cower 16" README.pod cower.1
cc -pthread  -Wl,-O1,--sort-common,--as-needed,-z,relro  cower.o aur.o package.o  -lcurl -lalpm -lyajl -larchive -lcrypto -o cower
==> Entering fakeroot environment...
==> Starting package()...
install -D -m755 cower "/home/simendsjo/tmp/cowerprob/cower/pkg/cower/usr/bin/cower"
install -D -m644 cower.1 "/home/simendsjo/tmp/cowerprob/cower/pkg/cower/usr/share/man/man1/cower.1"
install -D -m644 bash_completion "/home/simendsjo/tmp/cowerprob/cower/pkg/cower/usr/share/bash-completion/completions/cower"
install -D -m644 zsh_completion "/home/simendsjo/tmp/cowerprob/cower/pkg/cower/usr/share/zsh/site-functions/_cower"
install -D -m644 config "/home/simendsjo/tmp/cowerprob/cower/pkg/cower/usr/share/doc/cower/config"
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "cower"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: cower 16-1 (Tue Jul 12 08:50:56 CEST 2016)
==> Installing package cower with pacman -U...
warning: cower-16-1 is up to date -- reinstalling
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) cower-16-1

Total Installed Size:  0.12 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
reinstalling cower...
:: Running post-transaction hooks...
(1/1) Updating manpage index...

When trying to run cower though

$ cower
cower: error while loading shared libraries: libalpm.so.9: cannot open shared object file: No such file or directory

Any idea what I'm doing wrong?

Last edited by simendsjo (2016-07-15 08:48:26)

Offline

#2 2016-07-12 06:54:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Unable to use cower after upgrade

Not a Pacman issue, moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-07-12 07:30:24

Awebb
Member
Registered: 2010-05-06
Posts: 6,275

Re: [SOLVED] Unable to use cower after upgrade

How many reboots have been between your update and your attempt to build cower?

Offline

#4 2016-07-12 08:39:44

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [SOLVED] Unable to use cower after upgrade

Do you have an older version of cower installed elsewhere, outside of pacman? What does

whereis -b cower

tell you?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2016-07-12 21:00:08

simendsjo
Member
Registered: 2012-09-27
Posts: 113

Re: [SOLVED] Unable to use cower after upgrade

WorMzy wrote:

Do you have an older version of cower installed elsewhere, outside of pacman? What does

whereis -b cower

tell you?

Yes! Thanks! I had an additional cower binary stored in /usr/local/bin. Wasn't owned by any package, so I guess I've manually "installed" it 29-12-2014... My old self have just wasted several hours of my life.

Offline

Board footer

Powered by FluxBB