Re: Execute lm_sensors as normal c program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 9, 2010 at 1:58 PM, Susmith P <susmith.p@xxxxxxxxx> wrote:
> Hi,
> I have checked the lm_sensors, It is really amazing. I need that sensors to
> run a normal c program. I have downloaded the source code, in directory
> /prog  I saw a c program main.c.

prog/sensors, I presume.

> But when I execute that program it through
> some errors.

What errors? Note that 'sensors' executable depends on libsensors, if
it's not in your loader search path the program won't start. You can
either point LD_LIBRARY_PATH to the appropriate directory or copy the
library to one of the standard system directories (e.g.
/usr/local/lib).

Luca

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux