ldconfig: Input/output error

This forum is for discussion about general software issues.

ldconfig: Input/output error

Postby theCed7 » Thu Jul 09, 2015 9:31 pm

Hi there,

I've noticed the following line while doing a pacman system update:

$this->bbcode_second_pass_code('', '
ldconfig: Cannot lstat /usr/lib/libmpc.so.3.0.0: Input/output error
')

So I've taken a close look at it, and indeed all libmpc directories seem to be corrupt:
$this->bbcode_second_pass_code('', '
[pi@alarmpi lib]$ ls -la | grep libmpc
ls: cannot access libmpc.so.3: Input/output error
ls: cannot access libmpc.so.3.0.0: Input/output error
ls: cannot access libfl_pic.so: Input/output error
lrwxrwxrwx 1 root root 15 Mar 8 06:04 libmpc.so -> ,ibmpc.so.3.0.0
l????????? ? ? ? ? ? libmpc.so.3
-????????? ? ? ? ? ? libmpc.so.3.0.0
')

I can neither remove nor reinstall libmpc:

$this->bbcode_second_pass_code('', '
[pi@alarmpi lib]$ sudo pacman -S libmpc
[sudo] password for pi:
warning: libmpc-1.0.3-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) libmpc-1.0.3-1

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

:: Proceed with installation? [Y/n]
(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%
(1/1) checking available disk space [####################] 100%
(1/1) reinstalling libmpc [####################] 100%
warning: warning given when extracting usr/lib/libmpc.so.3 (Can't create '/usr/lib/libmpc.so.3')
warning: warning given when extracting usr/lib/libmpc.so.3.0.0 (Can't create '/usr/lib/libmpc.so.3.0.0')
warning: warning given when extracting usr/include/mpc.h (Can't create '/usr/include/mpc.h')
ldconfig: Cannot lstat /usr/lib/libmpc.so.3.0.0: Input/output error
')

Any idea how to fix that error? :?:
theCed7
 
Posts: 2
Joined: Sat Jun 13, 2015 4:14 pm

Re: ldconfig: Input/output error

Postby moonman » Wed Jul 15, 2015 8:06 pm

Start with fsck of the drive, see if it helps.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am


Return to General

Who is online

Users browsing this forum: Google [Bot] and 15 guests