symbol lookup error: undefined symbol: png_create_read_struct
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
silly (Debian) |
Fix Released
|
Unknown
|
|||
silly (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Oneiric |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
the library libsilly is not linked against libpng which it uses directly.
[Impact]
This causes all programs linking against libsilly but not against libpng to fail with an undefined symbol message.
[Fix]
This was fixed is precise with 0.1.0-2ubuntu1 by simply adding pkg-config as a build dependency which allows it to link against libpng
[Testcase]
ldd -r /usr/lib/
shows several undefined references to libpng functions like:
undefined symbol: png_create_
expected: no undefined reference
[Regression potential]:
none, adding build dependency only adds a link to libpng
original report:
When executing the sample programs from CEGUI-0.7.5 compiled with the libsilly version of Ubuntu 11.10 (tested platform: 32-bit), I get the error: "symbol lookup error: /usr/lib/
I got the advice to report this from a CEGUI team member ( http://
lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
apt-cache policy libsilly
libsilly:
Installiert: 0.1.0-2
Kandidat: 0.1.0-2
Versionstabelle:
*** 0.1.0-2 0
500 http://
100 /var/lib/
Changed in silly (Debian): | |
status: | Unknown → New |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Changed in silly (Debian): | |
status: | New → Fix Released |
the package is missing a build dependency on pkg-config so it fails to pick up the png library during build.