When I set libdir to a valid path where it can find the plugin, it will hang and never return. If I point it to an invalid path it works fine, but does not support SAN at that point. I am currently using VDDK 5.0 update 3 to compile my program on Linux. The last messages printed are:
<4b72> <11/26/14 11:25:30> vix Log: VixDiskLib: config options: libdir '/home/me/src/vmware-vix-disklib-distrib', tmpDir '/tmp/vmware-me'.
<4b72> <11/26/14 11:25:30> vix Log: VixDiskLib: Attempting to locate advanced transport module in "/home/me/src/vmware-vix-disklib-distrib/plugins64".
<4b72> <11/26/14 11:25:30> vix Log: VixDiskLib: Advanced transport plugin was successfully loaded into vixDiskLib.
<4b72> <11/26/14 11:25:30> vix Log: VixDiskLib: Enabling advanced transport modes.
<4b72> <11/26/14 11:25:30> vix Log: VixDiskLib: Transport modes available: file:nbdssl:nbd:san.
2014-11-26T11:25:30.387-05:00 [7F8E23FE1720 trivia 'Default'] buffer is 'NPTL 2.12'
2014-11-26T11:25:30.387-05:00 [7F8E23FE1720 verbose 'ThreadPool'] Thread info: Min Io, Max Io, Min Task, Max Task, Max Thread, Keepalive, exit idle, idle secs, max fds: 2, 21, 2, 10, 31, 4, true, 600
2014-11-26T11:25:30.387-05:00 [7F8E23FE1720 trivia 'ThreadPool'] Thread pool launched
It never returns control from here. I have tried other copies of the VDDK that are known to work. I can compile the VDDK sample code and it will run, so I obviously have something wrong in my code, but I can't seem to find it.
Thanks for your help.