Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2009 08:33:38 +0000
From:      Frank Shute <frank@shute.org.uk>
To:        David Collins <davidcollins001@gmail.com>
Cc:        Dominic Fandrey <kamikaze@bsdforen.de>, freebsd-questions@freebsd.org
Subject:   Re: broken ports
Message-ID:  <20090209083338.GA2666@melon.esperance-linux.co.uk>
In-Reply-To: <1b30fd140902082330m21b4aecyf99cb83a080e972a@mail.gmail.com>
References:  <1b30fd140902050032x20e84ef6oc5030c99e6a62d81@mail.gmail.com> <498ABACC.3060102@bsdforen.de> <1b30fd140902050218m1660ad97ife6b0a679d8a946a@mail.gmail.com> <20090207075521.GA93084@melon.esperance-linux.co.uk> <1b30fd140902080816v7dfb8bb6g6f3c9a3d162f48c0@mail.gmail.com> <20090208203553.GA99661@melon.esperance-linux.co.uk> <1b30fd140902081424p1d75e304y9f4ef9f9b472328c@mail.gmail.com> <20090209055634.GA2116@melon.esperance-linux.co.uk> <1b30fd140902082330m21b4aecyf99cb83a080e972a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 09, 2009 at 07:30:44AM +0000, David Collins wrote:
>
> > What does:
> >
> > $ ldconfig -r | grep gcc_s
> >
> > give you?
> 
> 
> viper:~$ ldconfig -r | grep gcc_s
>         247:-lgcc_s.1 => /usr/local/lib/gcc-4.2.5/libgcc_s.so.1

On my FreeBSD 7.1-RELEASE-p2 amd64:

$ cc -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]

and:

$ ldconfig | grep gcc_s
        30:-lgcc_s.1 => /lib/libgcc_s.so.1

I think the problem is that somebody has installed a compiler out of
ports on your machine & it's associated libraries. See what cc -v
says.

It could be that it's invoking the system compiler (or not). Check:

$ pkg_info | grep gcc

aswell. Also look at /etc/make.conf & see if there's anything about
GCC_VERSION or something similar.

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090209083338.GA2666>