Opened 10 years ago
Last modified 9 years ago
#46626 new defect
slatec @4.1_0+gcc49 Mavericks Slatec Linking Error — at Version 1
Reported by: | paul.whelan07@… | Owned by: | sebastien.maret@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | slatec |
Description (last modified by mf2k (Frank Schima))
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
Change History (2)
Changed 10 years ago by paul.whelan07@…
Attachment: | quadpack_example.f90 added |
---|
comment:1 Changed 10 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | slatec gfortran removed |
Owner: | changed from macports-tickets@… to sebastien.maret@… |
Note: See
TracTickets for help on using
tickets.
In the future, please use WikiFormatting and Cc the port maintainers (
port info --maintainers slatec
), if any.