[beports] Re: building .so library files

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: beports@xxxxxxxxxxxxx
  • Date: Tue, 20 May 2008 02:45:01 +0200

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

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

Other related posts: