This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error: cannot compute suffix of object files: cannot compile


Hi Ralf,

I used:  ../configure && make && make install and that installed it
to /usr/local/lib.  However, /usr/local/lib, despite being in /etc/ld.so.conf,
it was not in ld.so.cache.  re-running ldconfig did the trick.  I've had
/usr/local/lib in the cache for years now, so I don't know how it went
missing.  I'm chalking it up to some update anomaly.

Thanks for the response, tho!  Regards, Bruce

On Fri, Mar 19, 2010 at 3:18 PM, Ralf Wildenhues <Ralf.Wildenhues@gmx.de> wrote:
> Hi Bruce,
>
> * Bruce Korb wrote on Fri, Mar 19, 2010 at 05:22:15PM CET:
>> On Fri, Mar 19, 2010 at 9:12 AM, Richard Guenther wrote:
>> > On Fri, Mar 19, 2010 at 5:02 PM, Bruce Korb wrote:
>> >> What does this message really mean?
>> >> i.e. What should I do about it?
>> >
>> > run ldconfig or use binaries from
>> > http://download.opensuse.org/repositories/devel:/gcc/openSUSE_11.1
>>
>> I'm building the binaries. ?It seems some update or another caused
>> the ld.so.cache to become out of date with respect to ld.so.conf.
>> Not something I expected..... ?Thank you!
>
> 'make install' should cause libtool to invoke '/sbin/ldconfig -n
> /usr/local/lib'. ?When doing a DESTDIR install, libtool should
> warn you that you may need to run 'libtool --finish /usr/local/lib'
> after moving libraries to their final place (which then would run
> ldconfig). ?AFAIK mpc uses libtool.
>
> Which piece was missing for you?
>
> Thanks,
> Ralf
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]