I updated the Impact and Test Case sections of this bug's description. I
hope this better fits the purpose of describing the actual impact on
users.

** Description changed:

  Impact
  ======
- libgif-dev in Ubuntu 14.04 LTS depends on libgif4 and has these symlinks:
- /usr/lib/libungif.a -> libgif.a
- /usr/lib/libungif.so -> libgif.so.4.1.6
- /usr/lib/x86_64-linux-gnu/libgif.so -> libgif.so.4.1.6
- /usr/lib/libungif.la -> libgif.la
- 
- libgif4 has these files:
- /usr/lib/x86_64-linux-gnu/libgif.so.4.1.6
- /usr/lib/x86_64-linux-gnu/libgif.so.4 -> libgif.so.4.1.6
- 
- Only the 3rd symlink (the multiarch one) in libgif-dev is correct. The
- others are dangling.
- 
- This was caused by an obsolete debian/libgif-dev.links
+ Linking programs that need libungif ("-lungif") will fail.
  
  Test Case
  =========
- Verify that libgif-dev only includes the one working symlink:
- /usr/lib/x86_64-linux-gnu/libgif.so -> libgif.so.4.1.6
+ apt-get install build-essential libgif-dev
+ cat >>test.c EOF
+ int main(int argc, char **argv) {
+   return 0;
+ }
+ EOF
+ gcc -lungif test.c
+ 
+ GCC will fail with "/usr/bin/ld: cannot find -lungif" on affected
+ systems.
  
  Regression Potential
  ====================
  None, just removing some dangling symlinks that couldn't work any way.
  
  Original Bug Report
  ===================
  In Ubuntu 14.04 LTS on x86_64 I am experiencing the following bug in 
libgif-dev 4.1.6-11:
  
  Symbol links for libungif.a, libungif.la, and libungif.so are created in
  /usr/lib that point to libgif.a, libgif.la and libgif.so.4.1.6
  respectively. However, these files are not in /usr/lib but in
  /usr/lib/x86_64-linux-gnu. Therefore, the symbol links are invalid.
  
  I suggest fixing this by placing the symbol links in the same directory
  as the target files.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1337898

Title:
  Invalid symlinks for libungif.so and libungif.a

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/giflib/+bug/1337898/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to