On Aug 29, 7:22 pm, [EMAIL PROTECTED] (Tom Phoenix) wrote: > On 8/28/07, Kermit Tensmeyer <[EMAIL PROTECTED]> wrote: > > > I can see > > from the error that the required library did not get loaded. > > What did you do to try to load it? > > > How does it know where the library is located? > > I think you're looking for Perl's special @INC variable. See perlvar. > > Hope this helps! > > --Tom Phoenix > Stonehenge Perl Training
Just for future googling... The object libraries that can be used by modules (either directly or referenced by XS sections of the perl) must be either in a ld specified RPATH or must be in the system loader library path [which for reference (in linux and solaris) set by the ld.conf file (and as processed). The library that I was looking for did not have a symbolic link in a directory that was searched (ld.conf), so the xxx.so.2.7 file had been available during the make / build / ld process, but it wasn't found at run time. I added a symbolic link to the file. I could have modified the ld.conf file and re-run ldd as an alternative /// I figured out that the library was missing when I was debuging a small demo program. The use statement completed without error. Stepping into the first call to the perl module (inside of @INC) and tracing execution inside of the module failed at a call to a function. The error message returned text indicating that an entry point was not found. This missing entry point was a well known connection/ initialization name in the C++ API. My conclusion was that the library had not been loaded at run-time. --- Kermit -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/