Boost logo

Boost Users :

Subject: [Boost-users] "Cannot Open Shared Object File" only present when run as cron
From: Russ Jones (rjones_at_[hidden])
Date: 2011-10-27 10:48:01


Hey folks,

I'm currently using Boost to hold a statistical model in memory but am
running into a problem. When run directly from the command line (as root),
there are no issues, but when the same is run as a cron job, the following
error is present...

"/root/pylda/src/infer: error while loading shared libraries:
libboost_program_options.so.1.46.1: cannot open shared object file: No such
file or directory"

Not quite sure what would change between running the same script as root
user vs cron (I believe the cron is running as root, anyway). Have any of
you experienced a similar problem?

Thanks in advance,

Russ Jones



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net