<p dir="ltr">On Mar 27, 2015 23:03, "Smith, Kenneth" <<a href="mailto:ksmith15@jaguarlandrover.com">ksmith15@jaguarlandrover.com</a>> wrote:<br>
><br>
> 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:<br>
><br>
> LD_LIBRARY_PATH=/opt/foo/lib /usr/bin/foo_c<br>
><br>
> But when I do this:<br>
> Environment=LD_LIBRARY_PATH=/opt/foo/lib<br>
> ExecStart=/usr/bin/foo_c<br>
><br>
> ldd shows foo_c is using the wrong library.</p>
<p dir="ltr">Um, "ldd shows"? How are you running ldd, exactly? Are you really examining the running foo_c process?</p>