Click here to Skip to main content
16,020,628 members
Home / Discussions / Linux Programming
   

Linux Programming

 
GeneralOT Pin
Richard MacCutchan24-Jan-20 9:09
mveRichard MacCutchan24-Jan-20 9:09 
GeneralRe: OT Pin
k505425-Jan-20 5:27
mvek505425-Jan-20 5:27 
GeneralRe: OT Pin
Richard MacCutchan25-Jan-20 5:55
mveRichard MacCutchan25-Jan-20 5:55 
GeneralRe: OT Pin
k505425-Jan-20 6:29
mvek505425-Jan-20 6:29 
AnswerRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
Vaclav_4-Mar-20 5:29
Vaclav_4-Mar-20 5:29 
QuestionHow add LD_LIBRARY_PATH before PostgreSQL 10.6 service start Pin
Ngoc tuan nguyen18-Dec-19 17:29
Ngoc tuan nguyen18-Dec-19 17:29 
AnswerRe: How add LD_LIBRARY_PATH before PostgreSQL 10.6 service start Pin
Richard MacCutchan18-Dec-19 21:33
mveRichard MacCutchan18-Dec-19 21:33 
AnswerRe: How add LD_LIBRARY_PATH before PostgreSQL 10.6 service start Pin
k505419-Dec-19 4:43
mvek505419-Dec-19 4:43 
You will need to add LD_LIBRARY_PATH to the startup script for postgres. It looks like Oracle Linux 7.4 is using systemd, so try adding the line
Environment=LD_LIBRARY_PATH=/u01/PostgreSQL/10/lib/postgresql
to /lib/systemd/system/postgresql.service. The best place for that would be right after the line that says Export=PGDATA=path-to-pgdata

Meanwhile, I would follow Richard's advice and contact the PostgreSQL mailing list and ask there. They may have a better solution so that when you update to PGSQL 10.XX or 11.XX, you won't have to continually remember to edit the startup script.
SuggestionAn interactive cheatsheet tool for the command-line Pin
denisidoro14-Dec-19 4:08
denisidoro14-Dec-19 4:08 
Questionbluetooth hci function fails to execute hci_read_class_of_dev Pin
Vaclav_2-Dec-19 8:27
Vaclav_2-Dec-19 8:27 
AnswerRe: bluetooth hci function fails to execute hci_read_class_of_dev Pin
Richard MacCutchan3-Dec-19 23:25
mveRichard MacCutchan3-Dec-19 23:25 
QuestionGit pre-commit hook in #!/bin/sh programming language that requires a file to part of all commits? Pin
arnold_w8-Nov-19 5:26
arnold_w8-Nov-19 5:26 
AnswerRe: Git pre-commit hook in #!/bin/sh programming language that requires a file to part of all commits? Pin
Afzaal Ahmad Zeeshan8-Nov-19 12:24
professionalAfzaal Ahmad Zeeshan8-Nov-19 12:24 
GeneralRe: Git pre-commit hook in #!/bin/sh programming language that requires a file to part of all commits? Pin
arnold_w8-Nov-19 21:56
arnold_w8-Nov-19 21:56 
GeneralRe: Git pre-commit hook in #!/bin/sh programming language that requires a file to part of all commits? Pin
arnold_w9-Nov-19 3:23
arnold_w9-Nov-19 3:23 
GeneralRe: Git pre-commit hook in #!/bin/sh programming language that requires a file to part of all commits? Pin
Richard MacCutchan9-Nov-19 3:38
mveRichard MacCutchan9-Nov-19 3:38 
GeneralRe: Git pre-commit hook in #!/bin/sh programming language that requires a file to part of all commits? Pin
arnold_w9-Nov-19 4:13
arnold_w9-Nov-19 4:13 
GeneralRe: Git pre-commit hook in #!/bin/sh programming language that requires a file to part of all commits? Pin
Richard MacCutchan9-Nov-19 4:33
mveRichard MacCutchan9-Nov-19 4:33 
GeneralRe: Git pre-commit hook in #!/bin/sh programming language that requires a file to part of all commits? Pin
arnold_w9-Nov-19 5:06
arnold_w9-Nov-19 5:06 
QuestionBest languages for Linux Admins to learn? Pin
StampedePress24-Oct-19 6:12
StampedePress24-Oct-19 6:12 
AnswerRe: Best languages for Linux Admins to learn? Pin
k505424-Oct-19 7:45
mvek505424-Oct-19 7:45 
GeneralRe: Best languages for Linux Admins to learn? Pin
StampedePress24-Oct-19 9:29
StampedePress24-Oct-19 9:29 
Generalwho is on first ? - programming GUI in Linux Pin
Vaclav_27-Sep-19 4:14
Vaclav_27-Sep-19 4:14 
GeneralRe: who is on first ? - programming GUI in Linux Pin
k505427-Sep-19 5:48
mvek505427-Sep-19 5:48 
QuestionHow to find all assignments the values to variables,by '=' or by func or as ref value Pin
mamali1289-Aug-19 7:18
mamali1289-Aug-19 7:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.