This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
SV: Libtool versioning on FreeBSD
Hi Ralf,
Thanks for your reply. I must admit that I'm not usually a programmer, so
I'm not sure I understand all of your answer. /usr/bin/objformat does still
exist. If I run run it without any parameteres, it returns a segfault, while
the "test" statment completed without any problems or output.
My needs are just to be able to install/update ports, and I tried with
x11-drivers/xorg-drivers, which gave the usual error. I don't know where to
set the proposed variables. And especially if it should be a global
solution.
Cheers, Jon
> 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