LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 06: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, 07: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, 06:56 PM   #3
c_kvasud
LQ Newbie
 
Registered: Jun 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks a ton!
 
Old 06-05-2017, 07: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



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 12:40 AM
[SOLVED] strip first byte from very large binary file qrange Linux - Newbie 5 05-17-2013 11:18 PM
[SOLVED] Strip HTML tags from XML file corfuitl Programming 6 03-26-2012 04:39 PM
KSH Output/Strip portion of file in HP-UX austin881 Programming 2 10-08-2009 12:53 AM
Strip comments from a file introuble Programming 9 10-02-2006 04:05 PM

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

All times are GMT -5. The time now is 02:00 AM.

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