You are not logged in.

#1 2008-12-10 23:44:31

rfer
Member
Registered: 2008-05-05
Posts: 6

Mplayer libhx problem

Hey everyone!

Just after doing my regular update, it happens that now mplayer won't even run...I get this:

mplayer: error while loading shared libraries: libhx509.so.3: cannot open shared object file: No such file or directory

I installed libhx from AUR, but that wouldn't solve it...

Tried to look around, but I guess no one has this problem..Ideas?

Offline

#2 2008-12-10 23:53:30

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Mplayer libhx problem

You'll need to rebuild Mplayer against the version of libhx that you have installed on your system.

Offline

#3 2008-12-11 13:41:12

rfer
Member
Registered: 2008-05-05
Posts: 6

Re: Mplayer libhx problem

Yeah, it was still complaining though.

Had to create a symlink pointing to libhx509.so.4, as libhx509.so.3 didn't exist...

Offline

#4 2008-12-11 15:40:39

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Mplayer libhx problem

Symlinking is never good practice. You can break other things without noticing it.

libhx509 belongs to heimdal and is at so.3 on my system. Are you using testing?

Offline

#5 2008-12-11 20:54:54

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Mplayer libhx problem

I looks like you have mplayer from [testing] but heimdal form [core].

Offline

#6 2008-12-12 09:34:22

rfer
Member
Registered: 2008-05-05
Posts: 6

Re: Mplayer libhx problem

Allan wrote:

I looks like you have mplayer from [testing] but heimdal form [core].

It was actually the other way around lol I enabled testing to install something and heimdal was probably upgrade while using it.

Just downgraded heimdal to core and it's working fine now without the need for the symlink.

Thanks for the help!

Last edited by rfer (2008-12-12 09:34:35)

Offline

#7 2008-12-13 15:17:09

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: Mplayer libhx problem

Though I'm using mplayer from [extra], I upgraded heimdal today from [core], and I actually got that same problem the OP had. Downgrading to the previous version solved it.

Offline

#8 2008-12-13 15:22:40

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Mplayer libhx problem

there is also an update for mplayer.  Wait for your mirror to sync.

Offline

#9 2008-12-14 21:16:14

matchil
Member
From: Poland
Registered: 2006-11-06
Posts: 56

Re: Mplayer libhx problem

Hi.
The problem seems to still be there. I have both mplayer and heimdal from last upgrade and mplayer yields about the libhx hmm Any fix? Maybe mplayer looks for it somewhere else?

[matchil@ichi ~]$ mplayer movie.avi 
mplayer: error while loading shared libraries: libhx509.so.3: cannot open shared object file: No such file or directory
[matchil@ichi  ~]$ locate libhx
/usr/lib/libhx509.a
/usr/lib/libhx509.so
/usr/lib/libhx509.so.3
/usr/lib/libhx509.so.3.0.0

Offline

#10 2008-12-14 23:37:29

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Mplayer libhx problem

You should have libhx509.so.4.  What arch are you using?  Also, give the versions of heimdal and mplayer you have installed.

Offline

#11 2008-12-15 18:09:25

matchil
Member
From: Poland
Registered: 2006-11-06
Posts: 56

Re: Mplayer libhx problem

I have: heimdal-1.2.1-2 and mplayer-1.0rc2-9 on i686 Arch. All up-to-date. When I downgrade to heimdal-1.2-2-i686.pkg.tar.gz (unfortunately with -Ud), mplayer works.

Last edited by matchil (2008-12-15 18:11:00)

Offline

#12 2008-12-15 20:35:01

sparchy
Member
From: arizona, usa
Registered: 2007-11-20
Posts: 32

Re: Mplayer libhx problem

Same problem here but I think it's because I haven't upgraded to the new smbclient-3.2.5-2 yet which needs heimdal-1.2.1-2.  I rebuilt mplayer with --disable-smb added to the configure options in the PKGBUILD and it's working again.  What version of smbclient is everyone running.  I think --enable-smb is a default option for mplayer.
Here is what i got installed
smbclient 3.2.5-1 most recent is 3.2.5-2
heimdal 1.2.1-2
mplayer 1.0rc2-9 <-custom built with --disable-smb

