LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-10-2005, 03:58 AM   #1
Sunilsbjoshi
LQ Newbie
 
Registered: Feb 2005
Posts: 14

Rep: Reputation: 0
Thumbs up Creating binary RPMS statically!


Hi,

I am using rpmbuild to create create matchbox.rpm binary files.

But for this binary creation it takes some librarys to compile.

So when I install this matchbox.rpm into other machine it says to such library.

So how can i build this matchbox.rpm statically.

Note: In ./configure of this source file there is no option called to buid statically but I have a option to build standalone . Is this same.

Waiting for replay Sunny.
 
Old 10-10-2005, 08:53 PM   #2
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
You have to compile the application statically, this is nothing to do with RPM but is in the configure script as you say. Standalone would seem to be the same thing - why don't you build it and test it by removing one of the libraries it needs and see if it still runs?
 
Old 10-12-2005, 12:10 AM   #3
Sunilsbjoshi
LQ Newbie
 
Registered: Feb 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Yes u r right!

What I did is installed the library statically and then installed the the application using this library.

This solved my problem.
 
  


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
Gnucash statically linked binary melinda_sayang Slackware 7 07-11-2004 02:32 AM
What is a statically compiled binary? james_cwy Linux - Newbie 4 11-09-2003 10:51 PM
Creating RPMs Kemp100 Red Hat 1 09-22-2003 05:17 PM
Creating RPMS from scratch for Redhat 8 Paul Parr Linux - Newbie 2 04-10-2003 10:01 PM
creating a flat binary file with gcc wsimmons Programming 2 01-08-2002 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:52 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