Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 17 Sep 2014, 17:57
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
File too short...!!
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
tritonas00

Joined: 09 Jun 2008
Posts: 8

PostPosted: Thu 19 Jun 2008, 15:36    Post subject:  File too short...!!  

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. Smile Smile
Back to top
View user's profile Send private message 
Caneri

Joined: 04 Sep 2007
Posts: 1580
Location: Canada

PostPosted: Thu 19 Jun 2008, 15:44    Post subject:  

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

_________________
Be not afraid to grow slowly, only be afraid of standing still.
Chinese Proverb


Last edited by Caneri on Thu 19 Jun 2008, 15:49; edited 1 time in total
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10750
Location: Ontario Canada,Sydney Australia

PostPosted: Thu 19 Jun 2008, 15:46    Post subject:  

It could be that he installed the system link and not the actual library
, Its easy to make that mistake.
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Back to top
View user's profile Send private message Visit poster's website 
Caneri

Joined: 04 Sep 2007
Posts: 1580
Location: Canada

PostPosted: Thu 19 Jun 2008, 15:50    Post subject:  

Hi ttuuxxx,

yup I could do that too..lol

Eric

_________________
Be not afraid to grow slowly, only be afraid of standing still.
Chinese Proverb

Back to top
View user's profile Send private message 
tritonas00

Joined: 09 Jun 2008
Posts: 8

PostPosted: Thu 19 Jun 2008, 15:52    Post subject:  

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!
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6687
Location: lisbon

PostPosted: Thu 19 Jun 2008, 20:49    Post subject:  

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?
Back to top
View user's profile Send private message 
tritonas00

Joined: 09 Jun 2008
Posts: 8

PostPosted: Thu 19 Jun 2008, 22:48    Post subject:  

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!!)
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6687
Location: lisbon

PostPosted: Thu 19 Jun 2008, 23:20    Post subject:  

Which pupversion are you using? Is this the only example where you've encountered this?
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6687
Location: lisbon

PostPosted: Thu 19 Jun 2008, 23:34    Post subject:  

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.
libidn.so.11.5.16.tar.gz
Description 
gz

 Download 
Filename  libidn.so.11.5.16.tar.gz 
Filesize  59.27 KB 
Downloaded  592 Time(s) 
Back to top
View user's profile Send private message 
tritonas00

Joined: 09 Jun 2008
Posts: 8

PostPosted: Fri 20 Jun 2008, 00:38    Post subject:  

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??
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6687
Location: lisbon

PostPosted: Fri 20 Jun 2008, 03:28    Post subject:  

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.
Back to top
View user's profile Send private message 
tritonas00

Joined: 09 Jun 2008
Posts: 8

PostPosted: Fri 20 Jun 2008, 11:44    Post subject:  

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..
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0654s ][ Queries: 12 (0.0050s) ][ GZIP on ]