>>>>> "cbl" == Craig Brent Ludington <[EMAIL PROTECTED]> writes:

  cbl> Should this search LD_LIBRARY_PATH and the standard directories?
  cbl> 
  cbl> (ext:load-foreign "libpq.so")
  cbl> 
  cbl> The documentation says:
  cbl> 
  cbl> "If files is a simple-string, the file that it designates is loaded 
  cbl> using the platform's dlopen mechanism.
  cbl> If it is a list of strings, the platform linker ld is invoked ..."

  LOAD-FOREIGN does not search the standard library paths. The reason
  for this behaviour is that if the file exists but is not a shared
  library (for instance a normal .o file), CMUCL will ask the linker
  to load it. I will try to clarify the documentation in this respect.

  Perhaps LOAD-FOREIGN would be more useful if it worked as you
  expect. I fear that changing it would make the diagnostics available
  on error less useful than they currently are, since dlerror() does
  not work very well in my experience (on Linux).

-- 
Eric Marsden                          <URL:http://www.laas.fr/~emarsden/>

Reply via email to