Library

warning: Creating default object from empty value in /home/www/virtual/phaisarn.com/sun/htdocs/modules/taxonomy/taxonomy.pages.inc on line 33.

เพิ่ม library path in ubuntu 12.04

การ set library path ที่ terminal ขณะกำลังใช้งาน คือค่าที่ set จะหายไปเมื่อ reboot
$ export LD_LIBRARY_PATH="/list/of/library/paths:/another/path"
 
การ set library path ให้กับ user เฉพาะคน คือค่านี้จะถูกเรียกทำงานเมื่อ boot เครื่องให้ set ค่านี้ไว้ที่ไฟล์ /home/user/.bashrc
$ export LD_LIBRARY_PATH="/list/of/library/paths:/another/path"
 

Syndicate content