[systemd-devel] systemd not honoring LD_LIBRARY_PATH?

Mantas Mikul─Śnas grawity at gmail.com
Fri Mar 27 14:24:00 PDT 2015

On Mar 27, 2015 23:03, "Smith, Kenneth" <ksmith15 at jaguarlandrover.com>
> I am trying to start a service that requires using a library that has the
same name as a preexisting one (it is a patched version). It is located in
a different path so that if I want to start it at the command line I can do
> LD_LIBRARY_PATH=/opt/foo/lib /usr/bin/foo_c
> But when I do this:
> Environment=LD_LIBRARY_PATH=/opt/foo/lib
> ExecStart=/usr/bin/foo_c
> ldd shows foo_c is using the wrong library.

Um, "ldd shows"? How are you running ldd, exactly? Are you really examining
the running foo_c process?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150327/5f905a03/attachment.html>

More information about the systemd-devel mailing list