On Mar 27, 2015 23:03, "Smith, Kenneth" <ksmit...@jaguarlandrover.com>
wrote:
>
> 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
this:
>
> 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?
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to