LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   No ark archiver!! (https://www.linuxquestions.org/questions/slackware-14/no-ark-archiver-479831/)

dmcbeing 09-02-2006 04:07 PM

No ark archiver!!
 
Hello everybody.

I am relatively new to linux as such i have some problems :P.
The main problem i have is with ark the default graphical equivalent to tar ( or so i think :D ) anyway i did an install of my old slackware 10.1 and i soon found out that ark was problematic.
Each time i wanted to open a file it would output an error(cant remeber what it was).Anyway i thought that the package wasnt installed right so.... i removed it with Kpackage and then tried to reinstall it from the cd.However Kpackage says:
/sbin/ldconfig: /opt/kde/lib/liblocalkonnector.so is not an ELF file - it has the wrong magic bytes at the start.
hmm Right what exactly are those *magic* bytes anyway ?
Any help would be deeply appreciated.

PS:i also want to install k3b for writing some cds's(Slackware 1.2 :P)
but cant get to it :S.Know any alternative? Thanks

theoffset 09-02-2006 05:53 PM

Quote:

Originally Posted by dmcbeing
Hello everybody.

I am relatively new to linux as such i have some problems :P.
The main problem i have is with ark the default graphical equivalent to tar ( or so i think :D ) anyway i did an install of my old slackware 10.1 and i soon found out that ark was problematic.
Each time i wanted to open a file it would output an error(cant remeber what it was).Anyway i thought that the package wasnt installed right so.... i removed it with Kpackage and then tried to reinstall it from the cd.However Kpackage says:
/sbin/ldconfig: /opt/kde/lib/liblocalkonnector.so is not an ELF file - it has the wrong magic bytes at the start.
hmm Right what exactly are those *magic* bytes anyway ?
Any help would be deeply appreciated.

Those *magic* bytes are a special sequence of bytes, usually at the beginning of the file, which basically tell what a file is. (i.e. interpreted executables have the '#!' magic bytes at start, followed by the interpreter, this *magic* bytes are read when trying to execute and if they are present, then the correct thing is done).

So this means that your library is missing the ELF magic bytes ("ELF4\01\01", in my local copy of liblocalkonnector.so, I've never get to read on the ELF structure so I can't tell for sure which are the ELF magic bytes).

And this actually is telling you that such file is corrupt. My recomendation would be to reinstall the kdepim package (at least that's where liblocalkonnector.so comes with Slack -current).

From a console (it's recomendable to don't run KDE when doing this)
Code:

removepkg kdepim
wget http://slackware.osuosl.org/slackware-10.1/slackware/kde/kdepim-3.3.2-i486-1.tgz
installpkg kdepim-3.3.2-i486-1.tgz
# remove stale package
rm kdepim-3.3.2-i486-1.tgz

But I don't know what has liblocalkonnector to do with KPackage. Just avoid it and use a console and pkgtool or upgradepkg/installpkg/removepkg to manage your package needs.

Quote:

PS:i also want to install k3b for writing some cds's(Slackware 1.2 :P)
but cant get to it :S.Know any alternative? Thanks
k3b comes under extra/ in your second Slack CD.
Code:

wget http://slackware.osuosl.org/slackware-10.1/extra/k3b/k3b-0.11.19-i486-1.tgz
installpkg k3b-0.11.19-i486-1.tgz
rm k3b-0.11.19-i486-1.tgz


dmcbeing 09-03-2006 04:53 AM

Gona try all that thanks in advance :)


All times are GMT -5. The time now is 07:23 AM.