[cl-debian] Bug#451095: cl-sql-mysql: cant load foreign libraries libmysqlclinet, libmysql

Brian Kudowski whooey1830 at web.de
Tue Nov 13 10:28:08 UTC 2007


Package: cl-sql-mysql
Version: 3.7.8-1
Severity: important


Hello,

asdf:load-op 'clsql-mysql throws me into the sbcl debugger (sbcl 1.0.7
 from Peter Van Eynden's deb repo).

1. as root: cd /var/cache/commonlisp-controller && rm -rf *
2. then in the slime repl: (asdf:oos 'asdf:load-op 'clsql-mysql)

Couldn't load foreign libraries "libmysqlclient", "libmysql". (searched
CLSQL-SYS:*FOREIGN-LIBRARY-SEARCH-PATHS*)
   [Condition of type SIMPLE-ERROR]

Restarts:
 0: [RETRY] Retry performing #<ASDF:LOAD-OP NIL {B67AE61}> on
#<ASDF:CL-SOURCE-FILE "mysql-loader" {B67AD89}>.
 1: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {B67AE61}> on
 #<ASDF:CL-SOURCE-FILE "mysql-loader" {B67AD89}> as having been successful.
 2: [ABORT] Return to SLIME's top level.
 3: [TERMINATE-THREAD] Terminate this thread (#<THREAD "worker" {BFC08B1}>)

Backtrace:
  0: (CLSQL-UFFI:FIND-AND-LOAD-FOREIGN-LIBRARY
      ("libmysqlclient" "libmysql"))
  1: ((SB-PCL::FAST-METHOD CLSQL-SYS:DATABASE-TYPE-LOAD-FOREIGN
       ((EQL :MYSQL)))
      #<unavailable argument>
      #<unavailable argument>
      #<unavailable argument>)
  2: ((LAMBDA
          (SB-PCL::.PV-CELL. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0.))
      #<unavailable argument>
      #<unavailable argument>
      :MYSQL)
  3: (SB-FASL::LOAD-FASL-GROUP
      #<SB-SYS:FD-STREAM for "file
      #/var/cache/common-lisp-controller/1000/sbcl/clsql-mysql/db-mysql/mysql-loader.fasl"
      #/{BC0AB31}>)
  4: ((FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK))
  5: (SB-UNIX::CALL-WITH-LOCAL-INTERRUPTS
      #<CLOSURE (FLET SB-UNIX::WITH-LOCAL-INTERRUPTS-THUNK) {B6040555}>
      T)
  6: ((FLET SB-UNIX::WITHOUT-INTERRUPTS-THUNK) T)
  7: ((FLET SB-UNIX::RUN-WITHOUT-INTERRUPTS))
  8: (SB-UNIX::CALL-WITHOUT-INTERRUPTS
      #<CLOSURE (FLET SB-UNIX::WITHOUT-INTERRUPTS-THUNK) {B6040645}>)
  9: (SB-THREAD::CALL-WITH-RECURSIVE-LOCK
      #<CLOSURE (FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK) {B60406BD}>
      #S(SB-THREAD:MUTEX
         :NAME "big compiler lock"
         :VALUE #<SB-THREAD:THREAD "worker" {BFC08B1}>))
 10: (SB-FASL::LOAD-AS-FASL
      #<SB-SYS:FD-STREAM for "file
      #/var/cache/common-lisp-controller/1000/sbcl/clsql-mysql/db-mysql/mysql-loader.fasl"
      #/{BC0AB31}>
      NIL
      #<unavailable argument>)
 11: (SB-FASL::INTERNAL-LOAD
      #P"/var/cache/common-lisp-controller/1000/sbcl/clsql-mysql/db-mysql/mysql-loader.fasl"
      #P"/var/cache/common-lisp-controller/1000/sbcl/clsql-mysql/db-mysql/mysql-loader.fasl"
      :ERROR
      NIL
      NIL
      :BINARY
      NIL)
 12: (SB-FASL::INTERNAL-LOAD
      #P"/var/cache/common-lisp-controller/1000/sbcl/clsql-mysql/db-mysql/mysql-loader.fasl"
      #P"/var/cache/common-lisp-controller/1000/sbcl/clsql-mysql/db-mysql/mysql-loader.fasl"
      :ERROR
      NIL
      NIL
      NIL
      :DEFAULT)
 13: (LOAD
      #P"/var/cache/common-lisp-controller/1000/sbcl/clsql-mysql/db-mysql/mysql-loader.fasl")
 14: ((SB-PCL::FAST-METHOD ASDF:PERFORM
       (ASDF:LOAD-OP ASDF:CL-SOURCE-FILE))
      #<unavailable argument>
      #<unavailable argument>
      #<ASDF:LOAD-OP NIL {B67AE61}>
      #<ASDF:CL-SOURCE-FILE "mysql-loader" {B67AD89}>)
 15: ((LAMBDA
          (SB-PCL::.PV-CELL. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0.
           SB-PCL::.ARG1.))
      #<unavailable argument>
      #<unavailable argument>
      #<ASDF:LOAD-OP NIL {B67AE61}>
      #<ASDF:CL-SOURCE-FILE "mysql-loader" {B67AD89}>)
 16: ((LAMBDA ()))
 17: ((FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK))
 18: (SB-UNIX::CALL-WITH-LOCAL-INTERRUPTS
      #<CLOSURE (FLET SB-UNIX::WITH-LOCAL-INTERRUPTS-THUNK) {B6040AAD}>
      T)
 19: ((FLET SB-UNIX::WITHOUT-INTERRUPTS-THUNK) T)
 20: ((FLET SB-UNIX::RUN-WITHOUT-INTERRUPTS))
 21: (SB-UNIX::CALL-WITHOUT-INTERRUPTS
      #<CLOSURE (FLET SB-UNIX::WITHOUT-INTERRUPTS-THUNK) {B6040B9D}>)
 22: (SB-THREAD::CALL-WITH-RECURSIVE-LOCK
      #<CLOSURE (FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK) {B6040C15}>
      #S(SB-THREAD:MUTEX
         :NAME "big compiler lock"
         :VALUE #<SB-THREAD:THREAD "worker" {BFC08B1}>))
 23: (SB-C::%WITH-COMPILATION-UNIT #<CLOSURE (LAMBDA #) {AB30BED}>)
 24: (ASDF:OPERATE ASDF:LOAD-OP CLSQL-MYSQL)
 25: (SB-INT:SIMPLE-EVAL-IN-LEXENV
      (ASDF:OOS 'ASDF:LOAD-OP 'CLSQL-MYSQL)
      #<NULL-LEXENV>)
 26: ((LAMBDA ()))
 27: ((LAMBDA (SWANK-BACKEND::FN)) #<CLOSURE (LAMBDA #) {BFC12E5}>)
 28: (SWANK::CALL-WITH-BUFFER-SYNTAX #<CLOSURE (LAMBDA #) {BFC12E5}>)
 29: (SB-INT:SIMPLE-EVAL-IN-LEXENV
      (SWANK:INTERACTIVE-EVAL "(asdf:oos 'asdf:load-op 'clsql-mysql)
     ")
      #<NULL-LEXENV>)
 30: ((LAMBDA ()))
 31: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN))
      #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK>
      #<CLOSURE (LAMBDA #) {BFC1195}>)
 32: ((LAMBDA ()))
 33: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN))
      #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK>
      #<FUNCTION (LAMBDA #) {BB80435}>)
 34: (SWANK::CALL-WITH-REDIRECTED-IO
      #<SWANK::CONNECTION {BE5CF41}>
      #<CLOSURE (LAMBDA #) {BFC10E5}>)
 35: (SWANK::CALL-WITH-CONNECTION
      #<SWANK::CONNECTION {BE5CF41}>
      #<FUNCTION (LAMBDA #) {BB80435}>)
 36: (SWANK::HANDLE-REQUEST #<SWANK::CONNECTION {BE5CF41}>)
 37: (SWANK::CALL-WITH-BINDINGS NIL #<CLOSURE (LAMBDA #) {BFC10C5}>)
 38: ((FLET SB-THREAD::WITH-MUTEX-THUNK))
 39: (SB-UNIX::CALL-WITH-LOCAL-INTERRUPTS
      #<CLOSURE (FLET SB-UNIX::WITH-LOCAL-INTERRUPTS-THUNK) {B6041125}>
      T)
 40: ((FLET SB-UNIX::WITHOUT-INTERRUPTS-THUNK) T)
 41: ((FLET SB-UNIX::RUN-WITHOUT-INTERRUPTS))
 42: (SB-UNIX::CALL-WITHOUT-INTERRUPTS
      #<CLOSURE (FLET SB-UNIX::WITHOUT-INTERRUPTS-THUNK) {B6041215}>)
 43: (SB-THREAD::CALL-WITH-MUTEX
      #<CLOSURE (FLET SB-THREAD::WITH-MUTEX-THUNK) {B6041295}>
      #S(SB-THREAD:MUTEX
         :NAME "thread result lock"
         :VALUE #<SB-THREAD:THREAD "worker" {BFC08B1}>)
      #<SB-THREAD:THREAD "worker" {BFC08B1}>
      T)
 44: ((LAMBDA ()))
 45: ("foreign function: call_into_lisp")
 46: ("foreign function: funcall0")
 47: ("foreign function: new_thread_trampoline")
 48: ("foreign function: #xB7FC9240")


Regards,
Brian K

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages cl-sql-mysql depends on:
ii  cl-sql                 3.7.8-1           SQL Interface for Common Lisp
ii  cl-sql-uffi            3.7.8-1           Common UFFI functions for CLSQL da
ii  libc6                  2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii  libmysqlclient15off    5.0.32-7etch1     mysql database client library
ii  zlib1g                 1:1.2.3-13        compression library - runtime

cl-sql-mysql recommends no packages.

-- no debconf information






More information about the Cl-debian mailing list