pam_pkcs11.so build problem.

classic Classic list List threaded Threaded
3 messages Options
f u
Reply | Threaded
Open this post in threaded view
|

pam_pkcs11.so build problem.

f u
Hi.
I'm trying to build pam_pkcs11.so for my FreeBSD 8.x to enable smart card login.
Got a problem with it. ./configure fails with:
  ...
  checking for dlopen in -ldl... no
  configure: error: libdl not found

As far as I know FreeBSD doesn't use libdl to link over libraries It should use libc instead.
Is it possible to build pam_pkcs11.so for BSD, and what should I do to make it possible?

_______________________________________________
opensc-user mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-user
Reply | Threaded
Open this post in threaded view
|

Re: pam_pkcs11.so build problem.

Emmanuel Dreyfus
f u <[hidden email]> wrote:

> As far as I know FreeBSD doesn't use libdl to link over libraries It
> should use libc instead. Is it possible to build pam_pkcs11.so for BSD,
> and what should I do to make it possible?

Just remove the test from configure...

--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
[hidden email]
_______________________________________________
opensc-user mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-user
Reply | Threaded
Open this post in threaded view
|

Re: pam_pkcs11.so build problem.

Ludovic Rousseau
In reply to this post by f u
2010/7/13 f u <[hidden email]>:
> Hi.
> I'm trying to build pam_pkcs11.so for my FreeBSD 8.x to enable smart card login.
> Got a problem with it. ./configure fails with:
>  ...
>  checking for dlopen in -ldl... no
>  configure: error: libdl not found
>
> As far as I know FreeBSD doesn't use libdl to link over libraries It should use libc instead.
> Is it possible to build pam_pkcs11.so for BSD, and what should I do to make it possible?

Apply with the attached patch and try again.
Report back if that solved the problem or not so I know I can commit
the patch or not.

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
opensc-user mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-user

patch.txt (544 bytes) Download Attachment