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 Tue 30 Jun 2015, 13:11
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
How to install new libc-2.7.so file in Puppy400 ?
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message

Joined: 08 Jun 2005
Posts: 5047
Location: Arizona, U.S.A.

PostPosted: Thu 22 Oct 2009, 18:57    Post_subject:  How to install new libc-2.7.so file in Puppy400 ?  

Not quite programming, but... I have an app. that needs libc-2.7.so
Puppy400 has libc-2.6.1.so, I got one from the Debian stable release.
Do I just drop it in /lib and make a new link: libc.so.6 => libc-2.7.so and then reboot???
I`ve done libraries before, but just for apps, this one`s critical!
Back to top
View user's profile Send_private_message 

Joined: 15 May 2009
Posts: 57

PostPosted: Thu 22 Oct 2009, 22:04    Post_subject:  

I don't necessarily know where new libraries go specifically. However, what I usually do when I need to download a new library (usually from Debian), I either click on the .deb package and allow it to install itself (Puppy 4.3) or I use the deb2pet utility to convert it to a .pet and then install it automatically (< Puppy 4.3).

Does this help at all?

Back to top
View user's profile Send_private_message 

Joined: 02 Apr 2007
Posts: 2377

PostPosted: Fri 23 Oct 2009, 07:13    Post_subject:  

"just drop it in /lib" and break your system! You can't go replacing your glibc stuff without breaking lots of stuff or re-compiling it all.

But, you can still make it work by doing this:
1. place the libc.so file in some out-of-the-way-place, say:
Then create a wrapper for the program you want to run, say it is called 'my-proggie'. Rename that to 'my-proggie-bin' and place in your normal path )/usr/bin or other such).
the create an empty file called 'my-proggie' and put this in it:


export LD_LIBRARY_PATH=/usr/local/glibc-7
exec my-proggie-bin

Back to top
View user's profile Send_private_message 

Joined: 23 Nov 2006
Posts: 10873

PostPosted: Fri 23 Oct 2009, 08:09    Post_subject:  

ok...you would first need the full set of libraries and not just the one lib including locales and such.
Using an installer usually fails as the order is critical...one wrong move and seizure.
I have done this live.......added the libs manually first...painless.
Then deleteted and remade (or copy from fileset) each symlink in turn doing libc last....literally starting from the bottom and working upwards using rox.

Otherwise add to the pup_save.2fs when not in use or a full install to the file system not live.

If all goes well then remove the old libs otherwise if a frugal mount the pup_save and clear out the added files.

I have changed puppy 2.02 and 2.12 to glibc 2.3.6 TLS and now 2.6.1 sucessfully so me not making this up Very Happy

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 » Off-Topic Area » Programming
Jump to:  

You cannot attach files in this forum
You can download files in this forum

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