So, I keep trying to install some modules with XS components on Solaris using "iwcpan install Package::Module" and it keeps barfing on the linking stage because make is using some flag that ld doesn't recognize. I'm guessing its because it is looking at Sun's ld (/usr/ccs/bin/ld) and not the GNU ld (/usr/sfw/bin/gld), but I can't figure out how to tell CPAN to use the right linker. I looked through my .cpan directory which lets me set the C compiler and make command, but not the linker. Anyone have a similar problem?
~> sudo mv /usr/ccs/bin/ld /usr/ccs/bin/ccs_ld~> sudo ln -s /usr/sfw/bin/gld /usr/ccs/bin/ld