helpGNU tar - Support: sr #108882, How to static compile tar command

 
 

sr #108882: How to static compile tar command

Submitted by:  None
Submitted on:  Tue 15 Sep 2015 08:10:03 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 15 Sep 2015 08:10:03 PM UTC, original submission:

I downloaded tar 1.28 and am attempting to compile a static binary for system recovery media. I just don't want to have to include any more share libraries on the media than necessary, so want to get selinux, acl, attr, pcre and lzma built into the binary.

The README indicates I can use
./configure CC=gcc LDFLAGS=-static
but this creates a static binary without support for anything normally found in the shared libraries (SELinux, ACLs, etc).

So, I installed libselinux-devel-static RPM, and this got the selinux support in there, but I can't find static libraries for anything else. Lots of search results say that libacl.a can be found in libacl-devel, but I have it and it's nowhere to be found.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup1