You are not logged in.

#1 2013-05-08 15:19:55

Dinesh raja
Member
Registered: 2013-05-08
Posts: 30

<solved>Pacmanxg generating ldconfig error

I am using pacmanxg now  unable to install packages via it getting this error when i try to install packages its retrieving it after that its coming as below

ldconfig: File /usr/lib/libyajl.so is empty, not checked.
ldconfig: File /usr/lib/libyajl.so.2.0.4 is empty, not checked.
ldconfig: File /usr/lib/libyajl.so.2 is empty, not checked.


Help me to fix this problem..

Last edited by Dinesh raja (2013-05-09 03:46:33)

Offline

#2 2013-05-08 16:04:39

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 347

Re: <solved>Pacmanxg generating ldconfig error

Have you tried removing those files?  Or try putting the force option on?

Offline

#3 2013-05-08 16:09:22

jakobcreutzfeldt
Member
Registered: 2011-05-12
Posts: 1,042

Re: <solved>Pacmanxg generating ldconfig error

Dinesh raja wrote:

I am unable to install packages getting this error when i try to install packages its retrieving it after that its coming as below

ldconfig: File /usr/lib/libyajl.so is empty, not checked.
ldconfig: File /usr/lib/libyajl.so.2.0.4 is empty, not checked.
ldconfig: File /usr/lib/libyajl.so.2 is empty, not checked.


Help me to fix this problem..



What's the output of pacman -Qs yajl? How about pacman -Qo /usr/lib/libyajl.so ?


Have you tried removing those files?  Or try putting the force option on?

No no no no no no no no no no no. Don't use the force option.

Offline

#4 2013-05-08 16:14:51

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,553
Website

Re: <solved>Pacmanxg generating ldconfig error

My first thought was that there was a problem with the download.  I'd clear the cache (pacman -Scc) and or remove the yajl package from /var/cache/pacman/pkg/, then try again (pacman -Syu).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2013-05-08 16:17:51

jakobcreutzfeldt
Member
Registered: 2011-05-12
Posts: 1,042

Re: <solved>Pacmanxg generating ldconfig error

Wait, are you by any chance using pacaur, which depends on cower, which depends on yajl? You know, that kind of information would be useful in the original post. Does plain pacman work?

My guess is that you're trying to install via pacaur, but something's wrong with your yajl installation, causing the linker to crap out. Try reinstalling yajl with pacman.

If you're not using pacaur, please tell us the output of pactree -r yajl

Last edited by jakobcreutzfeldt (2013-05-08 16:20:32)

Offline

#6 2013-05-08 18:04:56

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

Re: <solved>Pacmanxg generating ldconfig error

Please also use a more descriptive thread title:
https://wiki.archlinux.org/index.php/Fo … ow_to_Post


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2013-05-09 01:45:45

Dinesh raja
Member
Registered: 2013-05-08
Posts: 30

Re: <solved>Pacmanxg generating ldconfig error

I am not using pacaur and here is my output of pactree -r yajl

yajl

Offline

#8 2013-05-09 01:54:48

Dinesh raja
Member
Registered: 2013-05-08
Posts: 30

Re: <solved>Pacmanxg generating ldconfig error

when i tried installing the yajl using my pacmanxg i got this error

=====================================================
=> EXECUTE: pacman -S  extra/yajl --color never
=====================================================
warning: yajl-2.0.4-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
error: could not open file /var/lib/pacman/local/inkscape-0.48.4-6/desc: No such file or directory

Packages (1): yajl-2.0.4-1

Total Installed Size:   0.22 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
error: failed to commit transaction (conflicting files)
yajl: /usr/bin/json_reformat exists in filesystem
yajl: /usr/bin/json_verify exists in filesystem
yajl: /usr/include/yajl/yajl_common.h exists in filesystem
yajl: /usr/include/yajl/yajl_gen.h exists in filesystem
yajl: /usr/include/yajl/yajl_parse.h exists in filesystem
yajl: /usr/include/yajl/yajl_tree.h exists in filesystem
yajl: /usr/include/yajl/yajl_version.h exists in filesystem
yajl: /usr/lib/libyajl.so exists in filesystem
yajl: /usr/lib/libyajl.so.2 exists in filesystem
yajl: /usr/lib/libyajl.so.2.0.4 exists in filesystem
yajl: /usr/lib/libyajl_s.a exists in filesystem
yajl: /usr/share/licenses/yajl/LICENSE exists in filesystem
yajl: /usr/share/pkgconfig/yajl.pc exists in filesystem
Errors occurred, no packages were upgraded.

=> Process completed

Offline

#9 2013-05-09 01:57:48

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

Re: <solved>Pacmanxg generating ldconfig error

And what happens when you use pacman?

Before posting here, you should always try and eliminate errors that may have crept in through unsupported applications...

Also, please use code tags when pasting to the boards
https://wiki.archlinux.org/index.php/Fo … s_and_Code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2013-05-09 02:18:36

Dinesh raja
Member
Registered: 2013-05-08
Posts: 30

Re: <solved>Pacmanxg generating ldconfig error

Sorry i am new to arch and its forums and i assure you that i will follow the forum rules smile and here is the error which i got while using pacmanxg for installing yajl

PacmanXg error output

Last edited by Dinesh raja (2013-05-09 02:21:12)

Offline

#11 2013-05-09 02:50:51

proudzhu
Member
Registered: 2012-09-13
Posts: 17

Re: <solved>Pacmanxg generating ldconfig error

Offline

#12 2013-05-09 02:53:16

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

Re: <solved>Pacmanxg generating ldconfig error

pacman != pacmanxg

Stop using the wrapper and just use the official Arch package manager.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2013-05-09 03:36:28

Dinesh raja
Member
Registered: 2013-05-08
Posts: 30

Re: <solved>Pacmanxg generating ldconfig error

here is the output of pacman -S yajl

pacman error

Offline

#14 2013-05-09 03:38:23

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

Re: <solved>Pacmanxg generating ldconfig error


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#15 2013-05-09 03:45:47

Dinesh raja
Member
Registered: 2013-05-08
Posts: 30

Re: <solved>Pacmanxg generating ldconfig error

Thank you jasonwryan i have fixed the problem by using sudo pacman -S --force yajl,i got it done.thank you all!

Offline

Board footer

Powered by FluxBB