Ticket #399 (new defect)
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
Change History
Changed 7 months ago by erny1803
-
attachment
ubuntu.diff
added
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@…
I've had same problem, but solution was different:
https://github.com/viktorTarasov/OpenSC/commit/a467fc956ccf3601b19d30cc01e877c73f2b5ca4
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.

Patch for compiling OpenSC in Ubuntu 11.10