You are not logged in.

#1 2009-01-11 15:48:18

goll
Member
From: Croatia
Registered: 2007-10-29
Posts: 50

Amarok not working after libmysqlclient upgrade

After the upgrade to libmysqlclient 5.1.30-1 amarok won't start:

Amarok: [Loader] Starting amarokapp..
Amarok: [Loader] Don't run gdb, valgrind, etc. against this binary! Use amarokapp.
amarokapp: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory

Offline

#2 2009-01-11 19:13:33

jostein
Member
Registered: 2008-12-01
Posts: 6

Re: Amarok not working after libmysqlclient upgrade

Exact same problem here. I tried symlinking libmysqlclient.so.16 to libmysqlclient.so.15, only to get another error message complaining about a wrong library version (which is reasonable).

Offline

#3 2009-01-11 19:24:42

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Amarok not working after libmysqlclient upgrade

never ever symlink libraries. the real fix is to rebuild amarok. use abs to do that


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2009-01-11 19:29:02

jostein
Member
Registered: 2008-12-01
Posts: 6

Re: Amarok not working after libmysqlclient upgrade

I found a solution for downgrading the library, which works for now. Download the packages libmysqlclient and mysql-clients from http://ftp.icm.edu.pl/pub/Linux/sunsite … os/x86_64/ (which keeps older versions -- replace x86_64 with i686), depending on your arch). Install these packages with pacman -U (it might be a good idea to list both package files on the command line to avoid complaints about dependencies). If you want to upgrade your system while keeping these packages downgraded, you might want to add the packages to NoUpgrade in /etc/pacman.conf.

I see the amarok-base package is already flagged out-of-date, so there should be no need for reporting any bugs.

Offline

#5 2009-01-11 19:31:03

jostein
Member
Registered: 2008-12-01
Posts: 6

Re: Amarok not working after libmysqlclient upgrade

@wonder: Thanks for the tip about the libraries, I'll keep that in mind. But I think I'm just going to go for the lazy solution with downgrading for now.

Offline

#6 2009-01-11 19:42:39

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Amarok not working after libmysqlclient upgrade

EDIT LATER:
Seems that somebody had uploaded a bad version. Now only 5.0.75 is available

Last edited by wonder (2009-01-11 21:22:09)


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2009-01-12 18:03:51

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: Amarok not working after libmysqlclient upgrade

My amarok still doesn't work, I'm still getting that error.

Regards

André

Offline

#8 2009-01-12 18:19:39

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: Amarok not working after libmysqlclient upgrade

Same.

Offline

#9 2009-01-12 18:27:07

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Amarok not working after libmysqlclient upgrade

file a bug report so your issue does not get lost. The maintainer may not read the forums.

Offline

#10 2009-01-12 19:49:05

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: Amarok not working after libmysqlclient upgrade

PS. Audacity is also affected by this.

Regards

André

Offline

#11 2009-01-12 20:58:29

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: Amarok not working after libmysqlclient upgrade

Well, I did a bug report

http://bugs.archlinux.org/task/12767?pr … &sort=desc

and I fixed my problem. It seems like my libmysqlclient package was stil version 5.1.30 and all the others were 5.0.75. So I downgraded it manually and now amarok and audacity work.

Offline

#12 2009-01-12 21:14:44

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: Amarok not working after libmysqlclient upgrade

(Thanks, i_c-Y@EFnet/#TCPA):

# $Id$
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=mysql
pkgver=5.0.75
pkgrel=1
pkgdesc="A fast SQL database server"
arch=(i686 x86_64)
backup=(etc/my.cnf etc/conf.d/mysqld)
depends=("mysql-clients>=${pkgver}" 'tcp_wrappers')
makedepends=('libtool')
url=('http://www.mysql.com/')
options=('!libtool')
optdepends=('perl-dbi' 'perl-dbd-mysql')
license=('GPL')
source=(ftp://ftp.pucpr.br/mysql/Downloads/MySQL-5.0/mysql-${pkgver}.tar.gz
    mysql-no-clients.patch
    mysqld
    my.cnf
    mysqld.conf.d)

build() {
  # PIC
  cd ${startdir}/src/${pkgname}-${pkgver}
  patch -Np1 -i ${startdir}/src/mysql-no-clients.patch || return 1

  export CFLAGS="${CFLAGS} -fPIC"
  export CXXFLAGS="${CFLAGS}"
  ./configure --prefix=/usr --libexecdir=/usr/sbin \
    --without-debug --without-docs --without-bench --without-readline \
    --with-innodb --enable-local-infile --with-openssl \
    --with-charset=latin1 --with-collation=latin1_general_ci \
    --with-extra-charsets=complex --enable-thread-safe-client \
    --with-libwrap --with-berkeley-db --with-embedded-server --with-fPIC

  # fixes
  sed -i -e 's/^.*HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE.*$/#define\ HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE/g' include/config.h || return 1
  sed -i -e 's/size_socket/socklen_t/g' sql/mysqld.cc || return 1

  pushd include || return
  make || return 1
  popd
  pushd libmysql
  make link_sources get_password.lo || return
  popd
  make || return 1
  make DESTDIR=${startdir}/pkg install
  rm -rf ${startdir}/pkg/usr/{mysql-test,sql-bench}
  install -D -m644 ../my.cnf ${startdir}/pkg/etc/my.cnf
  install -D -m755 ../mysqld ${startdir}/pkg/etc/rc.d/mysqld
  install -D -m644 ../mysqld.conf.d ${startdir}/pkg/etc/conf.d/mysqld
  rm -f ${startdir}/pkg/usr/bin/mysql_config
}
md5sums=('a234f0a60a7f8c290d9875cba3a2c5a2'
         'e892aac36cbeb57f0e003ec0936afb3b'
         '247e9fa664bccaca62ca0e42a6cfae20'
         '0ee035590ffc61d32de994f461fd2bd2'
         '4a9077fc95ec6db1d5420e0cdc74d31c')

Last edited by Wintervenom (2009-01-12 23:20:59)

Offline

#13 2009-01-12 22:17:27

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: Amarok not working after libmysqlclient upgrade

wonder wrote:

Seems that somebody had uploaded a bad version. Now only 5.0.75 is available

that would explain my pacman warnings "[libmysqlclient|mysql-clients]: local is newer than extra"

should i downgrade back to 5.0.75? i'm ssh'ed in from work right now so i don't know if my amarok is broken.

Offline

#14 2009-01-13 07:24:38

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: Amarok not working after libmysqlclient upgrade

Yeah just downgrade.

Regards

André

Offline

Board footer

Powered by FluxBB