[Bug 1056863] [NEW] : in path makes troubles with LD_LIBRARY_PATH

Sworddragon 1056863 at bugs.launchpad.net
Wed Sep 26 13:32:51 UTC 2012


Public bug reported:

I'm using Ubuntu 12.10 dev and if a path contains a : (like
'/usr/local/games/Superbrothers: Sword & Sworcery EP/lib')
LD_LIBRARY_PATH will split it in 2 paths because : is a separator for
LD_LIBRARY_PATH ('/usr/local/games/Superbrothers' and ' Sword & Sworcery
EP/lib').

I have tried to escape the :
(LD_LIBRARY_PATH='/usr/local/games/Superbrothers\: Sword & Sworcery
EP/lib') and used single quotes for it
(LD_LIBRARY_PATH="'/usr/local/games/Superbrothers: Sword & Sworcery
EP/lib'") but it hasn't worked. I think there should be a way to escape
the : somehow for LD_LIBRARY_PATH.

** Affects: ubuntu
     Importance: Undecided
         Status: New

** Package changed: busybox (Ubuntu) => ubuntu

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

Title:
  : in path makes troubles with LD_LIBRARY_PATH

Status in Ubuntu:
  New

Bug description:
  I'm using Ubuntu 12.10 dev and if a path contains a : (like
  '/usr/local/games/Superbrothers: Sword & Sworcery EP/lib')
  LD_LIBRARY_PATH will split it in 2 paths because : is a separator for
  LD_LIBRARY_PATH ('/usr/local/games/Superbrothers' and ' Sword &
  Sworcery EP/lib').

  I have tried to escape the :
  (LD_LIBRARY_PATH='/usr/local/games/Superbrothers\: Sword & Sworcery
  EP/lib') and used single quotes for it
  (LD_LIBRARY_PATH="'/usr/local/games/Superbrothers: Sword & Sworcery
  EP/lib'") but it hasn't worked. I think there should be a way to
  escape the : somehow for LD_LIBRARY_PATH.

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




More information about the foundations-bugs mailing list