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 Fri 24 Oct 2014, 10:50
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 Posts_count  
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


Edited_time_total
Back to top
View user's profile Send_private_message 
ttuuxxx


Joined: 05 May 2007
Posts: 10827
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_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: 6688
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: 6688
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: 6688
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  598 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: 6688
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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