Thankyou Hazen - that solved the compiling of PLplot problem! I now have
plplot problems in perldl, but at least the compile goes through.

To recap:

cd PDL/
perl Makefile.PL
edit Graphics/PLplot/Makefile

# search for LDDLFLAGS (it's around line 44 for PDL 2.4.6) and replace
LDDLFLAGS =  -shared -L/usr/local/lib -L/usr/local/libĀ·
# with...
LDDLFLAGS = -bundle -undefined dynamic_lookup -L/usr/local/lib


$ make

Matt

On Tue, Apr 20, 2010 at 5:58 PM, Hazen Babcock <[email protected]> wrote:

> I would guess that this is (still...) the problem:
>
> http://article.gmane.org/gmane.comp.lang.perl.pdl.devel/838
>
> In short the LDDLFLAGS are still set incorrectly for OS-X.
> In the generated Makefile they are (probably):
> LDDLFLAGS =  -shared -L/usr/local/lib -L/usr/local/lib
>
> When they should be (at least for OS-X, and it has been awhile since I
> actually tested this...):
> LDDLFLAGS = -bundle -undefined dynamic_lookup -L/usr/local/lib
>
> -Hazen
>
>
-- 
Matthew Kenworthy / Assistant Professor / Leiden Observatory
Niels Bohrweg 2 (#463) / P.O. Box 9513 / 2300 RA Leiden / NL
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to