rdesktop +smartcard: Undefined symbols: "_SCARD_CTL_CODE"
|Reported by:||ian.cheong@…||Owned by:||cshbell@…|
Description (last modified by macsforever2000@…)
Trying to build rdesktop +smartcard on Snow Leopard. Only two errors.
- trying to look for lib64, which apparently does not exist on MacOS
fudged past that one by making a symlink /opt/local/lib64->/opt/local/lib
- missing symbols ??from pcsc-lite
:info:build Undefined symbols: :info:build "_SCARD_CTL_CODE", referenced from: :info:build _TS_SCardControl in scard.o :info:build _TS_SCardControl in scard.o :info:build ld: symbol(s) not found
I had been playing around with various fixes including some suggestions found that rdesktop 1.6.x worked and grafting in some code from scard.c from 1.6 https://discussions.apple.com/message/15301873#15301873
Previous to try rdesktop, I had been trying FreeRDP without success. So I did manage to get rdesktop +smartcard to build...
$ sudo port install rdesktop +smartcard Password: ---> Computing dependencies for rdesktop ---> Building rdesktop ---> Staging rdesktop into destroot ---> Installing rdesktop @1.7.1_0+smartcard ---> Activating rdesktop @1.7.1_0+smartcard ---> Cleaning rdesktop ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found.
And I could talk to RDP server with smartcard showing up. In trying to document what the fix was, I cleaned out the macports install and tried to replicate the necessary parts and can't get it to work again yet : (
Change History (6)
comment:4 Changed 3 years ago by macsforever2000@…
- Description modified (diff)
- Owner changed from macports-tickets@… to cshbell@…
- Port rdesktop added
comment:5 Changed 3 years ago by ryandesign (Ryan Schmidt)
- Cc ritchymad@… added
- Summary changed from rdesktop +smartcard errors on 10.6.8 64bit to rdesktop +smartcard: Undefined symbols: "_SCARD_CTL_CODE"