[beports] Re: building .so library files

  • From: Schrijvers Luc <Begasus@xxxxxxxxx>
  • To: beports@xxxxxxxxxxxxx
  • Date: Tue, 20 May 2008 09:05:46 +0200

On di, 2008-05-20 at 02:45 +0200, Ingo Weinhold wrote:
> On 2008-05-20 at 00:46:49 [+0200], scott mc <scottmc2@xxxxxxxxx> wrote:
> > I've been trying to get libSDL to build the libSDL.so file but it just
> > keeps making the .a and .la files instead.  I've tried a newer libtool
> > (2.2.4), that then started showing that haiku could make shared
> > libraries but then it still made just the .a and .la files.  I put
> > --enable-shared and --disable-static in my ./configure and it still
> > made the wrong ones.
> > Anyone know what the trick is to get it to make the .so file?
> 
> Usually re-running the auto tools (in doubt with --force) and specifying 
> the --enable-shared option should do the trick. Check the configure output 
> which of the checks are wrong (usually there are three checks: ld can make 
> shared libs, libtool can make shared libs, shared libs have been enabled). 
> config.log is also a good source of information. If a test fails you can 
> see there why. You'll also get configure line number references, so you can 
> look things up in the configure script.
> 
> CU, Ingo
> 

Another option is to enter the libtool file and check for the line 
allow_undefined_flag=
and change unsupported to "undefined", probly not a clean way but this
works for me, the reason for not building the shared lib is probly due
to some missing or unsupported defines.

Cu, Luc

> --
> BePorts homepage - http://tools.assembla.com/BePorts
> List archives: //www.freelists.org/archives/beports
> Administrative contact: brecht@xxxxxxxxxxx


--
BePorts homepage - http://tools.assembla.com/BePorts
List archives: //www.freelists.org/archives/beports
Administrative contact: brecht@xxxxxxxxxxx

Other related posts: