[OmniOS-discuss] package build help

Doug Hughes doug at will.to
Mon Jan 26 23:14:12 UTC 2015


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

(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!)

</peave>

On 1/26/2015 6:02 PM, Michael Rasmussen wrote:
> 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?
>
>
>
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20150126/82885ed1/attachment-0001.html>


More information about the OmniOS-discuss mailing list