Beats me, but when I do an ll on /usr/bin/ld* followed by an echo $path I get
>ll /usr/bin/ld* -r-xr-xr-x 1 root wheel 339380 Nov 12 21:47 /usr/bin/ld -rwxr-xr-x 1 root wheel 192336 Nov 12 21:47 /usr/bin/ldapadd -rwxr-xr-x 1 root wheel 184064 Nov 12 21:47 /usr/bin/ldapcompare -rwxr-xr-x 1 root wheel 179888 Nov 12 21:47 /usr/bin/ldapdelete -rwxr-xr-x 1 root wheel 192336 Nov 12 21:47 /usr/bin/ldapmodify -rwxr-xr-x 1 root wheel 179888 Nov 12 21:47 /usr/bin/ldapmodrdn -rwxr-xr-x 1 root wheel 179888 Nov 12 21:47 /usr/bin/ldappasswd -rwxr-xr-x 1 root wheel 196600 Nov 12 21:47 /usr/bin/ldapsearch -rwxr-xr-x 1 root wheel 179924 Nov 12 21:47 /usr/bin/ldapwhoami >echo $path /Applications/Absoft/bin /sw/bin /sw/sbin /Users/swilliam/bin/powerpc-apple-darwin /Users/swilliam/bin /usr/local/bin /usr/bin /bin /usr/local/sbin /usr/sbin /sbin /usr/X11R6/bin ./ Somehow or other you are missing a bunch of stuff, namely the stuff relating to the /Users. Check what you get when you do an ll /usr/bin/ld* If /usr/bin/ld is missing you will not be able to link compiled code to build an application. How did you install fink? And what system are you using? 10.2.2 ? I assume you installed developer tools from the CD. [FWIW ll is an alias for ls -l which is a long listing of files, * is a wild card which matches a string of characters, and ? Is a wild card for matching a single character, but you probably knew that ;-) ] -- HTH, Stanley Williams [EMAIL PROTECTED] On 11/21/02 5:14 PM, "Martin Wong" <[EMAIL PROTECTED]> wrote: > Hi Stanley and others, > Could be a path issue, i am somewhat new both to unix and os x so i'm not > sure if this is the case. > > echo $ PATH gives me: > /sw/bin:/sw/sbin:/bin:/sbin/usr/bin:/usr/sbin:/USR/X11R6/bin > > and env gives me the same path. Any insights would be greatly appreciated. > Thanks again for the time. > Cheers, > Martin > > > > At 16:13 -0600 11/21/02, Stanley Williams wrote: >> I'm no expert, but I suspect that some of your paths that you need are >> missing. Do a env or echo $path and report back what you get. One of the >> more advanced people (read familiar with fink) that read this site may be >> able to help ;-) >> -- >> HTH, >> Stanley Williams >> [EMAIL PROTECTED] >> >> >> On 11/21/02 1:31 PM, "Martin Wong" <[EMAIL PROTECTED]> wrote: >> >>> Hello, >>> I'm trying to compile some fortran programs using g77. When I run g77, I >>> get the following error message: >>> >>> /usr/bin/ld: Undefined symbols: >>> _main >>> >>> >>> Using the -c command in g77 compiles a file, but it doesn't work... >>> Anyone have any suggestions? >>> Many thanks in advance, >>> Martin >>> >>> ================================================== >>> Martin Wong [EMAIL PROTECTED] >>> Graduate Student http://www.uweb.ucsb.edu/~mwong >>> Geological Sciences Voice: (805) 893-2782 >>> University of California Fax: (805) 893-2314 >>> Santa Barbara CA 93106-9630 >>> >>> PLEASE NOTE: My email address will be changing soon to >>> [EMAIL PROTECTED] Please update your addresses. >> Fink-beginners mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/fink-beginners > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Fink-beginners mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/fink-beginners ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners
