where people argue for a very very long time about adding 2 functions to the .exports :p
For anyone here using ubuntu who is finding the VMWare View package non-functional, you have to:
1) sudo mkdir -p /usr/lib/vmware/view/pkcs11/
2) cd /usr/lib/vmware/view/pkcs11/
3) sudo ln -s /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so libopensc-pkcs11.so
This fixes the bad plugin path in the vmware package. Now you have to fix the exports from the opensc package.
This patch was autogenerated after editing the exports files. I don't think pkcs11-spy was necessary, but, eh, why not...
1) apt-get source opensc
2) get prompted for some build deps, apt-get install those... for me it was apt-get install dh-autoreconf libpcsclite-dev libreadline-dev
3) go to the sources and either put that patch in debian/patches or just edit src/pkcs11 exports files and add those 2 lines
4) dpkg-buildpackage
theeeen just dpkg -i the resulting .deb and enjoy your finally-working vmware-view. YAY!
(Note that this all assumes you setup smartcard support in ubuntu in the first place - there are docs for that)
So. I encountered this when VMWare View was completely unable to connect to our view server using 14.04 LTS. /github. com/OpenSC/ OpenSC/ issues/ 183 /github. com/OpenSC/ OpenSC/ commit/ 162e71419ba9b84 d37321acc05e329 80a438ae9a
After digging through the log, encountered this bug report.
Some further digging turned up:
https:/
and
https:/
where people argue for a very very long time about adding 2 functions to the .exports :p
For anyone here using ubuntu who is finding the VMWare View package non-functional, you have to: vmware/ view/pkcs11/ vmware/ view/pkcs11/ x86_64- linux-gnu/ opensc- pkcs11. so libopensc-pkcs11.so
1) sudo mkdir -p /usr/lib/
2) cd /usr/lib/
3) sudo ln -s /usr/lib/
This fixes the bad plugin path in the vmware package. Now you have to fix the exports from the opensc package.
--- opensc- 0.13.0. orig/src/ pkcs11/ opensc- pkcs11. exports 0.13.0/ src/pkcs11/ opensc- pkcs11. exports 0.13.0. orig/src/ pkcs11/ pkcs11- spy.exports 0.13.0/ src/pkcs11/ pkcs11- spy.exports
+++ opensc-
@@ -1 +1,3 @@
C_GetFunctionList
+C_Initialize
+C_Finalize
--- opensc-
+++ opensc-
@@ -1 +1,3 @@
C_GetFunctionList
+C_Initialize
+C_Finalize
This patch was autogenerated after editing the exports files. I don't think pkcs11-spy was necessary, but, eh, why not...
1) apt-get source opensc
2) get prompted for some build deps, apt-get install those... for me it was apt-get install dh-autoreconf libpcsclite-dev libreadline-dev
3) go to the sources and either put that patch in debian/patches or just edit src/pkcs11 exports files and add those 2 lines
4) dpkg-buildpackage
theeeen just dpkg -i the resulting .deb and enjoy your finally-working vmware-view. YAY!
(Note that this all assumes you setup smartcard support in ubuntu in the first place - there are docs for that)