Unnecessarily shipped libtool archive (.la) files are invalid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vamp-plugin-sdk (Debian) |
Fix Released
|
Unknown
|
|||
vamp-plugin-sdk (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The libtool archive files /usr/lib/
The simple solution is to remove the .la files from the package. Then libtool with use the .so or .a files.
[Test Case]
echo "main() { return 0; }" > main.c
libtool --mode=link g++ main.c -o main $(pkg-config vamp-hostsdk --libs)
The libtool command should succeed instead of failing with:
libtool: link: `/usr/lib/
[Regression Potential]
The risk for regressions is low. Only libtool uses the .la files. Linking against the libraries without using libtool will not be influenced by the existance or not existance of .la files.
Changed in vamp-plugin-sdk (Ubuntu): | |
status: | New → Fix Released |
importance: | Undecided → High |
Changed in vamp-plugin-sdk (Debian): | |
status: | Unknown → New |
Changed in vamp-plugin-sdk (Debian): | |
status: | New → Fix Released |
Here is the debdiff for Ubuntu 12.04 (precise).