Koen van der Drift wrote:

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

Wouldn't replacing "-bundle_loader /sw/bin/octave-2.1.50" by "-undefined dynamic_lookup" work, too?


--
Martin



-------------------------------------------------------
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

Reply via email to