OCTAVE cannot read data from lib
OCTAVE cannot read data from lib
Ok, i have to post new topic on this.
I run puppy lucid 528 from USB and when,
I loaded octave sfs: /mnt/home/octave-glpk-3.2.3-i486_5.29.5.sfs
and when i type octave in terminal i get this:
octave: error while loading shared libraries: /usr/local/lib/octave-3.2.3/liboctinterp.so: cannot read file data: Input/output error
I am new to puppy. But i tried finding solution to this, and there is not solution for my version of Puppy. There are a lot of solutions for Ubuntu or other distros, but not for pup.
Does any one knows how to solve this???
I run puppy lucid 528 from USB and when,
I loaded octave sfs: /mnt/home/octave-glpk-3.2.3-i486_5.29.5.sfs
and when i type octave in terminal i get this:
octave: error while loading shared libraries: /usr/local/lib/octave-3.2.3/liboctinterp.so: cannot read file data: Input/output error
I am new to puppy. But i tried finding solution to this, and there is not solution for my version of Puppy. There are a lot of solutions for Ubuntu or other distros, but not for pup.
Does any one knows how to solve this???
Pepsis, Welcome to Pup mate.
Hmm, that IO error.. Can you open a terminal and tell us if there's output from this command:
Then take a look @ the results of this cmd ("L"dd) and note the not founds..
Saying this is where she resides.
==
If you've got a link for the pkg(?), please..
Hmm, that IO error.. Can you open a terminal and tell us if there's output from this command:
Code: Select all
du -h .Trash
Code: Select all
ldd /usr/bin/octave
==
If you've got a link for the pkg(?), please..
Semme wrote: Pepsis, Welcome to Pup mate.
Hmm, that IO error.. Can you open a terminal and tell us if there's output from this command:Then take a look @ the results of this cmd ("L"dd) and note the not founds..Code: Select all
du -h .Trash
Saying this is where she resides.Code: Select all
ldd /usr/bin/octave
==
If you've got a link for the pkg(?), please..
Yes this is the download link, the one which you posted. I forgot to provide it.
After
Code: Select all
du -h .Trash
Code: Select all
4.0K .Trash
And after
Code: Select all
ldd /usr/bin/octave
Code: Select all
ldd: /usr/bin/octave: No such file or directory
Semme wrote:That "du" works >> good.
Ah, it's: ldd /usr/local/bin/octave
.. and mine works.
Maybe we go back to that I/O error.
What's your disk setup like?
Maybe you tell me where things are?
The output here too: fdisk -l
And where this sfs is..
sh-4.1# ldd /usr/local/bin/octave
/usr/local/bin/octave: error while loading shared libraries: /usr/local/lib/octave-3.2.3/liboctinterp.so: cannot read file data: Input/output error
fdisk :
Disk /dev/sda: 8054 MB, 8054112256 bytes
256 heads, 29 sectors/track, 2118 cylinders
Units = cylinders of 7424 * 512 = 3801088 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2119 7865332 12 Compaq diagnostics
And sfs is in that mnt/home directory
I'm not sure what are you asking me.Semme wrote:OK, it's a frugal install.
Ah, from usb..
It's file system and the fs type you saved as?
Yes it is from USB, and it is frugal install. Although i am not sure what it means exactly. As i said, i'm new to all of this. I used to use ubuntu, back then whan i had HDD, but now i am forced to use puppy. and this way it is installed worked (and still is) fine for me, until i used it for comm, office, and browsing. But then i saw there is in fact very powerful software for puppy, and i decided to more explore this area. I expected difficulties, though.
It would help me if you told me why do ask all these q's since all solutions for other distros didn't include all this info.
Pardon me, was maybe getting ahead of myself.
The questions came cause I know you have that file.. Pfind should confirm. What concerned me was the I/O error, suggesting something wrong with the drive or file system in question.
Tell us, when you saved to usb, was it to the whole drive or as a save file?
Do you remember if it was saved as ext2 or 3? The: mount cmd should confirm..
Is this a generic flash drive or something like a SanDisk?
Do you have 528 as a bootable cdrom, or how is it Pup was installed in the first place?
Again, use Pfind and you'll see the file in question resides on your system with the sfs loaded..
Ideally, and short of hw, you'd wanna run an fsck (file-system-check) on the unmounted drive.
The above, or if there's an alternate usb slot >> switch.
The questions came cause I know you have that file.. Pfind should confirm. What concerned me was the I/O error, suggesting something wrong with the drive or file system in question.
Tell us, when you saved to usb, was it to the whole drive or as a save file?
Do you remember if it was saved as ext2 or 3? The: mount cmd should confirm..
Is this a generic flash drive or something like a SanDisk?
Do you have 528 as a bootable cdrom, or how is it Pup was installed in the first place?
Again, use Pfind and you'll see the file in question resides on your system with the sfs loaded..
Ideally, and short of hw, you'd wanna run an fsck (file-system-check) on the unmounted drive.
The above, or if there's an alternate usb slot >> switch.
Nevermind. :)I just want to know why are you asking me all this, because i want know, and remember.... i just need to know WHY for everything Something like Smith from matrix. Purpose, WHY. Those are my life QsSemme wrote: Pardon me, was maybe getting ahead of myself.
The questions came cause I know you have that file.. Pfind should confirm. What concerned me was the I/O error, suggesting something wrong with the drive or file system in question.
I saved it as save.2fs file. I thought it was the only way to save it. And i installed it from windows, frome daemon tool ISO mounted, and saved complete.Tell us, when you saved to usb, was it to the whole drive or as a save file?
No it is not any of ext file systems. It is fat, since i installed it like save fileDo you remember if it was saved as ext2 or 3? The: mount cmd should confirm..
Silicon power USB stick, 8GBIs this a generic flash drive or something like a SanDisk?
I answered that. Through daemon ISO.Do you have 528 as a bootable cdrom, or how is it Pup was installed in the first place?
Why am i gettin I/O error then? This is what is bugging me too. Evidently, the file is there.Again, use Pfind and you'll see the file in question resides on your system with the sfs loaded..
I didn't get this one. run FSCK and look for what? Unmounted drive? What do you mean by this. How can i check drive that is unmounted? Did i get this wrong?Ideally, and short of hw, you'd wanna run an fsck (file-system-check) on the unmounted drive.
There are no other mounted drives at instalation time fo OCTAVAThe above, or if there's an alternate usb slot >> switch.
Well, there's either a problem with the physical structure of the drive or file system corruption somewhere.
Maybe your dwnld was bad? Mine works.
You can confirm by rt-clking the file and choosing MD5sum check.
If they're the same, I'd first run a chkdsk on the drive, because I can't tell where the problem is.
If that doesn't straighten the issue, then an fsck.
To do this, you'd open a terminal on your bootdisk:
The switches >> f=force check, n=read-only check, v=verbose.
If everything returns OK, run the same, swapping a -p for the -n.
Maybe your dwnld was bad? Mine works.
You can confirm by rt-clking the file and choosing MD5sum check.
Code: Select all
f5afe98a8a8d254b3a4e8209f374ce74
If that doesn't straighten the issue, then an fsck.
To do this, you'd open a terminal on your bootdisk:
Code: Select all
e2fsck -f -n -v /dev/sda1
If everything returns OK, run the same, swapping a -p for the -n.
- Moose On The Loose
- Posts: 965
- Joined: Thu 24 Feb 2011, 14:54
Re: OCTAVE cannot read data from lib
Let me suggest an "is it plugged in sort of thing"pepsis wrote:Ok, i have to post new topic on this.
I run puppy lucid 528 from USB and when,
I loaded octave sfs: /mnt/home/octave-glpk-3.2.3-i486_5.29.5.sfs
and when i type octave in terminal i get this:
octave: error while loading shared libraries: /usr/local/lib/octave-3.2.3/liboctinterp.so: cannot read file data: Input/output error
On may system, if I type:
Code: Select all
sh-4.1# ls -l /usr/local/lib/octave-3.2.3/liboctinterp.so
lrwxrwxrwx 1 root root 21 2013-10-27 07:58 /usr/local/lib/octave-3.2.3/liboctinterp.so -> liboctinterp.so.3.2.3
Code: Select all
sh-4.1# ls -l /usr/local/lib/octave-3.2.3/liboctinterp.so.3.2.3
-rwxr-xr-x 1 root root 15025153 2009-11-30 04:19 /usr/local/lib/octave-3.2.3/liboctinterp.so.3.2.3
There can be some ways this in not true on your system most involve there being something with the same name already on the system and stuff like that that seem unlikely but it could be true.
BTW: You can save typing if you know about using the middle button. Highlight text in here and then go over to the terminal and do the middle click.