ykcosmo Posted June 11, 2008 Share Posted June 11, 2008 I installed fftw3 and tried to compile ocean toolkit rc3 I installed the fftw3 as: ./configure --enable-float so it has the fftw3f, but when I compile, it said: Linking with 'libblitz' Linking with 'libfftw3f' Making SOP_Ocean.o and /home/kosmo/houdini9.1/dso/SOP_Ocean.so from SOP_Ocean.C /usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib/libfftw3f.a(execute.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libfftw3f.a: could not read symbols: Bad value collect2: ld returned 1 exit status Then I modified the fftw3f to fftw3 in the compile.sh, it worked fine, but when I connect the grid into ocean sop, it shut down houdini and said: ~/houdini9.1/9.1.260/dso/SOP_Ocean> /opt/hfs9.1.260/bin/houdini-bin: symbol lookup error: /home/kosmo/houdini9.1/dso/SOP_Ocean.so: undefined symbol: fftwf_plan_dft_c2r_2d I use opensuse 10.3 64bit Quote Link to comment Share on other sites More sharing options...
ykcosmo Posted June 11, 2008 Author Share Posted June 11, 2008 ok, after I i install the fftw3 as --enable-shared, it works now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.