in reply to Perplexed by Inline::C/MakeMaker LD path

Be careful not to conflate dynamic loader behavior (LD_LIBRARY_PATH, ld.so.cache, etc.) with that of the program linker (compiler final stage: -L -l flags, and so on).

Add BUILD_NOISY => 1 to your Inline C statement to see how the compiler is invoked.

  • Comment on Re: Perplexed by Inline::C/MakeMaker LD path

Replies are listed 'Best First'.
Re^2: Perplexed by Inline::C/MakeMaker LD path
by halfcountplus (Hermit) on Mar 03, 2014 at 14:04 UTC
    I've straightened that out. So "ld --verbose" (which should be the compile time linker) says it includes SEARCH_DIR("/usr/local/lib").