This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Libtool versioning on FreeBSD
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: Jon Theil Nielsen <jontheil at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 24 Oct 2007 17:32:43 +0200
- Subject: Re: Libtool versioning on FreeBSD
- References: <F6E8902B617B499292CBE760AA25575E@MFL5Vista>
Hello Jon,
* Jon Theil Nielsen wrote on Sun, Oct 21, 2007 at 11:50:39PM CEST:
>
> I have made a major oops and deleted some basic files from my system
> (FreeBSD 7.0-Current). After that I'm in big troubles, sinces almost all
> compilations will end up in an error message like "gnome-libtool: link:
> unknown library version type `freebsd-'
Does /usr/bin/objformat still exist? If yes, can it be run?
> Fatal configuration error."
> When I run the libtool --configure command, it states
> # Library versioning type.
> version_type=freebsd-
> which should, I guess, be version_type=freebsd-elf
> Any clues how I can fix this?
Hmm, the configure macros that come with current libtool do assume
freebsd-elf by default, if `test -x /usr/bin/objformat' fails. If
you can fix that, a rerun of configure should fix the libtool script.
Or you could manually set
version_type=freebsd-elf
build_libtool_need_lc=no
in the libtool script as a workaround, once near the beginning of the
script and once for each non-C tag near the end of the file.
Hope that helps.
Cheers,
Ralf