From dhgbayne at gmail.com Fri Jan 21 04:41:37 2011 From: dhgbayne at gmail.com (Duncan Bayne) Date: Fri, 21 Jan 2011 15:41:37 +1100 Subject: [drakma-devel] Failure to load under SBCL on MS Windows 7 (64-bit) Message-ID: Hi All, I'm using Drakma via Quicklisp on SBCL. This works fine under Ubuntu 10.10, but when I attempt to quickload Drakma on MS Windows Ultimate 64-bit, I get 'Error opening shared object "libssl32.dll"'. Here's a REPL session that demonstrates the problem: ===== * (load (merge-pathnames "quicklisp/setup.lisp" (user-homedir-pathname))) T * (ql:quickload '("drakma")) To load "drakma": Load 1 ASDF system: drakma ; Loading "drakma" ................ debugger invoked on a CFFI:LOAD-FOREIGN-LIBRARY-ERROR: Unable to load foreign library (LIBSSL). Error opening shared object "libssl32.dll": 126. Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL. restarts (invokable by number or by possibly-abbreviated name): 0: [RETRY ] Try loading the foreign library again. 1: [USE-VALUE ] Use another library instead. 2: [TRY-RECOMPILING] Recompile reload and try loading it again 3: [RETRY ] Retry loading component ("cl+ssl" "reload"). 4: [ACCEPT ] Continue, treating loading component ("cl+ssl" "reload") as having been successful. 5: [ABORT ] Give up on "drakma" 6: Exit debugger, returning to top level. (CFFI::FL-ERROR "Unable to load foreign library (~A).~% ~A")[:EXTERNAL] 0] ===== I'm quite new to Lisp, but very happy to help in any way necessary (running debug builds, etc.) with tracking this down. Yours, Duncan Bayne From edi at weitz.de Fri Jan 21 12:16:29 2011 From: edi at weitz.de (Edi Weitz) Date: Fri, 21 Jan 2011 13:16:29 +0100 Subject: [drakma-devel] Failure to load under SBCL on MS Windows 7 (64-bit) In-Reply-To: References: Message-ID: I have no experience with SBCL on Windows, let alone on 64-bit versions of Windows, but the obvious first question would be if you have libssl32.dll installed and where. (If not, I think there's a link on the Drakma website which shows were to find the OpenSSL libs for Windows. I don't know what this'll entail for 64-bit, though.) Let us know how it goes. Quick check: Is anyone on this list using Drakma with SBCL/Win? Edi. On Fri, Jan 21, 2011 at 5:41 AM, Duncan Bayne wrote: > Hi All, > > I'm using Drakma via Quicklisp on SBCL. ?This works fine under Ubuntu > 10.10, but when I attempt to quickload Drakma on MS Windows Ultimate > 64-bit, I get 'Error opening shared object "libssl32.dll"'. > > Here's a REPL session that demonstrates the problem: > > ===== > * (load (merge-pathnames "quicklisp/setup.lisp" (user-homedir-pathname))) > > T > * (ql:quickload '("drakma")) > To load "drakma": > ?Load 1 ASDF system: > ? ?drakma > ; Loading "drakma" > ................ > debugger invoked on a CFFI:LOAD-FOREIGN-LIBRARY-ERROR: > ?Unable to load foreign library (LIBSSL). > ?Error opening shared object "libssl32.dll": > ?126. > > Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL. > > restarts (invokable by number or by possibly-abbreviated name): > ?0: [RETRY ? ? ? ? ?] Try loading the foreign library again. > ?1: [USE-VALUE ? ? ?] Use another library instead. > ?2: [TRY-RECOMPILING] Recompile reload and try loading it again > ?3: [RETRY ? ? ? ? ?] Retry loading component ("cl+ssl" "reload"). > ?4: [ACCEPT ? ? ? ? ] Continue, treating loading component ("cl+ssl" "reload") > ? ? ? ? ? ? ? ? ? ? ? as having been successful. > ?5: [ABORT ? ? ? ? ?] Give up on "drakma" > ?6: ? ? ? ? ? ? ? ? ? Exit debugger, returning to top level. > > (CFFI::FL-ERROR "Unable to load foreign library (~A).~% ?~A")[:EXTERNAL] > 0] > ===== > > I'm quite new to Lisp, but very happy to help in any way necessary > (running debug builds, etc.) with tracking this down. > > Yours, > Duncan Bayne > > _______________________________________________ > drakma-devel mailing list > drakma-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel > > From marko.kocic at gmail.com Fri Jan 21 12:33:48 2011 From: marko.kocic at gmail.com (=?UTF-8?B?TWFya28gS29jacSH?=) Date: Fri, 21 Jan 2011 13:33:48 +0100 Subject: [drakma-devel] Failure to load under SBCL on MS Windows 7 (64-bit) In-Reply-To: References: Message-ID: I use the same combination. Since I also had the problem with finding working ssl libs, that was the motivation for me to submit a patch to add :DRAKMA-NO-SSL to *features* and use drakma without HTTPS. If you actually need HTTP, let me know if you find correct libssl files :) Regards, Marko Koci? On Fri, Jan 21, 2011 at 5:41 AM, Duncan Bayne wrote: > Hi All, > > I'm using Drakma via Quicklisp on SBCL. ?This works fine under Ubuntu > 10.10, but when I attempt to quickload Drakma on MS Windows Ultimate > 64-bit, I get 'Error opening shared object "libssl32.dll"'. > > Here's a REPL session that demonstrates the problem: > > ===== > * (load (merge-pathnames "quicklisp/setup.lisp" (user-homedir-pathname))) > > T > * (ql:quickload '("drakma")) > To load "drakma": > ?Load 1 ASDF system: > ? ?drakma > ; Loading "drakma" > ................ > debugger invoked on a CFFI:LOAD-FOREIGN-LIBRARY-ERROR: > ?Unable to load foreign library (LIBSSL). > ?Error opening shared object "libssl32.dll": > ?126. > > Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL. > > restarts (invokable by number or by possibly-abbreviated name): > ?0: [RETRY ? ? ? ? ?] Try loading the foreign library again. > ?1: [USE-VALUE ? ? ?] Use another library instead. > ?2: [TRY-RECOMPILING] Recompile reload and try loading it again > ?3: [RETRY ? ? ? ? ?] Retry loading component ("cl+ssl" "reload"). > ?4: [ACCEPT ? ? ? ? ] Continue, treating loading component ("cl+ssl" "reload") > ? ? ? ? ? ? ? ? ? ? ? as having been successful. > ?5: [ABORT ? ? ? ? ?] Give up on "drakma" > ?6: ? ? ? ? ? ? ? ? ? Exit debugger, returning to top level. > > (CFFI::FL-ERROR "Unable to load foreign library (~A).~% ?~A")[:EXTERNAL] > 0] > ===== > > I'm quite new to Lisp, but very happy to help in any way necessary > (running debug builds, etc.) with tracking this down. > > Yours, > Duncan Bayne > > _______________________________________________ > drakma-devel mailing list > drakma-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel > From edi at weitz.de Fri Jan 21 12:55:36 2011 From: edi at weitz.de (Edi Weitz) Date: Fri, 21 Jan 2011 13:55:36 +0100 Subject: [drakma-devel] Failure to load under SBCL on MS Windows 7 (64-bit) In-Reply-To: References: Message-ID: Oh, right, what I completely forgot to mention: I'm running the 32-bit version of LispWorks 6.0.1 pro on 64-bit Windows 7 with the 32-bit version of OpenSSL from . That works fine with Drakma. Edi. On Fri, Jan 21, 2011 at 1:33 PM, Marko Koci? wrote: > I use the same combination. > > Since I also had the problem with finding working ssl libs, that was > the motivation for me to submit a patch to add ?:DRAKMA-NO-SSL to > *features* and use drakma without HTTPS. > > If you actually need HTTP, let me know if you find correct libssl files :) > > Regards, > Marko Koci? > > On Fri, Jan 21, 2011 at 5:41 AM, Duncan Bayne wrote: >> Hi All, >> >> I'm using Drakma via Quicklisp on SBCL. ?This works fine under Ubuntu >> 10.10, but when I attempt to quickload Drakma on MS Windows Ultimate >> 64-bit, I get 'Error opening shared object "libssl32.dll"'. >> >> Here's a REPL session that demonstrates the problem: >> >> ===== >> * (load (merge-pathnames "quicklisp/setup.lisp" (user-homedir-pathname))) >> >> T >> * (ql:quickload '("drakma")) >> To load "drakma": >> ?Load 1 ASDF system: >> ? ?drakma >> ; Loading "drakma" >> ................ >> debugger invoked on a CFFI:LOAD-FOREIGN-LIBRARY-ERROR: >> ?Unable to load foreign library (LIBSSL). >> ?Error opening shared object "libssl32.dll": >> ?126. >> >> Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL. >> >> restarts (invokable by number or by possibly-abbreviated name): >> ?0: [RETRY ? ? ? ? ?] Try loading the foreign library again. >> ?1: [USE-VALUE ? ? ?] Use another library instead. >> ?2: [TRY-RECOMPILING] Recompile reload and try loading it again >> ?3: [RETRY ? ? ? ? ?] Retry loading component ("cl+ssl" "reload"). >> ?4: [ACCEPT ? ? ? ? ] Continue, treating loading component ("cl+ssl" "reload") >> ? ? ? ? ? ? ? ? ? ? ? as having been successful. >> ?5: [ABORT ? ? ? ? ?] Give up on "drakma" >> ?6: ? ? ? ? ? ? ? ? ? Exit debugger, returning to top level. >> >> (CFFI::FL-ERROR "Unable to load foreign library (~A).~% ?~A")[:EXTERNAL] >> 0] >> ===== >> >> I'm quite new to Lisp, but very happy to help in any way necessary >> (running debug builds, etc.) with tracking this down. >> >> Yours, >> Duncan Bayne >> >> _______________________________________________ >> drakma-devel mailing list >> drakma-devel at common-lisp.net >> http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel >> > > _______________________________________________ > drakma-devel mailing list > drakma-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel > From edi at weitz.de Fri Jan 21 19:15:41 2011 From: edi at weitz.de (Edi Weitz) Date: Fri, 21 Jan 2011 20:15:41 +0100 Subject: [drakma-devel] [Patch]: better file-names when sending multipart/form-data from streams. In-Reply-To: <87wrmw63au.fsf@gmail.com> References: <87wrmw63au.fsf@gmail.com> Message-ID: Thanks, in the repository now. On Sun, Dec 26, 2010 at 3:01 PM, Stas Boukarev wrote: > The attached patch does two things: > * :filename option takes precedence of automatically determined names > ?(it was the case previously only for pathnames, and not for streams or functions). > * if stream is a file-stream, which means it's a pathname designator, > use file-namestring to get the filename. > > > -- > With Best Regards, Stas. > > _______________________________________________ > drakma-devel mailing list > drakma-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel > >