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

whooey1830 at web.de whooey1830 at web.de
Tue Nov 13 15:11:09 UTC 2007


> -----Ursprüngliche Nachricht-----
> Von: Kevin Rosenberg <kevin at rosenberg.net>
> Gesendet: 13.11.07 15:18:01
> An:  451095 at bugs.debian.org
> Betreff: Re: Bug#451095: cl-sql-mysql: cant load foreign libraries libmysqlclinet, libmysql


> 
> Brian Kudowski wrote:
> > 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)
> 
> Can you verify that it works correctly with the SBCL version that is
> included with etch, IIRC, it's 0.9.6.

downgrade ok.
(apt-get remove sbcl, then deleted the appropiate line in /etc/apt/source.lst, then apt-get update, then apt-get install sbcl: 0.9.6.)

> I assume you're using the
> version of UFFI that comes with etch as well.

Yes.
(checked on packages.debian.org versus dpkg --list
cl-uffi: 1.5.17-1
cl-sql-uffi: 3.7.8.-1)

> I recently tested
> clsql-mysql on a clean etch-i386 chroot and it worked fine; see bug
> #450869

1. rm -rf /var/cache/com...
2. then asdf:loading clsql-mysql
3. SB debugger returns a different backtrace as with sbcl 1.0.7:

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 {C0AE7C1}> on #<ASDF:CL-SOURCE-FILE "mysql-loader" {C0AE479}>.
 1: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {C0AE7C1}> on #<ASDF:CL-SOURCE-FILE "mysql-loader" {C0AE479}> as having been successful.
 2: [ABORT] Return to SLIME's top level.
 3: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread" {BD733E1}>)

Backtrace:
  0: (CLSQL-UFFI:FIND-AND-LOAD-FOREIGN-LIBRARY
      #<unavailable argument>
      :MODULE
      "mysql"
      :SUPPORTING-LIBRARIES
      ("c")
      :ERRORP
      T)
  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" {A8AF6E1}>)
  4: (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" {A8AF6E1}>
      NIL
      #<unavailable argument>)
  5: (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)
  6: (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)
  7: (LOAD
      #P"/var/cache/common-lisp-controller/1000/sbcl/clsql-mysql/db-mysql/mysql-loader.fasl")
  8: ((SB-PCL::FAST-METHOD ASDF:PERFORM
       (ASDF:LOAD-OP ASDF:CL-SOURCE-FILE))
      #<unavailable argument>
      #<unavailable argument>
      #<ASDF:LOAD-OP NIL {C0AE7C1}>
      #<ASDF:CL-SOURCE-FILE "mysql-loader" {C0AE479}>)
  9: ((LAMBDA
          (SB-PCL::.PV-CELL. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0.
           SB-PCL::.ARG1.))
      #<unavailable argument>
      #<unavailable argument>
      #<ASDF:LOAD-OP NIL {C0AE7C1}>
      #<ASDF:CL-SOURCE-FILE "mysql-loader" {C0AE479}>)
 10: ((LAMBDA ()))
 11: (SB-C::%WITH-COMPILATION-UNIT #<CLOSURE (LAMBDA #) {B9C4975}>)
 12: (ASDF:OPERATE ASDF:LOAD-OP CLSQL-MYSQL)
 13: (SB-INT:EVAL-IN-LEXENV
      (ASDF:OOS 'ASDF:LOAD-OP 'CLSQL-MYSQL)
      #<NULL-LEXENV>)
 14: (SWANK::EVAL-REGION
      "(asdf:oos 'asdf:load-op 'clsql-mysql)
     "
      T)
 15: ((LAMBDA ()))
 16: ((LAMBDA (SWANK-BACKEND::FN)) #<CLOSURE (LAMBDA #) {A90BE75}>)
 17: (SWANK::CALL-WITH-BUFFER-SYNTAX #<CLOSURE (LAMBDA #) {A90BE75}>)
 18: (SWANK:LISTENER-EVAL
      "(asdf:oos 'asdf:load-op 'clsql-mysql)
     ")
 19: (SB-INT:EVAL-IN-LEXENV
      (SWANK:LISTENER-EVAL "(asdf:oos 'asdf:load-op 'clsql-mysql)
     ")
      #<NULL-LEXENV>)
 20: ((LAMBDA ()))
 21: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN))
      #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK>
      #<CLOSURE (LAMBDA #) {A909905}>)
 22: ((LAMBDA ()))
 23: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN))
      #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK>
      #<FUNCTION (LAMBDA #) {B3CE075}>)
 24: (SWANK::CALL-WITH-REDIRECTED-IO
      #<SWANK::CONNECTION {B9D8A59}>
      #<CLOSURE (LAMBDA #) {A90979D}>)
 25: (SWANK::CALL-WITH-CONNECTION
      #<SWANK::CONNECTION {B9D8A59}>
      #<FUNCTION (LAMBDA #) {B3CE075}>)
 26: (SWANK::HANDLE-REQUEST #<SWANK::CONNECTION {B9D8A59}>)
 27: (SWANK::REPL-LOOP #<SWANK::CONNECTION {B9D8A59}>)
 28: (SWANK::REPL-LOOP #<SWANK::CONNECTION {B9D8A59}>)
 29: (SWANK::CALL-WITH-BINDINGS NIL #<CLOSURE (LAMBDA #) {BD830A5}>)
 30: ((LAMBDA ()))
 31: ("foreign function: call_into_lisp")
 32: ("foreign function: funcall0")
 33: ("foreign function: new_thread_trampoline")
 34: ("foreign function: #xB7FC9240")

Brian
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!		
Jetzt testen! http://produkte.web.de/club/?mc=021130







More information about the Cl-debian mailing list