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


in reply to Installing external libraries for perlbrew perl

Greetings, bangor.

You were given some very informative links yesterday, from the other responder to your question. I'd strongly recommend reviewing them. In fact, they are related to what I'm going to suggest to you now. Firstly, you're going to have to read up on your version of make. The link I just used is for the FreeBSD version of make. You will want to issue the following within a terminal app, on your box

man make
this will inform you of options you can give any Modules, or libraries you choose to install. Another important command you will want to get acquainted with, is ldd. This utility is not unlike the dispatcher, at a cab company. It keeps inventory of all the cabs/cabbies (symbols, in OS/library speak). Then dispatches the cabs (symbols/library functions) on request. Or emits those wonderful error messages you've been asking about.
man ldd
should provide more than you want to know about ld. :)

That's all there is to say, in the matter. Pay close attention to how you can inform/influence make, where library paths are concerned.

Have fun, and get to reading. :)

--Chris

UPDATE; Forgot to mention; You'll also probably be well advised to read up on ld. As it's part of the ldd process. But you would already have noticed that, having read the ldd man page. :)

In fact, it's more powerful, and influential than ldd!

Yes. What say about me, is true.