A question about io-net

Hi,

I am a beginner. I try to mount my lib on io-net as follow,

“mount -Tio-net mylib_g.so”

But I always get this error message:

mount: Can’t mount / (type io-net)
mount: Possible reason: No such device or address

Would you tell me what’s wrong? Thanks.

What is “mylib_g.so”? Things to mount into io-net have specific format and functions, you need to make sure these are all there.

Try start io-net with “DL_DEBUG=1” like this.

DL_DEBUG=1 io-net

mount -Tio-net mylib_g.so

and see the debug print out could give you any hint.

Thanks, Tang.

“mylib_g.so” is a test lib that I wrote. I try start io-net with “DL_DEBUG=1”, and I get those inforamtion:

dlopen(“mylib_g.so”,1024)
load_object: attempt load of mylib_g.so
dlopen: Library cannot be found
mount: Can’t mount / (type io-net)
mount: Possible reason: No such device or address

The lib is over there, but “dlopen” cannot find it. I don’t know what’s wrong. Would you recommend me some documents about io-net? Thank you for your attention.

Thanks, Tang. My lib works now. The io-net manager uses the LD_LIBRARY_PATH environment variable.

Lei