[SAC-HELP] using sacio.a on Mac OS 10.3.9

Kris Walker walker at ucsd.edu
Wed Jan 25 10:49:11 PST 2006


Hi folks,

I am trying to compile a program that worked fine on linux with the 
older sacio.a.

g++ -Wno-deprecated -O3 -o saccut sac.o saccut.cc 
-L/janeway/usr/local/SAC/lib -lsacio
ld: sac.o bad magic number (not a Mach-O file)

I did a little research, but could not figure out quickly what the 
problem was.  Anyone used the new version of sacio.a that is included 
with:

sail.ucsd.edu:/Users/walker/Lib/SAC/SACUTILS/Src>sac
  SEISMIC ANALYSIS CODE [03/01/2005 (Version 100.00)]
  Copyright 1995 Regents of the University of California

Cheers,
kris

================================================================
Dr. Kristoffer T. Walker            http://sail.ucsd.edu/~walker
Green Scholar                       email: walker at ucsd.edu
IGPP, Scripps MC 0225               phone: 858-534-0126
University of California, San Diego fax:   858-534-9873
La Jolla, CA 92093-0225             room:  2201 Revelle Lab
================================================================




More information about the sac-help mailing list