Offline

#13 2008-12-15 22:35:48

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Mplayer libhx problem

There were quite a few rebuilds for heimdal so if you don't update everything, then you will have a mixture of packages linking to libhx509.s0.3 and libhx509.so.4.  What is the point of keeping, and working around, a smbclient package that does not work?

Offline

#14 2008-12-16 00:23:07

matchil
Member
From: Poland
Registered: 2006-11-06
Posts: 56

Re: Mplayer libhx problem

Ok. Upgrading smbclient did the charm. Maybe when upgrading mplayer it should force you to upgrade smbclient to?
Anyways problem solved.
Thanks sparchy for the tip.

Offline

#15 2008-12-16 00:35:00

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Mplayer libhx problem

matchil wrote:

Ok. Upgrading smbclient did the charm. Maybe when upgrading mplayer it should force you to upgrade smbclient to?
Anyways problem solved.
Thanks sparchy for the tip.

Keep in mind matchil that Arch is designed to be upgraded all together; To keep rolling. Upgrading things in pieces will eventually leave the system inoperable.

Offline

#16 2008-12-16 02:10:16

sparchy
Member
From: arizona, usa
Registered: 2007-11-20
Posts: 32

Re: Mplayer libhx problem

Allan wrote:

There were quite a few rebuilds for heimdal so if you don't update everything, then you will have a mixture of packages linking to libhx509.s0.3 and libhx509.so.4.  What is the point of keeping, and working around, a smbclient package that does not work?

Not keeping anything, just that I'm on a slow connection most of the time(modem..argh), practically never use samba so it's a lower priority for me to upgrade it right now, already had mplayer sources and nearly always custom compile mplayer because there are other switches (nas,etc.,) that I like to use.  So your point is right, everybody should upgrade or you get a broken system lol

Offline

#17 2008-12-16 17:40:15

minus
Member
Registered: 2007-12-20
Posts: 21

Re: Mplayer libhx problem

I have the same problem, but for me it is "mplayer: error while loading shared libraries: libhx509.so.1: cannot open shared object file: No such file or directory". Same issues for ssh or evolution. I updated the whole system.

Last edited by minus (2008-12-16 17:42:41)

Offline

#18 2008-12-17 01:01:19

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Mplayer libhx problem

Are you sure?  What version of mplayer do you have (pacman -Q mplayer).  It should be mplayer 1.0rc2-9

Offline

#19 2008-12-17 10:28:36

minus
Member
Registered: 2007-12-20
Posts: 21

Re: Mplayer libhx problem

I am having mplayer 1.0rc2-9. I also made a bug report for this, but Allan told me that my system is really broken sad

Does anyone have an idea what to do instead of reinstalling a complete arch?

Offline

#20 2008-12-17 11:30:37

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Mplayer libhx problem

You don't happen to have a symlink in /usr/lib to do with libhx509.so.1?

minus wrote:

but Allan told me that my system is really broken

Did I?

Edit:  No I didn't!  It was Jan big_smile

Offline

#21 2008-12-17 11:41:50

minus
Member
Registered: 2007-12-20
Posts: 21

Re: Mplayer libhx problem

Oh, I'm sorry. I thought it was you smile

