[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[McIDAS #YXD-786071]: Installation trouble : Can't locate file for: -lcc_dynamic



Hi Gautam,

re:
> Still yet unsuccessful in getting the Mcidas installed. It seems to
> be some problem with the gcc library I think. I did rename the g77
> library on Mac OS X. In our case the gcc lib was installed in another
> directory (which I think should not matter). These are the steps, I did.

> $ cd /sw/lib/gcc/powerpc-apple-darwin8.0.0/3.4.3/
> $ mv libgcc.a libgcc_g77.a
> $ ln -s libgcc_g77.a /usr/local/lib/
> $ ls -l /usr/local/lib/
> total 8
> lrwxr-xr-x 1 root wheel 56 Apr 19 23:07 libgcc_g77.a -> /sw/lib/
> gcc/powerpc-apple-darwin8.0.0/3.4.3/libgcc_g77.a

This should be sufficient to avoid the collision that can occur between the
g77 version of the libgcc.a file and the Apple-supplied file of the same name.

> I hope this is good till now. I am enclosing the output of makelog
> file, which shows the error (Trying of find -lgcc)

> ##########################################
> Wed Apr 19 22:55:32 EDT 2006: BUILD BEGIN
> ##########################################

 ...

> ./mccomp -O -s -o convdlm convdlmc.o convdlmf.o
> mccomp: Using default optimizations
> g77 -O -o convdlm convdlmc.o convdlmf.o -L/usr/X11R6/lib -lm
> /usr/bin/ld: can't locate file for: -lgcc
> collect2: ld returned 1 exit status
> link convdlm: FAILED

Interesting.  Do you know where libgcc is located?  If yes, you
could try linking 'convdlm' by hand to see what happens:

gcc -O -o convdlm convdlmc.o convdlmf.o -L/usr/X11R6/lib -L<location of 
libgcc.so> -lm

The ETA for our MacOS-X machine getting patched to the point of having
a viable development environment and being allowed on our network (security)
is uncertain due to a number of critical things needing attention.  Given
this, I wonder if it would be possible for me to get SSH access to
your machine (as user 'mcidas') so I can take a look.  If this is not
possible, I will be forced to wait until our system is back online before
I can provide any useful help.  I apologize for this state of affairs!


Cheers,

Tom
****************************************************************************
Unidata User Support                                    UCAR Unidata Program
(303) 497-8642                                                 P.O. Box 3000
address@hidden                                   Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage                       http://www.unidata.ucar.edu
****************************************************************************


Ticket Details
===================
Ticket ID: YXD-786071
Department: Support McIDAS
Priority: Normal
Status: Closed