Page 1 of 1

File too short...!!

Posted: Thu 19 Jun 2008, 19:36
by tritonas00
Hi all!!Please explain me something..!!Some pet packages that i install has some missing libraries.Ok.I go to http://puppylinux.ca/ttuuxxx/ and i put the missisng libraries then when i run the program it says "error opening the xxxxx library,file to short!


What does that means??What am i doing wrong??

Thanks and sorry for but english. :) :)

Posted: Thu 19 Jun 2008, 19:44
by Caneri
Hi tritonas00,

Would you tell me which lib and I'll look into this in case it is a server problem.
EDIT: you're English is ok. Not to worry as there are lots of non English speakers here.

Best,
Eric

Posted: Thu 19 Jun 2008, 19:46
by ttuuxxx
It could be that he installed the system link and not the actual library
, Its easy to make that mistake.
ttuuxxx

Posted: Thu 19 Jun 2008, 19:50
by Caneri
Hi ttuuxxx,

yup I could do that too..lol

Eric

Posted: Thu 19 Jun 2008, 19:52
by tritonas00
i just download the missing lib file and copy it to the lib folder with the other libraries.The program see it but it cant load it!

Posted: Fri 20 Jun 2008, 00:49
by muggins
tritonas00,

I've also encountered this error and, while I'm not certain, I think it's because the library was compiled against a different glibc version. You can try running ldconfig, or look for the particular library from a source closer to the pupversion you're running.

Can you give some examples of programs you're trying to get running, and library files that are too short?

Posted: Fri 20 Jun 2008, 02:48
by tritonas00
here is an example...I install gslapt.pup it installs fine.Then when i run it i get this:error while loading shared libraries:/usr/lib/libidn.so.11: file too short


(Also i downloaded ldconfig.pup installs fine but when i run it says file not found ...lol!


I havent problems with the most of packages but there are some that give me "file too short"!

I have dingo running on amd k6 450 mhz and 160 mb ram and runs very very very well!!)

Posted: Fri 20 Jun 2008, 03:20
by muggins
Which pupversion are you using? Is this the only example where you've encountered this?

Posted: Fri 20 Jun 2008, 03:34
by muggins
I just had a quick look at my pup4 install, and I've got libidn.so.11 as a symlink to my pup2.16 partition, so I've used it at some stage for something or other? Anyway, I've gzipped it up here for you to try. Just extract to /, and let us know if it has the same problems.

Posted: Fri 20 Jun 2008, 04:38
by tritonas00
muggins wrote:I just had a quick look at my pup4 install, and I've got libidn.so.11 as a symlink to my pup2.16 partition, so I've used it at some stage for something or other? Anyway, I've gzipped it up here for you to try. Just extract to /, and let us know if it has the same problems.




Thanks!!! That fixed it

But what about other programs??Is there a general guide to fix this problem?Or a package manager that automatically downloads and fixes dependencies??

Posted: Fri 20 Jun 2008, 07:28
by muggins
The only general guideline I can think of is to try & download packages that have been compiled on pupversions as close as possible to the one you're using.

And straight away this is invalidated by your libidn example where you're using pup4, I think ttuxxx compiled the first version using pup3, but the one I uploaded is from pup2!

Once you're more familiar with puppy & linux, you'll be comfortable either importing libraries from other linux versions, or compiling them yourself.

Posted: Fri 20 Jun 2008, 15:44
by tritonas00
muggins wrote:The only general guideline I can think of is to try & download packages that have been compiled on pupversions as close as possible to the one you're using.

And straight away this is invalidated by your libidn example where you're using pup4, I think ttuxxx compiled the first version using pup3, but the one I uploaded is from pup2!

Once you're more familiar with puppy & linux, you'll be comfortable either importing libraries from other linux versions, or compiling them yourself.



Ok thanks!!!Now i understand..