Martin Costabel <costabel <at> wanadoo.fr> writes:

> 
> Mark Moorcroft wrote:
> > Alexander Hansen wrote:
> >> On 12/1/06, Mark Moorcroft <mmoorcroft <at> mail.arc.nasa.gov> 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.
> 


Did this issue get resolved?

I performed a self-update yesterday and now netcdf won't compile, though I'd
previously successfully compiled grace and netcdf in June 2006.

I'm running 10.3.9, and  fink -i netcdf yields:
(i)  netcdf-shlibs    3.6.1-2      Interface & lib for array-based data access

ld is issuing these complaints:

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))
ld: /sw/bin/../lib/gcc-lib/powerpc-apple-darwin7/4.0.3/libgcc.a(_divdi3.o)
malformed object (stray relocation PAIR entry (3) in section 
(__TEXT,__eh_frame))
ld: /sw/bin/../lib/gcc-lib/powerpc-apple-darwin7/4.0.3/libgcc.a(_moddi3.o)
malformed object (stray relocation PAIR entry (1) in section 
(__TEXT,__eh_frame))
ld: /sw/bin/../lib/gcc-lib/powerpc-apple-darwin7/4.0.3/libgcc.a(_moddi3.o)
malformed object (stray relocation PAIR entry (3) in section 
(__TEXT,__eh_frame))
ld: /sw/bin/../lib/gcc-lib/powerpc-apple-darwin7/4.0.3/libgcc.a(_udivdi3.o)
malformed object (stray relocation PAIR entry (1) in section 
(__TEXT,__eh_frame))
ld: /sw/bin/../lib/gcc-lib/powerpc-apple-darwin7/4.0.3/libgcc.a(_udivdi3.o)
malformed object (stray relocation PAIR entry (3) in section 
(__TEXT,__eh_frame))
ld: /sw/bin/../lib/gcc-lib/powerpc-apple-darwin7/4.0.3/libgcc.a(_umoddi3.o)
malformed object (stray relocation PAIR entry (1) in section 
(__TEXT,__eh_frame))
ld: /sw/bin/../lib/gcc-lib/powerpc-apple-darwin7/4.0.3/libgcc.a(_umoddi3.o)
malformed object (stray relocation PAIR entry (3) in section 
(__TEXT,__eh_frame))
/usr/bin/libtool: internal link edit command failed
cp: libnetcdf.3.6.1.dylib: No such file or directory


Thanks,

-Mark

lrwxr-xr-x  1 root  admin  29 22 Jun  2006 /sw/lib/libnetcdf.3.dylib@ ->
/sw/lib/libnetcdf.3.5.1.dylib
-rwxr-xr-x  1 root  admin  232532 22 Apr  2005 /sw/lib/libnetcdf.3.5.1.dylib*








-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to