[Pianod] Ubuntu 12.04 compile error
Perette Barella
perette at barella.org
Tue Apr 9 17:35:59 PDT 2013
On 2013年04月09日, at 11:18, Steven Adeff wrote:
>> On Sun, 2013-04-07 at 09:00 -0400, Perette Barella wrote:
>>> The linker isn't finding the json library. pkg-config should indicate where it comes from if you run:
>>>
>>> pkg-config --libs json
>
> $ pkg-config --libs json
> -ljson
>
So it seems pkg-config is missing the -L portion of the linker flags.
I expect Ubuntu will have a working locate. Do
locate libjson.a
It should give you something like /opt/local/lib/libjson.a -- add the path from this to LDFLAGS:
LDFLAGS="$LDFLAGS -L/usr/local/lib"
export LDFLAGS
Then retry the ./configure && make
Perette
More information about the Pianod
mailing list