[Openmcl-devel] CCL64 fails to load cl-plplot
Gary Byers
gb at clozure.com
Fri Sep 10 17:46:03 PDT 2010
What output is produced by:
? (ccl:run-program "file" '("/usr/local/unix/plplot/lib/libplplotd.9.8.0.dylib")
:output t)
I suspect that that'll tell you that that dylib is 32-bit only.
On Sat, 11 Sep 2010, Leo wrote:
> Hello,
>
> I did a svn up today. My previous svn up was probably 1.5 months ago.
> And now ccl64 refuses to load cl-plplot 0.50
> (http://common-lisp.net/project/cl-plplot/cl-plplot-0.5.0.tar.gz). It
> was working before the update. Any ideas?
>
> The value of cffi:*foreign-library-directories* is:
>
> (#P"/usr/local/unix/plplot/lib/" #P"/opt/local/lib/" #P"/sw/lib/"
> #P"/usr/local/lib/")
>
> ls -l /usr/local/unix/plplot/lib/:
>
> total 1184
> -rwxr-xr-x 1 leo staff 43824 8 Jul 01:39 libcsirocsa.0.0.1.dylib
> lrwxr-xr-x 1 leo staff 23 8 Jul 01:39 libcsirocsa.0.dylib -> libcsirocsa.0.0.1.dylib
> lrwxr-xr-x 1 leo staff 19 8 Jul 01:39 libcsirocsa.dylib -> libcsirocsa.0.dylib
> -rwxr-xr-x 1 leo staff 46520 8 Jul 01:39 libcsironn.0.0.1.dylib
> lrwxr-xr-x 1 leo staff 22 8 Jul 01:39 libcsironn.0.dylib -> libcsironn.0.0.1.dylib
> lrwxr-xr-x 1 leo staff 18 8 Jul 01:39 libcsironn.dylib -> libcsironn.0.dylib
> -rwxr-xr-x 1 leo staff 436304 8 Jul 01:39 libplplotd.9.8.0.dylib
> lrwxr-xr-x 1 leo staff 22 8 Jul 01:39 libplplotd.9.dylib -> libplplotd.9.8.0.dylib
> lrwxr-xr-x 1 leo staff 18 8 Jul 01:39 libplplotd.dylib -> libplplotd.9.dylib
> -rwxr-xr-x 1 leo staff 39144 8 Jul 01:39 libqsastime.0.0.1.dylib
> lrwxr-xr-x 1 leo staff 23 8 Jul 01:39 libqsastime.0.dylib -> libqsastime.0.0.1.dylib
> lrwxr-xr-x 1 leo staff 19 8 Jul 01:39 libqsastime.dylib -> libqsastime.0.dylib
> drwxr-xr-x 2 leo staff 102 8 Jul 01:39 pkgconfig
> drwxr-xr-x 3 leo staff 102 8 Jul 01:39 plplot5.9.6
>
>
> Here is the text in SLDB:
>
> Error opening shared library "libplplotd.dylib": dlopen(libplplotd.dylib, 10): image not found
> [Condition of type SIMPLE-ERROR]
>
> Restarts:
> 0: [ABORT] #<RESTART ABORT #x49CEED>
> 1: [ABORT-BREAK] #<RESTART ABORT-BREAK #x49CF3D>
>
> Backtrace:
> 0: (CCL::OPEN-SHARED-LIBRARY-INTERNAL "libplplotd.dylib")
> Locals:
> CCL::NAME = "libplplotd.dylib"
> TYPE = #<A Foreign Pointer [stack-allocated] (:* (:SIGNED 32)) #x7FFF5FBFED30>
> CCL::RESULT = #<A Foreign Pointer #x503E85>
> 1: ((:INTERNAL CCL::CALL-IN-PROCESS))
> Locals:
> CCL::DONE = #<SEMAPHORE #x302000BB940D>
> CCL::F = #<COMPILED-LEXICAL-CLOSURE (:INTERNAL ..)
> CCL::RETURN-VALUES = NIL
> 2: (APPLY #<COMPILED-LEXICAL-CLOSURE (:INTERNAL CCL::CALL-IN-PROCESS) #x302000CBC67F> NIL)
> Locals:
> FUNCTION = #<COMPILED-LEXICAL-CLOSURE (:INTERNAL ..)
> CCL::ARG = NIL
> CCL::ARGS = NIL
> 3: (CCL::THREAD-HANDLE-INTERRUPTS)
> Locals:
> CCL::THREAD = #<LISP-THREAD Initial [tcr @ #x100790] #x3020000B193D>
> CCL::*WHOSTATE* = "Active"
> CCL::F = (#<Compiled-function APPLY #x3000001113AF> ..)))
> 4: (CCL::XCMAIN 17591849975240)
> 5: (CCL::%PASCAL-FUNCTIONS% 1 17591849975240)
> 6: (NIL #<Unknown Arguments>)
> 7: (CCL::%NANOSLEEP #<Unknown Arguments>)
> 8: (CCL::%NANOSLEEP 0 330000000)
> 9: (CCL::HOUSEKEEPING-LOOP)
> --more--
>
>
> Leo
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>
More information about the Openmcl-devel
mailing list