<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Agh! ick. please don't use LD_LIBRARY_PATH. If at all possible,
rebuild your binary with -R /opt/pgsql/lib passed to the linker<br>
<br>
(when combined with NFS, LD_LIBRARY_PATH can lead to all sorts of
evil behaviors, when combined with NFS and 64/32 bit, multiply by
2!)<br>
<br>
</peave><br>
<br>
<div class="moz-cite-prefix">On 1/26/2015 6:02 PM, Michael Rasmussen
wrote:<br>
</div>
<blockquote cite="mid:20150127000238.24213969@sleipner.datanom.net"
type="cite">
<pre wrap="">Hi all,
I am trying to build a package which links to libpg.so.5 (postgresql)
installed in /opt/pgsql/lib
To be able to use the package the users LD_LIBRARY_PATH needs to
contain /opt/pgsql/lib.
How do you handle this when installing a package?
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OmniOS-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a>
<a class="moz-txt-link-freetext" href="http://lists.omniti.com/mailman/listinfo/omnios-discuss">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a>
</pre>
</blockquote>
<br>
</body>
</html>