I am trying to install (and use) CLSQL with CMUCL on Linux/x86, but get
the following error message during compilation:

Error in function SYSTEM::LOAD-OBJECT-FILE:
   Can't open object "/tmp/22903AG2856": NIL
   [Condition of type SIMPLE-ERROR]

Restarts:
  0: [CONTINUE] Return NIL from load of
#p"/home/bjorn/common-lisp/cmucl/19a-x86/clsql-3.1.6/db-mysql/mysql-loader.x86f".
  1: [RETRY] Retry performing #<ASDF:LOAD-OP NIL {58C254BD}> on
#<ASDF:CL-SOURCE-FILE "mysql-loader" {5848780D}>.
  2: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {58C254BD}> on
#<ASDF:CL-SOURCE-FILE "mysql-loader" {5848780D}> as having been successful.
  3: [ABORT] Abort handling SLIME request.
  4: [ABORT] Return to Top-Level.

Backtrace:
  0: (SYSTEM::LOAD-OBJECT-FILE "/tmp/22903AG2856")
  1: (EXTENSIONS:LOAD-FOREIGN
"/mnt_icdg/sw.lnx86/pkg/mysql/4.0.12/lib/libmysqlclient.a" :LIBRARIES
("-lc") :BASE-FILE ...)
  2: (UFFI:LOAD-FOREIGN-LIBRARY
"/mnt_icdg/sw.lnx86/pkg/mysql/4.0.12/lib/libmysqlclient.a" :MODULE
#<unused-arg> :SUPPORTING-LIBRARIES ...)
  3: ((METHOD CLSQL-SYS:DATABASE-TYPE-LOAD-FOREIGN NIL (#))
#<#1=unused-arg> #<#1#> #<#1#>)
  4: ("LAMBDA (#:G2841 #:G2842 #:G2843)" #<#1=unused-arg> #<#1#> :MYSQL)
  5: (C::DO-CALL #<Code Object "Top-Level Form" {5889A507}> 67 68 4 ...)

I suspect that it is a problem of different compiler and/or library
versions. The platform is Redhat 7.3 (I know, gcc i broken), with a binary
installation of Mysql 4.0.12. The CMUCL version is 19a, presumably the
"official" binary version for Linux/x86.

It would be of great help to know if my suspicion is correct, and if so
which libraries/compilers are to blame.


Bj�rn



Reply via email to