#46626: slatec @4.1_0+gcc49 Mavericks Slatec Linking Error ------------------------------+------------------------------- Reporter: paul.whelan07@… | Owner: sebastien.maret@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: slatec | ------------------------------+------------------------------- Changes (by mf2k@…): * owner: macports-tickets@… => sebastien.maret@… * keywords: slatec gfortran => Old description:
I have just installed the Slatec Common Mathematical Library for fortran using Macports. The installation was smooth with no errors. However, when writing a simple example code that calls the QAG integration routine from the library I get the following error:
Undefined symbols for architecture x86_64: "_slamch_", referenced from: _r1mach_ in libslatec.a(r1mach.o) ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status
slamch is begin referred from r1mach - which is a routine that deals with machine constants I think. This is an unexpected error given that the dependencies should have been taken care of by MacPorts.
I’m using Mavericks 10.9.5 on in Intel laptop if that helps.
Many thanks. Paul
New description: I have just installed the Slatec Common Mathematical Library for fortran using Macports. The installation was smooth with no errors. However, when writing a simple example code that calls the QAG integration routine from the library I get the following error: {{{ Undefined symbols for architecture x86_64: "_slamch_", referenced from: _r1mach_ in libslatec.a(r1mach.o) ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status }}} slamch is begin referred from r1mach - which is a routine that deals with machine constants I think. This is an unexpected error given that the dependencies should have been taken care of by MacPorts. I’m using Mavericks 10.9.5 on in Intel laptop if that helps. Many thanks. Paul -- Comment: In the future, please use WikiFormatting and Cc the port maintainers ({{{port info --maintainers slatec}}}), if any. -- Ticket URL: <https://trac.macports.org/ticket/46626#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X