The missing symbols should have been defined in one of the libraries
from gcc47-shlibs:

$ dpkg -L gcc47-shlibs | grep dylib | xargs nm -o | grep
gfortran_transfer_array_write
/sw/lib/gcc4.7/lib/i386/libgfortran.3.dylib: 000ac320 T
__gfortran_transfer_array_write
/sw/lib/gcc4.7/lib/libgfortran.3.dylib: 00000000000c3250 T
__gfortran_transfer_array_write

$ dpkg -L gcc47-shlibs | grep dylib | xargs nm -o | grep
gfortran_set_options
/sw/lib/gcc4.7/lib/i386/libgfortran.3.dylib: 00001ff0 T
__gfortran_set_options
/sw/lib/gcc4.7/lib/libgfortran.3.dylib: 0000000000001850 T
__gfortran_set_options

I'm not seeing -L/sw/lib/gcc4.7/lib below, but I'm not 100% sure it's
required--I'm trying a build of my own to see what I get at the same point.

On 12/5/12 11:31 AM, Watson, David W. (MSFC-ES62) wrote:
> /sw/bin/gfortran, which links to /sw/lib/gcc4.7/bin/gfortran-fsf-4.7, but it
> failed with earlier versions, too.
> 
> 
> On 12/5/12 11:50 AM, "Alexander Hansen" <[email protected]> wrote:
> 
>> On 12/5/12 10:19 AM, Watson, David W. (MSFC-ES62) wrote:
>>>     Installing ccp4 fails with the following:
>>>
>>>  cd $CLIB/libccp4
>>>       gfortran -m64 -fno-second-underscore -O2 -fno-second-underscore
>>> -L$CLIB -o data/fontpack data/fontpack.o -lccp4f -lccp4c
>>> Undefined symbols:
>>>   "__gfortran_transfer_array_write", referenced from:
>>>       _MAIN__ in fontpack.o
>>>       _MAIN__ in fontpack.o
>>>       _MAIN__ in fontpack.o
>>>       _MAIN__ in fontpack.o
>>>       _MAIN__ in fontpack.o
>>>       _MAIN__ in fontpack.o
>>>       _MAIN__ in fontpack.o
>>>   "__gfortran_set_options", referenced from:
>>>       _main in fontpack.o
>>
>> <snip>
>>
>>>
>>> Failed: phase installing: ccp4-6.3.0-5 failed
>>>
>>> Package manager version: 0.34.4
>>> Distribution version: selfupdate-rsync Wed Dec  5 08:17:25 2012, 10.6,
>>> x86_64
>>> Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
>>> Xcode.app: 3.2.6
>>> Xcode command-line tools: 3.2.6
>>> ccp4-6.3.0-5 is set to build with only one job.
>>>
>>>
>>>
>>> David Watson
>>> NASA - MSFC
>>> Mail Code ES62
>>> Phone 256-544-1300
>>> FAX     256-544-2964
>>> [email protected]
>>>
>>>
>>>
>>
>> What do you get from "which gfortran"?
>>
> 


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to