in reply to Re: Perplexed by Inline::C/MakeMaker LD path
in thread Perplexed by Inline::C/MakeMaker LD path
Starting Build Compile Stage Starting "perl Makefile.PL" Stage Warning (mostly harmless): No library found for -lmpg123
So I ran it through `strace -f` (the dirt is in a child, so just `strace` won't get it). Without `-L`, it stats in order /usr/local/lib64, /lib64, and then /usr/lib64. It's of course my laziness that /usr/local does not follow the convention of dividing 64 and 32 bit libs (since there aren't any of the later).
However, I still don't see why it doesn't use the actual compile time linker path. In the end, the use of `-L /usr/local/lib` is meaningless; it would have been found anyway if `-lmpg123` was used. But it seems if the afforementioned search failed, Inline leaves the "LIBS" command out entirely of its own accord. I'm on the mailing list so I'll ask about this...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perplexed by Inline::C/MakeMaker LD path
by syphilis (Archbishop) on Mar 03, 2014 at 14:33 UTC |