edit:
I just checked the following:
> ldd /usr/bin/ssh
    linux-gate.so.1 =>  (0xb7f42000)
    libkafs.so.0 => /usr/lib/libkafs.so.0 (0xb7f10000)
    libresolv.so.2 => /lib/libresolv.so.2 (0xb7efb000)
    libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7daa000)
    libutil.so.1 => /lib/libutil.so.1 (0xb7da6000)
    libz.so.1 => /usr/lib/libz.so.1 (0xb7d92000)
    libnsl.so.1 => /lib/libnsl.so.1 (0xb7d7b000)
    libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7d48000)
    libgssapi.so.2 => /usr/lib/libgssapi.so.2 (0xb7d20000)
    libheimntlm.so.0 => /usr/lib/libheimntlm.so.0 (0xb7d1b000)
    libkrb5.so.25 => /usr/lib/libkrb5.so.25 (0xb7c5a000)
    libhx509.so.4 => /usr/lib/libhx509.so.4 (0xb7c1f000)
    libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7c1c000)
    libasn1.so.8 => /usr/lib/libasn1.so.8 (0xb7ba0000)
    libwind.so.0 => /usr/lib/libwind.so.0 (0xb7b78000)
    libroken.so.18 => /usr/lib/libroken.so.18 (0xb7b66000)
    libdl.so.2 => /lib/libdl.so.2 (0xb7b62000)
    libpthread.so.0 => /lib/libpthread.so.0 (0xb7b4a000)
    libc.so.6 => /lib/libc.so.6 (0xb7a03000)
    libkrb5.so.22 => /usr/lib/libkrb5.so.22 (0xb79a6000)
    /lib/ld-linux.so.2 (0xb7f43000)
    libhx509.so.1 => not found

It looks very strange, ssh needs libhx509.so.4 AND libhx509.so.1...

Last edited by minus (2008-12-17 11:52:08)

Offline

#22 2008-12-18 02:20:31

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,577

Re: Mplayer libhx problem

Hello, I have a similar problem... recently, sshd stopped starting (LOL). The error is:

/usr/sbin/sshd: error while loading shared libraries: libhx509.so.3: cannot open shared object file: No such file or directory

Odd. I searched for said file, and found it in /opt/lib32/usr/lib/. It is a symlink to libhx509.so.3.0.0, and there's also a libhx509.so, which is symlinked to the same file. pac-file reported it to be part of lib32-heimdal. I reinstalled both heimdal and lib32-heimdal, to no effect. I also tried re-sourcing my profile and even a reboot.

Thanks for any help!

Offline

#23 2008-12-18 02:54:29

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Mplayer libhx problem

Looks like lib32-heimdal needs updated.

Offline

#24 2008-12-18 04:23:29

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,577

Re: Mplayer libhx problem

As in I should flag for updating or as in I don't have the latest version (I do)?

EDIT: Disregard, I see.

EDIT 2: Updating using this updated PKGBUILD does not fix the problem? It downloads and installs fine, but now there is no libhx509.so.3... just .so and .so.4, which are symlinks to .so.4.0.0. Same error message after reboot. I tried making .so.3, a symlink, but that didn't fix it either.

# $Id: PKGBUILD,v 1.1 2008/12/05 09:30:56 Neverth Exp $
# Contributor: webjdm <web.jdm@gmail.com>
# Maintainer: Mikko Seppälä <t-r-a-y@mbnet.fi>

_pkgsourcename=heimdal
pkgname=lib32-$_pkgsourcename
pkgver=1.2.1
pkgrel=2
pkgdesc="Heimdal Kerberos V5 libraries"
arch=('x86_64')
url="http://www.pdc.kth.se/heimdal/"
license=('BSD')
groups='lib32'
depends=('lib32-e2fsprogs' 'lib32-openssl' 'lib32-db')
source=(ftp://ftp.archlinux.org/core/os/i686/${_pkgsourcename}-${pkgver}-${pkgrel}-i686.pkg.tar.gz)
md5sums=('6dbe69bfd92dc480aaf6753aaa3cbdca')

build() {
  mkdir -p ${startdir}/pkg/opt/lib32/usr/lib
  cp -rPf ${startdir}/src/usr/lib/*.so* ${startdir}/pkg/opt/lib32/usr/lib
}

Last edited by Ranguvar (2008-12-18 11:25:33)

Offline

#25 2008-12-19 16:15:09

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,577

Re: Mplayer libhx problem

Bump for help, please smile

Offline

Board footer

Powered by FluxBB