Opened 11 years ago

Last modified 4 years ago

#38951 closed defect

rdesktop +smartcard errors on 10.6.8 64bit — at Initial Version

Reported by: cheongi Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: rdesktop

Description

Trying to build rdesktop +smartcard on Snow Leopard. Only two errors.

  1. 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

  1. 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 (0)

Note: See TracTickets for help on using tickets.