Ticket #399 (new defect)

NB! Read about ReportingBugs before filing a ticket!

Opened 7 months ago

Last modified 6 days ago

Compile / Link error with Ubuntu 11.10

Reported by: erny1803 Owned by: opensc-devel@…
Priority: high Milestone: 0.12.3
Component: build_linux Version: trunk
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

I get a linker error when building (as of git repo 2011-11-07):

  CCLD   pkcs11-tool
/usr/bin/ld: ../../src/common/.libs/libpkcs11.a(libscdl.o): undefined reference to symbol 'lt_dlsym'
/usr/bin/ld: note: 'lt_dlsym' is defined in DSO /usr/lib/libltdl.so so try adding it to the linker command line
/usr/lib/libltdl.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

This may have appeared already in the past, see changeset:4182/opensc.

Find patch attached

Attachments

ubuntu.diff Download (413 bytes) - added by erny1803 7 months ago.
Patch for compiling OpenSC in Ubuntu 11.10

Change History

Changed 7 months ago by erny1803

Patch for compiling OpenSC in Ubuntu 11.10

comment:1 Changed 5 months ago by martin

  • Priority changed from normal to high
  • Component changed from opensc to build_linux
  • Milestone set to 0.12.3

comment:2 follow-ups: ↓ 3 ↓ 4 Changed 5 months ago by viktor.tarasov@…

comment:3 in reply to: ↑ 2 Changed 5 months ago by pklaus

Replying to viktor.tarasov@…:

I've had same problem, but solution was different:

 https://github.com/viktorTarasov/OpenSC/commit/a467fc956ccf3601b19d30cc01e877c73f2b5ca4


Thanks Viktor, this fixes it for me!

comment:4 in reply to: ↑ 2 Changed 6 days ago by HuangRongcun

Replying to viktor.tarasov@…:

I've had same problem, but solution was different:

 https://github.com/viktorTarasov/OpenSC/commit/a467fc956ccf3601b19d30cc01e877c73f2b5ca4

it works, thanks.

Note: See TracTickets for help on using tickets.