Howto properly set LD_LIBRARY_PATH to /opt/trinity/lib from PKGBUILD (postbuild)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Guys,

After building trinity-kdelibs, I need to create an entry and set LD_LIBRARY_PATH to /opt/trinity/lib. I manually created: '/etc/ld.so.conf.d/trinity.conf' containing "/opt/trinity/lib" and then ran ldconfig. That worked.

What I need to know is how to properly do this from the kdelibs PKBUILD. I can do it by creating the file in $pkgdir, but is there a standard way to do it? Also, what about calling ldconfig after install? Is there a standard (post-install) snippet to add?

	Thanks.

--
David C. Rankin, J.D., P.E.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux