LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-02-2017, 07:31 PM   #1
c_kvasud
LQ Newbie
 
Registered: Jun 2017
Posts: 2

Rep: Reputation: Disabled
URGENT: strip: Unable to recognise the format of the input file: doesn't strip any libraries


Hello All,

I have been trying to use strip command for removing debugging symbols from shared library, libmv0.so for release operation as follows: strip --strip-debug libmv0.so.

It throws an error stating "strip: Unable to recognise the format of the input file" for libmv0.so and any object file.

Please help me resolve this as it is of high importance now.
 
Old 06-02-2017, 08:41 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
You can specify the format
Code:
$ strip --help
. If you need the format
Code:
$ file file
 
2 members found this post helpful.
Old 06-05-2017, 07:56 PM   #3
c_kvasud
LQ Newbie
 
Registered: Jun 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks a ton!
 
Old 06-05-2017, 08:27 PM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I almost forgot,

Welcome to the forum!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] strip out a random part of a file name timl Linux - Software 10 09-19-2016 01:40 AM
[SOLVED] strip first byte from very large binary file qrange Linux - Newbie 5 05-18-2013 12:18 AM
[SOLVED] Strip HTML tags from XML file corfuitl Programming 6 03-26-2012 05:39 PM
KSH Output/Strip portion of file in HP-UX austin881 Programming 2 10-08-2009 01:53 AM
Strip comments from a file introuble Programming 9 10-02-2006 05:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration