List Info

Thread: Install the opensc on UClinux




Install the opensc on UClinux
user name
2008-02-20 21:28:15
Hello All

I need to install the opensc on UClinux. But UClinux  does not support dynamic linking. I know, the opensc depend on the Libtool.
My question is libtool will work well on uclinux?
If not is there solution for it?

how about ; the engine-pkcs11 and libp11 installation on uclinux?

Thanks.
--
Best regards to you and your family
Re: Install the opensc on UClinux
country flaguser name
Netherlands
2008-02-21 02:07:32
Hi Anri,

opensc and libtool rely on the autoconf 'configure' scripts;
as long as 
the 'configure' script detects that dynamic linking is not
supported on 
uclinux you should be fine.
however, what do you intend to do with engine-pkcs11 without
dynamic lib 
support? engine-pkcs11 is primarily intended to be loaded as
a shared 
library inside an openssl session...

HTH,

JJK

Anri Lau wrote:
> Hello All
>
> I need to install the opensc on UClinux. But UClinux 
does not support 
> dynamic linking. I know, the opensc depend on the
Libtool.
> My question is libtool will work well on uclinux?
> If not is there solution for it?
>
> how about  the engine-pkcs11 and libp11 installation on
uclinux?
>

_______________________________________________
opensc-devel mailing list
opensc-devellists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc
-devel

Re: Install the opensc on UClinux
user name
2008-02-21 02:54:50
Hello Jan

Thanks for your reply. You are right. Plugining the engine to the openssl will be a great problem, but engine-pkcs11 load the opensc-pkcs11.so using libtool, too. If i disable the opensc';s dynamic linking capablity, does it still work well. ; How should handle this problem, could you give me some suggestion?

On 21/02/2008, Jan Just Keijser < janjustnikhef.nl">janjustnikhef.nl> wrote:
Hi Anri,

opensc and libtool rely on the autoconf 'configure' scripts; as long as
the 'configure' script detects that dynamic linking is not supported on
uclinux you should be fine.
however, what do you intend to do with engine-pkcs11 without dynamic lib
support? engine-pkcs11 is primarily intended to be loaded as a shared
library inside an openssl session...

HTH,


JJK


Anri Lau wrote:
> Hello All
>
> I need to install the opensc on UClinux. But UClinux&nbsp; does not support
> dynamic linking. I know, the opensc depend on the Libtool.
> My question is libtool will work well on uclinux?
> If not is there solution for it?
>
> how about ; the engine-pkcs11 and libp11 installation on uclinux?
>




--
Best regards to you and your family
Re: Install the opensc on UClinux
country flaguser name
Netherlands
2008-02-21 02:58:26
Hi Anri,

your only "way out" that I see is to link
**everything** statically, 
including a rebuild of openssl with the engine-pkcs11
library in place. 
Especially this last part will be particularly tricky. I've
built 
engine-pkcs11.so with a statically linked opensc-pkcs11.so
without any 
problems - IIRC it was just a matter of
- building opensc-pkcs11
- removing the opensc-pkcs11.so file (so that only the .a
remains)
- linking engine-pkcs11.so against opensc-pkcs11

HTH,

JJK

Anri Lau wrote:
> Hello Jan
>
> Thanks for your reply. You are right. Plugining the
engine to the 
> openssl will be a great problem, but engine-pkcs11 load
the 
> opensc-pkcs11.so using libtool, too. If i disable the
opensc's dynamic 
> linking capablity, does it still work well.  How should
handle this 
> problem, could you give me some suggestion?
>
> On 21/02/2008, *Jan Just Keijser* <janjustnikhef.nl

> <mailto:janjustnikhef.nl>> wrote:
>
>     Hi Anri,
>
>     opensc and libtool rely on the autoconf 'configure'
scripts; as
>     long as
>     the 'configure' script detects that dynamic linking
is not
>     supported on
>     uclinux you should be fine.
>     however, what do you intend to do with
engine-pkcs11 without
>     dynamic lib
>     support? engine-pkcs11 is primarily intended to be
loaded as a shared
>     library inside an openssl session...
>
>     HTH,
>
>
>     JJK
>
>
>     Anri Lau wrote:
>     > Hello All
>     >
>     > I need to install the opensc on UClinux. But
UClinux  does not
>     support
>     > dynamic linking. I know, the opensc depend on
the Libtool.
>     > My question is libtool will work well on
uclinux?
>     > If not is there solution for it?
>     >
>     > how about  the engine-pkcs11 and libp11
installation on uclinux?
>     >
>
>

_______________________________________________
opensc-devel mailing list
opensc-devellists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc
-devel

Re: Install the opensc on UClinux
user name
2008-02-21 03:22:16
Hello Jan

Oh it is a quite helpful info to me. Is it possible to rebuild the openssl without engine-opensc together without soure-code updating? Or just a little code refactoring?
Another question: pcscd is used to connect to the card, it load the driver also dynamically using ldopen? the same solution maybe work ok?

Do you have the same experience?

Is there another choice for card reader except pcscd?

Re: Install the opensc on UClinux
country flaguser name
Netherlands
2008-02-21 03:29:35
Hi Anri,

this is getting more complicated with each post... sounds
like you want 
to port all of pcscd + opensc to uclinux... I'd start out
with pcscd 
first, and I am pretty sure you'll run into plenty of
trouble. Yes , 
pcscd uses dlopen to load external libraries and no, I don't
know of any 
other card readers for Linux.

cheers,

JJK

Anri Lau wrote:
> Hello Jan
>
> Oh it is a quite helpful info to me. Is it possible to
rebuild the 
> openssl without engine-opensc together without
soure-code updating? Or 
> just a little code refactoring?
> Another question: pcscd is used to connect to the card,
it load the 
> driver also dynamically using ldopen? the same solution
maybe work ok?
>
> Do you have the same experience?
>
> Is there another choice for card reader except pcscd?
>

_______________________________________________
opensc-devel mailing list
opensc-devellists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc
-devel

Re: Install the opensc on UClinux
user name
2008-02-21 04:06:21
On Thu, Feb 21, 2008 at 05:22:16PM +0800, Anri Lau wrote:
> Is there another choice for card reader except pcscd?

Maybe openct can work for you.

Jan is right, if openssl should be able to use the card you
have a
lot of work to do, to include all of opensc into openssl.

I suggest you investigate the openssl mailing list, first
search the
archives then explain your situation and see if they have
any
suggestions or experience with openssl on uclibc.


//Peter
_______________________________________________
opensc-devel mailing list
opensc-devellists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc
-devel

Re: Install the opensc on UClinux
user name
2008-02-21 04:15:20
On Thu, Feb 21, 2008 at 11:08:59AM +0100, Jan Just Keijser
wrote:
> AFAIK openct sits on top of pcscd (pcsc-lite). Or am I
mistaken?

Not always. openct has native drivers for several cards, but
it can
also be made to use pcscd.


//Peter
_______________________________________________
opensc-devel mailing list
opensc-devellists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc
-devel

Re: Install the opensc on UClinux
user name
2008-02-21 04:34:43
The card reader used by us is Serial Port Reader. Does openct only support the usb?

On 21/02/2008, Peter Stuge < stuge-opensc-develcdy.org">stuge-opensc-develcdy.org&gt; wrote:
On Thu, Feb 21, 2008 at 11:08:59AM +0100, Jan Just Keijser wrote:
> AFAIK openct sits on top of pcscd (pcsc-lite). Or am I mistaken?


Not always. openct has native drivers for several cards, but it can
also be made to use pcscd.



//Peter
_______________________________________________
opensc-devel mailing list
opensc-devellists.opensc-project.org">opensc-devellists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel



--
Best regards to you and your family
Re: Install the opensc on UClinux
user name
2008-02-21 08:22:38
On Thu, Feb 21, 2008 at 06:34:43PM +0800, Anri Lau wrote:
> The card reader used by us is Serial Port Reader. Does
openct only
> support the usb?

No, openct also supports several serial readers.

Please have a look at http://www.open
sc-project.org/openct/


//Peter
_______________________________________________
opensc-devel mailing list
opensc-devellists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc
-devel

[1-10]

about | contact  Other archives ( Real Estate discussion Medical topics )