[Muscle] Problem running program when built with -lpcsclite
Ludovic Rousseau
ludovic.rousseau at gmail.com
Wed Nov 19 02:15:19 PST 2008
On Wed, Nov 19, 2008 at 10:26 AM, galapogos <goister at gmail.com> wrote:
> Hi,
Hello,
> I'm building a simple program that with the -lpcsclite flag. It builds
> properly. However, whenever I try to run it I get the following error
> message:
>
> ./main: error while loading shared libraries: libpcsclite.so.1: cannot open
> shared object file: No such file or directory
>
> libpcsclite.so.1 is actually at /usr/local/lib/
>
> Does anyone know why it doesn't see it?
Because /usr/local/lib/ is not in the loader LD_LIBRARY_PATH. See [1]
for ways to solve your problem.
[1] http://www.kernel.org/doc/man-pages/online/pages/man8/ld.so.8.html
--
Dr. Ludovic Rousseau
More information about the Muscle
mailing list