I want to use
(require "comm")
(comm:ensure-ssl)
in a FileMaker plugin built with fm-plugin-tools.
In the listener it is no problem and even when using the hello-world delivery example from LW these two lines work without setting any openssl paths.
I am working both on MacOSX 10.8 and Win7 with LW 6.1.
I posted this already on Lispworks list (http://article.gmane.org/gmane.lisp.lispworks.general/12755) and got a bunch of hints but was not able yet to make it work in a FM plugin. When I try it, I get either an error ('unable to load library') or an outdated version of openssl loaded.
So obviously fm-plugin-tools is changing something that makes the ssl library unusable. Any hints are welcome which help me out of this.
Thanks Jens
A plug-in is itself a shared library and thus the way the SSL libs are loaded is certainly different from how they are loaded from a stand-alone executable you delivered. Without having looked up the details I'd think that the SSL libs are expected in a place where FileMaker itself would search for them. Did you put the ones you want loaded in the same folder as FileMaker?
On Sat, Jan 25, 2014 at 2:13 PM, Jens Teich info@jensteich.de wrote:
I want to use
(require "comm")
(comm:ensure-ssl)
in a FileMaker plugin built with fm-plugin-tools.
In the listener it is no problem and even when using the hello-world delivery example from LW these two lines work without setting any openssl paths.
I am working both on MacOSX 10.8 and Win7 with LW 6.1.
I posted this already on Lispworks list (http://article.gmane.org/gmane.lisp.lispworks.general/12755) and got a bunch of hints but was not able yet to make it work in a FM plugin. When I try it, I get either an error ('unable to load library') or an outdated version of openssl loaded.
So obviously fm-plugin-tools is changing something that makes the ssl library unusable. Any hints are welcome which help me out of this.
Thanks Jens
Great, now it works at least on Win (didn't try Mac yet). Many thanks for your help.
I had to make a minor modification to drakma like this:
file request.lisp line 584
--- (comm:attach-ssl http-stream :ssl-side :client) +++ (comm:attach-ssl http-stream :ssl-side :client :ssl-ctx :v3)
Are you interested in a patch which allows to set this?
Regards Jens
Am 25.01.2014 15:17, schrieb Edi Weitz:
A plug-in is itself a shared library and thus the way the SSL libs are loaded is certainly different from how they are loaded from a stand-alone executable you delivered. Without having looked up the details I'd think that the SSL libs are expected in a place where FileMaker itself would search for them. Did you put the ones you want loaded in the same folder as FileMaker?
On Sat, Jan 25, 2014 at 2:13 PM, Jens Teich info@jensteich.de wrote:
I want to use
(require "comm")
(comm:ensure-ssl)
in a FileMaker plugin built with fm-plugin-tools.
In the listener it is no problem and even when using the hello-world delivery example from LW these two lines work without setting any openssl paths.
I am working both on MacOSX 10.8 and Win7 with LW 6.1.
I posted this already on Lispworks list (http://article.gmane.org/gmane.lisp.lispworks.general/12755) and got a bunch of hints but was not able yet to make it work in a FM plugin. When I try it, I get either an error ('unable to load library') or an outdated version of openssl loaded.
So obviously fm-plugin-tools is changing something that makes the ssl library unusable. Any hints are welcome which help me out of this.
Thanks Jens
Drakma is maintained by Hans Hübner now. This is where patches are to be sent:
On Sat, Jan 25, 2014 at 4:39 PM, Jens Teich info@jensteich.de wrote:
Great, now it works at least on Win (didn't try Mac yet). Many thanks for your help.
I had to make a minor modification to drakma like this:
file request.lisp line 584
--- (comm:attach-ssl http-stream :ssl-side :client) +++ (comm:attach-ssl http-stream :ssl-side :client :ssl-ctx :v3)
Are you interested in a patch which allows to set this?
Regards Jens
Am 25.01.2014 15:17, schrieb Edi Weitz:
A plug-in is itself a shared library and thus the way the SSL libs are loaded is certainly different from how they are loaded from a stand-alone executable you delivered. Without having looked up the details I'd think that the SSL libs are expected in a place where FileMaker itself would search for them. Did you put the ones you want loaded in the same folder as FileMaker?
On Sat, Jan 25, 2014 at 2:13 PM, Jens Teich info@jensteich.de wrote:
I want to use
(require "comm")
(comm:ensure-ssl)
in a FileMaker plugin built with fm-plugin-tools.
In the listener it is no problem and even when using the hello-world delivery example from LW these two lines work without setting any openssl paths.
I am working both on MacOSX 10.8 and Win7 with LW 6.1.
I posted this already on Lispworks list (http://article.gmane.org/gmane.lisp.lispworks.general/12755) and got a bunch of hints but was not able yet to make it work in a FM plugin. When I try it, I get either an error ('unable to load library') or an outdated version of openssl loaded.
So obviously fm-plugin-tools is changing something that makes the ssl library unusable. Any hints are welcome which help me out of this.
Thanks Jens