From: John Ralls <jralls@ce...> - 2004-11-24 01:33:38
I'm trying to get wxPerl 0.20 working with an alternate installation of
wxWidgets (2.5.2, prefix = /usr/local/wxPython-2.5.2) on my laptop
(Mandrake 10.0). I set $WX_CONFIG to the right version and run perl
Makefile.PL. The includes and libs all look fine during the build, but
at the end it won't run because of a bad symbol in Wx.so. Ldd reveals
that Wx.so isn't linked to the 2.5.2 library, but to the 2.5.3 library
(prefix = /usr/local). I've tried setting extra-cflags to
LDDLFLAGS="-rpath,/usr/local/wxPython-2.5.2/lib". Neither worked.
What's the right incantation?
(Of course it would be really nice if MakeMaker could be coerced into
getting the prefix from wx-config and using that...)