http://www.perlmonks.org?node_id=134629


in reply to Trouble Compiling

hedo. If you are running gcc 2.95.x, make sure you are using /usr/ccs/bin/ld. If you're using gcc3.0.x, try using gnu ld (normally /usr/local/bin/ld). Adjust the order of your $PATH to ensure you're using the correct ld for your setup. HTH.