[Pianod] Build issues

Peter Li chinasaurli at gmail.com
Fri May 31 18:18:53 PDT 2013


I think trying with only one version is a good idea.  Also I would still 
try to debug build/link conftest.c from terminal, just to confirm that 
if you point it to the right library then it finds the function.

On the other thing you tried, in your config.log output it said:
     json_LIBS='-ljson-c'

So seems like the format for that variable should be the lib it's 
looking for, not the libdir.  You could try point the linker directly to 
the lib with json_LIBS=<full-path-to-libjson-c.so>.  Or you could try 
adding '-L/lib/arm-linux-gnueabihf/' in addition to the '-ljson-c'.  But 
these are weird hacks; would be better to just get the 
-L/lib/arm-linux-... added in some reasonable place.

Also kind of weird that your gcc conftest.c line looked for -ljson but 
this variable says -ljson-c, so I'd be careful that this variable is 
actually getting used in the place you are trying to fix.



On 05/31/2013 05:53 PM, Jimmy Pop wrote:
> I installed both with apt-get. I can purge both and try with just 1 or 
> the other
> I also tried
> ./configure json_LIBS=/lib/arm-linux-gnueabihf/
> with the exact same results



More information about the Pianod mailing list