You are not logged in.

#1 2010-10-09 03:22:56

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

installation error

Tried to instal ledeapperance but got this error msg:
/sbin/ldconfig: /usr/lib/libavcodec.so.52 is not an ELF file - it has the wrong magic bytes at the start.
How to correct this ?


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#2 2010-10-09 03:53:47

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

Re: installation error

did you run out of disk space?

Offline

#3 2010-10-15 01:57:27

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: installation error

No. df gives this:


Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda5             19228276   6111512  12140016  34% /
udev                     10240       176     10064   2% /dev
shm                     223264       140    223124   1% /dev/shm
/dev/sda7            115210064  76340192  38869872  67% /mnt/backup

Arch is in sda5.

Last edited by varaahan (2010-10-15 01:57:48)


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#4 2010-10-16 09:54:02

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

Re: installation error

reinstall ffmpeg


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

Offline

#5 2010-10-16 12:27:43

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: installation error

[root@myhost sridhar]# pacman -S ffmpeg
resolving dependencies...
looking for inter-conflicts...

Targets (1): ffmpeg-25472-1

Total Download Size:    0.00 MB
Total Installed Size:   15.63 MB

Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts                                                   [################################################] 100%
error: failed to commit transaction (conflicting files)
ffmpeg: /usr/bin/ffplay exists in filesystem
ffmpeg: /usr/bin/ffprobe exists in filesystem
ffmpeg: /usr/bin/ffserver exists in filesystem
ffmpeg: /usr/bin/qt-faststart exists in filesystem
ffmpeg: /usr/include/libavcodec/avcodec.h exists in filesystem
ffmpeg: /usr/include/libavcodec/avfft.h exists in filesystem
ffmpeg: /usr/include/libavcodec/dxva2.h exists in filesystem
ffmpeg: /usr/include/libavcodec/opt.h exists in filesystem
ffmpeg: /usr/include/libavcodec/vaapi.h exists in filesystem
ffmpeg: /usr/include/libavcodec/vdpau.h exists in filesystem
ffmpeg: /usr/include/libavcodec/xvmc.h exists in filesystem
ffmpeg: /usr/include/libavcore/avcore.h exists in filesystem
ffmpeg: /usr/include/libavcore/imgutils.h exists in filesystem
ffmpeg: /usr/include/libavcore/parseutils.h exists in filesystem
ffmpeg: /usr/include/libavdevice/avdevice.h exists in filesystem
ffmpeg: /usr/include/libavfilter/avfilter.h exists in filesystem
ffmpeg: /usr/include/libavformat/avformat.h exists in filesystem
ffmpeg: /usr/include/libavformat/avio.h exists in filesystem
ffmpeg: /usr/include/libavutil/adler32.h exists in filesystem
ffmpeg: /usr/include/libavutil/attributes.h exists in filesystem
ffmpeg: /usr/include/libavutil/avconfig.h exists in filesystem
ffmpeg: /usr/include/libavutil/avstring.h exists in filesystem
ffmpeg: /usr/include/libavutil/avutil.h exists in filesystem
ffmpeg: /usr/include/libavutil/base64.h exists in filesystem
ffmpeg: /usr/include/libavutil/bswap.h exists in filesystem
ffmpeg: /usr/include/libavutil/common.h exists in filesystem
ffmpeg: /usr/include/libavutil/crc.h exists in filesystem
ffmpeg: /usr/include/libavutil/error.h exists in filesystem
ffmpeg: /usr/include/libavutil/eval.h exists in filesystem
ffmpeg: /usr/include/libavutil/fifo.h exists in filesystem
ffmpeg: /usr/include/libavutil/intfloat_readwrite.h exists in filesystem
ffmpeg: /usr/include/libavutil/intreadwrite.h exists in filesystem
ffmpeg: /usr/include/libavutil/lfg.h exists in filesystem
ffmpeg: /usr/include/libavutil/log.h exists in filesystem
ffmpeg: /usr/include/libavutil/lzo.h exists in filesystem
ffmpeg: /usr/include/libavutil/mathematics.h exists in filesystem
ffmpeg: /usr/include/libavutil/md5.h exists in filesystem
ffmpeg: /usr/include/libavutil/mem.h exists in filesystem
ffmpeg: /usr/include/libavutil/pixdesc.h exists in filesystem
ffmpeg: /usr/include/libavutil/pixfmt.h exists in filesystem
ffmpeg: /usr/include/libavutil/random_seed.h exists in filesystem
ffmpeg: /usr/include/libavutil/rational.h exists in filesystem
ffmpeg: /usr/include/libavutil/sha1.h exists in filesystem
ffmpeg: /usr/include/libpostproc/postprocess.h exists in filesystem
ffmpeg: /usr/include/libswscale/swscale.h exists in filesystem
ffmpeg: /usr/lib/libavcodec.a exists in filesystem
ffmpeg: /usr/lib/libavcodec.so exists in filesystem
ffmpeg: /usr/lib/libavcodec.so.52 exists in filesystem
ffmpeg: /usr/lib/libavcore.a exists in filesystem
ffmpeg: /usr/lib/libavcore.so exists in filesystem
ffmpeg: /usr/lib/libavcore.so.0 exists in filesystem
ffmpeg: /usr/lib/libavdevice.a exists in filesystem
ffmpeg: /usr/lib/libavdevice.so exists in filesystem
ffmpeg: /usr/lib/libavdevice.so.52 exists in filesystem
ffmpeg: /usr/lib/libavfilter.a exists in filesystem
ffmpeg: /usr/lib/libavfilter.so exists in filesystem
ffmpeg: /usr/lib/libavfilter.so.1 exists in filesystem
ffmpeg: /usr/lib/libavformat.a exists in filesystem
ffmpeg: /usr/lib/libavformat.so exists in filesystem
ffmpeg: /usr/lib/libavformat.so.52 exists in filesystem
ffmpeg: /usr/lib/libavutil.a exists in filesystem
ffmpeg: /usr/lib/libavutil.so exists in filesystem
ffmpeg: /usr/lib/libavutil.so.50 exists in filesystem
ffmpeg: /usr/lib/libpostproc.a exists in filesystem
ffmpeg: /usr/lib/libpostproc.so exists in filesystem
ffmpeg: /usr/lib/libpostproc.so.51 exists in filesystem
ffmpeg: /usr/lib/libpostproc.so.51.2.0 exists in filesystem
ffmpeg: /usr/lib/libswscale.a exists in filesystem
ffmpeg: /usr/lib/libswscale.so exists in filesystem
ffmpeg: /usr/lib/libswscale.so.0 exists in filesystem
ffmpeg: /usr/lib/pkgconfig/libavcodec.pc exists in filesystem
ffmpeg: /usr/lib/pkgconfig/libavcore.pc exists in filesystem
ffmpeg: /usr/lib/pkgconfig/libavdevice.pc exists in filesystem
ffmpeg: /usr/lib/pkgconfig/libavfilter.pc exists in filesystem
ffmpeg: /usr/lib/pkgconfig/libavformat.pc exists in filesystem
ffmpeg: /usr/lib/pkgconfig/libavutil.pc exists in filesystem
ffmpeg: /usr/lib/pkgconfig/libpostproc.pc exists in filesystem
ffmpeg: /usr/lib/pkgconfig/libswscale.pc exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-baseline.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-fast.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-fast_firstpass.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-faster.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-faster_firstpass.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-ipod320.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-ipod640.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-lossless_fast.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-lossless_max.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-lossless_medium.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-lossless_slow.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-lossless_slower.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-lossless_ultrafast.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-main.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-medium.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-medium_firstpass.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-placebo.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-placebo_firstpass.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-slow.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-slow_firstpass.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-slower.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-slower_firstpass.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-superfast.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-superfast_firstpass.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-ultrafast.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-ultrafast_firstpass.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-veryfast.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-veryfast_firstpass.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-veryslow.ffpreset exists in filesystem
ffmpeg: /usr/share/ffmpeg/libx264-veryslow_firstpass.ffpreset exists in filesystem
ffmpeg: /usr/share/man/man1/ffmpeg.1.gz exists in filesystem
ffmpeg: /usr/share/man/man1/ffplay.1.gz exists in filesystem
ffmpeg: /usr/share/man/man1/ffprobe.1.gz exists in filesystem
ffmpeg: /usr/share/man/man1/ffserver.1.gz exists in filesystem
Errors occurred, no packages were upgraded.
"

ffmpeg is not installed.


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#6 2010-10-16 12:33:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: installation error

Pacman doesn't have those files in the database so it's throwing an error. How did you install that ffmpeg: did you compile it by hand?

Please use [ code ] tags when pasting code https://bbs.archlinux.org/help.php#bbcode

Offline

#7 2010-10-16 12:34:30

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: installation error

Check what owns these files with -Qo

Offline

#8 2010-10-16 13:27:46

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: installation error

[root@myhost sridhar]# pacman -Qo ffmpeg
error: failed to find 'ffmpeg' in PATH: No such file or directory

karol: I tried to install ffmpeg by pacman.

[root@myhost sridhar]# pacman -S ffmpeg
resolving dependencies...
looking for inter-conflicts...

Targets (1): ffmpeg-25472-1

Total Download Size:    0.00 MB
Total Installed Size:   15.63 MB

Proceed with installation? [Y/n] 

Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#9 2010-10-16 13:30:59

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: installation error

I meant to check the files in your filesystem conflicting with ffmpeg, e.g. "pacman -Qo /usr/bin/ffplay"

Offline

#10 2010-10-16 13:31:56

Dogmeat
Member
From: Slovak Republic
Registered: 2009-02-24
Posts: 193

Re: installation error

pacman -Qo /usr/bin/ffplay

will show you what package (if any) owns that file.

To install ffmpeg by force do:

 pacman -Sf ffmpeg

Offline

#11 2010-10-16 13:36:36

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: installation error

pacman gives this:

[root@myhost sridhar]# pacman -Qo /usr/bin/ffplay
error: No package owns /usr/bin/ffplay

force installation gave this:

[root@myhost sridhar]# pacman -Sf ffmpeg
resolving dependencies...
looking for inter-conflicts...

Targets (1): ffmpeg-25472-1

Total Download Size:    0.00 MB
Total Installed Size:   15.63 MB

Proceed with installation? [Y/n] y
checking package integrity...
(1/1) installing ffmpeg                                                             [################################################] 100%
/sbin/ldconfig: /usr/lib/libavutil.so.50.24.0 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libavfilter.so.1.38.1 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libavformat.so.52.78.3 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libavdevice.so.52.2.1 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libswscale.so.0.11.0 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libavcodec.so.52.87.0 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libavcore.so.0.6.0 is not an ELF file - it has the wrong magic bytes at the start.

Last edited by varaahan (2010-10-16 13:49:40)


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#12 2010-10-16 13:47:38

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: installation error

Either you previously  installed ffmpeg manually bypassing pacman, or your package database got corrupted somehow.
If you can't manually "deinstall" the old ffmpeg, you will have to force pacman to install it.
I don't think it will lead to problems in this case, but you should check why this happens and if your package database is sane.

Offline

#13 2010-10-16 13:51:54

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: installation error

Never installed any package without using pacman.

I am still averse to CLI tongue

Last edited by varaahan (2010-10-16 13:52:13)


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#14 2010-10-16 14:00:22

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: installation error

You can't install a package without pacman... Well, you can, but then pacman won't see it as installed, so it will only lead to problems. Remove the existing files, or use --force to make pacman ignore the files present.

And 'being averse to CLI' doesn't exactly rhyme with using Arch Linux does it wink. Over four years of being registered here, and still afraid of a terminal, or not knowing how pacman -Qo needs to be used? You must be kidding me.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#15 2010-10-16 14:07:31

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: installation error

Not kidding my friend!
I have a disease of forgetfulness which makes remembering commands a little bit difficult.
For example I had been using Arch for a long time and in between my system crashed and I had to replace my motherboard , processor etc. And I felt it hard to install Arch even though I was using it previously. And the wiki and help pages baled me out of the crisis.
Naturally I use CLI only when it is absolutely necessary.
And I love Arch because of its simplicity and speed.


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#16 2010-10-16 14:26:19

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: installation error

Maybe you should keep notes on handy commands then. Always helps smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#17 2010-10-17 02:45:21

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: installation error

Tried to reinstall ffmpeg but still unsuccessful.

[root@myhost sridhar]# pacman -Sd ffmpeg
warning: ffmpeg-25472-1 is up to date -- reinstalling
looking for inter-conflicts...

Targets (1): ffmpeg-25472-1

Total Download Size:    0.00 MB
Total Installed Size:   15.63 MB

Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts                  [#####################] 100%
(1/1) upgrading ffmpeg                             [#####################] 100%
/sbin/ldconfig: /usr/lib/libavutil.so.50.24.0 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libavfilter.so.1.38.1 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libavformat.so.52.78.3 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libavdevice.so.52.2.1 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libswscale.so.0.11.0 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libavcodec.so.52.87.0 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libavcore.so.0.6.0 is not an ELF file - it has the wrong magic bytes at the start.

Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#18 2010-10-17 16:23:16

theapodan
Member
From: Virginia, USA
Registered: 2008-10-21
Posts: 116

Re: installation error

On my machine, ffmpeg-25472 includes other versions of these libraries, for example:

[rek@mobilerob ~]$ pacman -Qo /usr/lib/libavcodec.so*
/usr/lib/libavcodec.so is owned by ffmpeg 25472-1
/usr/lib/libavcodec.so.52 is owned by ffmpeg 25472-1
/usr/lib/libavcodec.so.52.92.0 is owned by ffmpeg 25472-1c.so.52.92.0
/usr/lib/libavcodec.so.52.92.0 is owned by ffmpeg 25472-1

Whereas your ldconfig error describes /usr/lib/libavcodec.so.52.87.0

I think that you have some stale libraries that for some reasons stuck around, perhaps as a result of some corruption in the pacman database.  The only reason you are getting the error is that pacman runs an ldconfig.  If you ran an ldconfig by itself, you'd get the same error, I imagine.

Try removing the stale libraries:

sudo rm /usr/lib/libavutil.so.50.24.0  /usr/lib/libavfilter.so.1.38.1 /usr/lib/libavformat.so.52.78.3 /usr/lib/libavdevice.so.52.2.1 /usr/lib/libswscale.so.0.11.0  /usr/lib/libavcodec.so.52.87.0  /usr/lib/libavcore.so.0.6.0

However, as an aside, this problem may have arisen as a result of some filesystem corruption.

Offline

Board footer

Powered by FluxBB