[MacPorts] #38951: rdesktop +smartcard errors on 10.6.8 64bit

MacPorts noreply at macports.org
Wed May 22 15:28:21 PDT 2013


#38951: rdesktop +smartcard errors on 10.6.8 64bit
---------------------------+-----------------------
  Reporter:  ian.cheong@…  |      Owner:  cshbell@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.1.3
Resolution:                |   Keywords:
      Port:  rdesktop      |
---------------------------+-----------------------
Changes (by macsforever2000@…):

 * owner:  macports-tickets@… => cshbell@…
 * port:   => rdesktop


Old 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
>
> 2. 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 : (

New 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

 2. 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 : (

--

Comment:

 In the future, please fill in the Port field and Cc the port
 maintainer(s).

-- 
Ticket URL: <https://trac.macports.org/ticket/38951#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list