ld: symbol(s) not found for architecture x86_64

Joined
Jun 29, 2014
Messages
2
Reaction score
0
Hello,
This is my first question in this forum so if I'm posting in the wrong place I apologize. I'm an astronomer trying to work with a piece of software called vpguess. This software requires a program called pgplot (along with cpgplot) and a few libraries (cfitsio). After installing both the gcc and gfortran compilers (64 bit I think??) and using 'make' from the command line I install pgplot and cpgplot. When I update the Makefile for vpguess and try to 'make' I get the following error:


Undefined symbols for architecture x86_64:
"_cpgask", referenced from:
_vpgedit in vpgedit.o
_vpgopen in vpgopen.o
#a long list of the "referenced from" fortran programs, then finally at the end the error
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [vpguess] Error 1

I believe this has something to do with the 32-bit/64-bit compilers but when I updated and recompiled everything I still get the same error messages. Any thoughts ideas?

Thanks in advance for any help,
Stephen
 
Joined
Jun 29, 2014
Messages
2
Reaction score
0
Okay. So I'm very new to the Mac OS. How do I go about linking the proper libraries or whatever it is I need to do?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top