Re: Trouble loading libfoo.so.N

  • From: Sean Conner <sean@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Wed, 11 May 2016 16:22:44 -0400

It was thus said that the Great Dan Christian once stated:

I'm trying to load a shared library in an embedded ARM Linux
environment.  It won't work if the library path has a version number
after it.

ffi.load("/lib/libcrypt.so.1")
Fails with libcrypt.so: cannot open shared object file: No such file
or directory.

Is there a way to get it to load a versioned so?

  Let's start simple:  what does "ls -l /lib/libcrypt.so.1" show?

  -spc


Other related posts: