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 Sun 17 Dec 2017, 23:23
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
How to compile static openssl? (Solved)
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
Scooby

Joined: 03 Mar 2012
Posts: 601

PostPosted: Tue 03 Mar 2015, 15:05    Post subject:  How to compile static openssl? (Solved)  

Tried to compile opnssl static
Seems you can build static libraries but the executable openssl is dynamically linked

Any input on how to achieve this?



Can you use ccrypt in initrd?
From what I can tell it depends on glibc?

*EDIT* tried with ccrypt, it works
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4764
Location: Kingwood, TX

PostPosted: Wed 04 Mar 2015, 02:20    Post subject:  

remove its .so file from whatever /lib directory it was installed it to and re-link it
you _can_ use anything in an initramfs/initrd (I've put X and Chrome in it) ... not that you necessarily should
build it against musl or uclibc (you need that anyhow - a static hello world with glibc is larger than the entire busybox linked with musl)

_________________
Check out my github repositories. I may eventually get around to updating my blogspot.
Back to top
View user's profile Send private message Visit poster's website 
Scooby

Joined: 03 Mar 2012
Posts: 601

PostPosted: Wed 04 Mar 2015, 15:18    Post subject:  

Yep that sounds easy and probably is to you

But doing it for the first time might not be that easy


Anyway thanks for pointer will research


*edit*

Succeded in building openssl static with musl

Many thanks techno
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
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.0574s ][ Queries: 13 (0.0127s) ][ GZIP on ]