Still having a linker problem with a package I am working on (plplot). If I start building the package for the first time, compilation failes because of the error below. The dylibs libcsirocsa and libcsironn however are part of the package itself, so it is obvious it cannot find it. I tried adding -force_flat_namespace to the LDFLAGS (based on some googling), but that didn't help. If I rebuild the package, compilation works fine and finishes. This only happens when I turn on --enable-octave, so it could be related somehow to that package.
... g++ -bundle -bundle_loader /sw/bin/octave-2.1.50 -o plplot_octave.oct plplot_octave.o -L../../src/.libs -lplplotd -L/sw/lib/octave-2.1.50 -loctave -lcruft -loctinterp -framework vecLib -L/sw/lib -ldfftw ld: warning -prebind has no effect with -bundle ld: warning can't open dynamic library: /sw/lib/libcsirocsa.0.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) ld: warning can't open dynamic library: /sw/lib/libcsironn.0.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) ld: warning multiple definitions of symbol _round /sw/bin/octave-2.1.50 definition of _round /usr/lib/libSystem.dylib(rndint.o) definition of _round ld: Undefined symbols: _csa_addpoints referenced from libplplotd expected to be defined in /sw/lib/libcsirocsa.0.dylib _csa_approximate_points referenced from libplplotd expected to be defined in /sw/lib/libcsirocsa.0.dylib _csa_calculatespline referenced from libplplotd expected to be defined in /sw/lib/libcsirocsa.0.dylib _csa_create referenced from libplplotd expected to be defined in /sw/lib/libcsirocsa.0.dylib _csa_destroy referenced from libplplotd expected to be defined in /sw/lib/libcsirocsa.0.dylib _lpi_interpolate_points referenced from libplplotd expected to be defined in /sw/lib/libcsironn.0.dylib _nn_rule referenced from libplplotd expected to be defined in /sw/lib/libcsironn.0.dylib _nnpi_interpolate_points referenced from libplplotd expected to be defined in /sw/lib/libcsironn.0.dylib make[4]: *** [plplot_octave.oct] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 ### execution of (export failed, exit code 2 Failed: compiling plplot-5.2.1.cvs.20040104-11 failed Any ideas how to fix this? thanks! - Koen. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel