Bug: mkswap
Posted: Wed 27 Mar 2013, 15:11
I am running Precise-5.5 Live on AMD 2800+ 4GB RAM and wanted to create a 4GB Swap file:
and received this error message:
mkswap: /lib/libblkid.so.1: version `BLKID_2.21' not found (required by mkswap)
None the less the lib is present in /lib/
Is there a patch out there for this?
--------------------------------------------------------------
SOLVED:
Since libblkid is part of util-linux, i downloaded:
http://ftp.de.debian.org/debian/pool/ma ... rig.tar.gz
cd to swapfile directory
Setting up swapspace version 1, size = 4194300 KiB
no label, UUID=WhatEverNumbersDashesAndLetters
Cheers,
PsiKlops
Code: Select all
dd if=/dev/zero of=swapfile bs=1M count=4000
Code: Select all
mkswap swapfile
mkswap: /lib/libblkid.so.1: version `BLKID_2.21' not found (required by mkswap)
None the less the lib is present in /lib/
Is there a patch out there for this?
--------------------------------------------------------------
SOLVED:
Since libblkid is part of util-linux, i downloaded:
http://ftp.de.debian.org/debian/pool/ma ... rig.tar.gz
Code: Select all
tar xfz util-linux_2.20.1.orig.tar.gz
Code: Select all
cd util-linux-2.20.1
Code: Select all
./configure && make && make install
Code: Select all
mkswap swapfile
no label, UUID=WhatEverNumbersDashesAndLetters
Cheers,
PsiKlops