[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: os x mkoctfile linkage problems
From: |
Per Persson |
Subject: |
Re: os x mkoctfile linkage problems |
Date: |
Sat, 27 Sep 2003 14:53:05 +0200 |
Hi,
I suspect that you are missing a symlink
/sw/lib/libdfftw.dylib -> libdfftw.2.0.5.dylib
Create a link with: sudo ln -s /sw/lib/libdfftw.2.0.5.dylib
/sw/lib/libdfftw.dylib
You should probably check with the fink lists/archives whether the
missing symlink is intentional or accidental.
HTH,
Per
On Saturday, September 27, 2003, at 05:28 AM, Peter Williams wrote:
Hi all,
I'm trying to compile a simple c++ code with mkoctfile and I am
getting some linkage problems
[Peter-Williamss-Computer:~/sources/octave] pjw% mkoctfile runsum.cpp
ld: can't locate file for: -ldfftw
Anyone seen this problem??
Here are the details of my setup
[Peter-Williamss-Computer:~/sources/octave] pjw% gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1
20020420 (prerelease)
octave version 2.1.46 (unmodified binary fink install)
from mkoctfile
${FFTW_LIBS="-L/sw/lib -ldfftw"}
listing of /sw/lib/ directory
[Peter-Williamss-Computer:~/sources/octave] pjw% ls /sw/lib/libdfftw*
/sw/lib/libdfftw.2.0.5.dylib
/sw/lib/libdfftw_threads.2.0.5.dylib
/sw/lib/libdfftw.2.dylib
/sw/lib/libdfftw_threads.2.dylib
Thanks for any advice you may have to offer,
Pete Williams
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
------------
Per Persson
Blekinge Institute of Technology
Dept. of Signal Processing and Telecommunications
www: http://www.its.bth.se/staff/pee
e-mail: address@hidden
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------