LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-12-2008, 08:04 PM   #1
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 444

Rep: Reputation: 30
How do I turn *.la into *.so?


I have used autoconf and automake to generate the configure script and makefile. Is there an option I can pass to configure or is there some other commands?
 
Old 03-12-2008, 10:46 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Configure file for what? You can try running "configure --help". You may get options for building the app using dynamic libraries, or if the script if for building a library, for building a dynamic library instead of a dynamic one. Whether such an option exists depends on the developer. Some packages only have the generic options to configure while some have options specific to the package.
 
Old 03-13-2008, 05:01 PM   #3
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 444

Original Poster
Rep: Reputation: 30
Configure make to compile the file into a .so rather than a .la.
 
Old 03-13-2008, 05:19 PM   #4
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,445
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Try running

configure --help

for a list of options available.

You could try "--disable-static" but it won't do much if the option is unavailable.
 
Old 03-13-2008, 05:25 PM   #5
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
It creates a *.so at install time. The *.la files are only used by libtool and automake for linking.
ta0kira
 
Old 03-13-2008, 09:03 PM   #6
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 444

Original Poster
Rep: Reputation: 30
Ok, I'll just try installing it. ta0kira thank you so much for answering my questions! Just out of curiosity, do you know what commands it runs to make the .so file or even the .a files?
 
Old 03-14-2008, 12:33 PM   #7
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
make will output every command it runs during the build/install process. It all depends on what type of source it is, also. It might use ld for C but g++ for C++. It also depends on what machine you use. That's why we use ./configure, after all.
ta0kira
 
  


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
How do you turn off X? runnerpaul Linux - Newbie 5 08-21-2006 11:45 AM
How to start, stop, turn on, and turn off deamons BuckRogers01 Debian 3 08-16-2005 09:39 AM
turn off doesn't really turn and power off pcandpc Mandriva 11 05-30-2005 03:22 PM
How to turn off Xserver in the gui and turn it off in the command line geminiviper Linux - Newbie 8 08-20-2004 08:05 AM
?? What Is It ?? How Do I Turn It On ?? Raggit Linux - Newbie 11 03-08-2004 05:30 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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