Mark Moorcroft wrote:
> Alexander Hansen wrote:
>> On 12/1/06, Mark Moorcroft <[EMAIL PROTECTED]> wrote:
>>> After a self-update/update-all on Monday grace is broken. There is a
>>> library missing:
>>>
> 
>> It sounds like your problem is with netcdf* rather than with grace.
>>
>> What do you get from "fink list -i netcdf" ?
>>
> 
> i   netcdf             3.6.1-1       Interface & lib for array-based 
> data access
> i   netcdf-bin         3.6.1-1       Interface & lib for array-based 
> data access
> i   netcdf-shlibs      3.6.1-1       Interface & lib for array-based 
> data access
> 
> 
> 
>> On my system libnetcdf.3.dylib and libnetcdf.3.6.1.dylib are both
>> present and installed by netcdf-shlibs-3.6.1-1001.
>>
> 
> I have neither...
> 
> 
>> You might try reinstalling netcdf-shlibs.
> 
> 
> % fink -k rebuild netcdf-shlibs
> 
> snip...
> 
>   (mkdir libtmp; cd libtmp; ar -x ../libsrc/libnetcdf.a)
>   (mkdir libtmp2; cd libtmp2; ar -x ../cxx/libnetcdf_c++.a)
>   (cd libtmp; objfiles=`ls -1 *.o`; cc -dynamiclib -single_module -o 
> libnetcdf.3.6.1.dylib $objfiles -L$FLIBDIR -lf95 -install_name 
> /sw/lib/libnetcdf.3.dylib -current_version 3.6.1 -compatibility_version 
> 3.5; cp libnetcdf.3.6.1.dylib 
> /sw/src/fink.build/root-netcdf-3.6.1-1/sw/lib)
> ls -1 *.o
> ld: warning -dylib_install_name /sw/lib/libnetcdf.3.dylib not found in 
> segment address table LD_SEG_ADDR_TABLE 
> /sw/var/lib/fink/prebound/seg_addr_table
> ld: 
> /sw/bin/../lib/gcc-lib/powerpc-apple-darwin7/4.0.3/libgcc.a(_divdi3.o) 
> malformed object (stray relocation PAIR entry (1) in section 
> (__TEXT,__eh_frame))

Similar errors were discussed half a year ago on the -beginners (April 
6-7) and -devel (April 12) lists in threads on g95. The solution I found 
at that time was the following (from fink-beginners):

"For the record and the list archives: We solved this off-list. The 
culprit was proved to be Panther's /usr/bin/ld which is broken (as had 
been seen also in some other cases). Replacing it by either
- a /usr/bin/ld copied over from Tiger, or
- the /usr/bin/ld née ld10.3 that gets installed on Panther if one 
installs the (Tiger) SDK package MacOSX10.4.pkg
solves the problem."

At that time we hoped that Apple would ship a new /usr/bin/ld for 
Panther with SoftwareUpdate, but apparently they didn't. A possible 
reason is that nobody really had a convincing explanation for this error.

You could try if the old remedy works for you, too.

-- 
Martin


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to