Click here to Skip to main content
15,917,862 members
Home / Discussions / Linux Programming
   

Linux Programming

 
QuestionTheoretical server/site setup Pin
pyango58-May-19 12:00
pyango58-May-19 12:00 
QuestionSOLVED "configure" script option PKG_CONFIG_DEBUG_SPEW fails to run on X86 Pin
Vaclav_4-May-19 3:51
Vaclav_4-May-19 3:51 
GeneralRe: "configure" script option PKG_CONFIG_DEBUG_SPEW fails to run on X86 Pin
Richard MacCutchan4-May-19 4:56
mveRichard MacCutchan4-May-19 4:56 
Questionmissing mount.pc Pin
Vaclav_12-Apr-19 3:49
Vaclav_12-Apr-19 3:49 
AnswerRe: missing mount.pc Pin
Gerry Schmitz12-Apr-19 4:53
mveGerry Schmitz12-Apr-19 4:53 
GeneralRe: missing mount.pc Pin
Vaclav_12-Apr-19 7:53
Vaclav_12-Apr-19 7:53 
QuestionBad UDP length 736 > IP payload length Len = 728 packet drop Pin
sarali8-Apr-19 18:35
sarali8-Apr-19 18:35 
AnswerRe: Bad UDP length 736 > IP payload length Len = 728 packet drop Pin
Gerry Schmitz9-Apr-19 6:22
mveGerry Schmitz9-Apr-19 6:22 
AnswerRe: Bad UDP length 736 > IP payload length Len = 728 packet drop Pin
Randor 10-Apr-19 21:26
professional Randor 10-Apr-19 21:26 
GeneralRe: Bad UDP length 736 > IP payload length Len = 728 packet drop Pin
sarali12-Apr-19 20:43
sarali12-Apr-19 20:43 
GeneralRe: Bad UDP length 736 > IP payload length Len = 728 packet drop Pin
Randor 28-Apr-19 12:50
professional Randor 28-Apr-19 12:50 
GeneralRe: Bad UDP length 736 > IP payload length Len = 728 packet drop Pin
sarali10-May-19 2:55
sarali10-May-19 2:55 
PraiseRe: Bad UDP length 736 > IP payload length Len = 728 packet drop Pin
Randor 10-May-19 11:18
professional Randor 10-May-19 11:18 
QuestionActive PID Pin
Mohibur Rashid4-Apr-19 15:05
professionalMohibur Rashid4-Apr-19 15:05 
AnswerRe: Active PID Pin
Randor 4-Apr-19 15:57
professional Randor 4-Apr-19 15:57 
GeneralRe: Active PID Pin
Mohibur Rashid4-Apr-19 16:12
professionalMohibur Rashid4-Apr-19 16:12 
GeneralRe: Active PID Pin
Randor 4-Apr-19 16:23
professional Randor 4-Apr-19 16:23 
AnswerRe: Active PID Pin
k50544-Apr-19 16:29
mvek50544-Apr-19 16:29 
GeneralRe: Active PID Pin
Mohibur Rashid4-Apr-19 18:17
professionalMohibur Rashid4-Apr-19 18:17 
QuestionUsing "R CMD INSTALL ..." to install package Pin
Vaclav_1-Apr-19 14:41
Vaclav_1-Apr-19 14:41 
RantRe: Using "R CMD INSTALL ..." to install package Pin
k50542-Apr-19 4:50
mvek50542-Apr-19 4:50 
GeneralRe: Using "R CMD INSTALL ..." to install package Pin
Richard MacCutchan3-Apr-19 8:24
mveRichard MacCutchan3-Apr-19 8:24 
GeneralRe: Using "R CMD INSTALL ..." to install package Pin
k50543-Apr-19 10:51
mvek50543-Apr-19 10:51 
Questioncommand "/../" Pin
Vaclav_1-Apr-19 7:35
Vaclav_1-Apr-19 7:35 
AnswerRe: command "/../" Pin
k50541-Apr-19 9:17
mvek50541-Apr-19 9:17 
Vaclav_ wrote:
In this example I gather the "-L" is linked to "lib" four times.
Do not get it .
-L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib 


No. ../ refers to the parent directory, ../../ refers to the grandparent directory, ../../../ refers to the great-grandparent directory, and ../../../../refers to the great-great-grandparent directory. In this case, you can "walk-back" the final /lib four times so /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib is an alias for /usr/lib. That looks like it comes from the output of gcc -v <source_file>, which means its auto-generated in the process of compiling the compiler. Why its like that and not a 100% absolute path, I don't know. If you're interested on that point, you should query the gcc mailing lists.

In general, in your own compilations, you'll either use an absolute path like -L /usr/local/foo/lib or a relative path like -L ../foo/lib. You'd use the first if you're accessing a 3rd party library in a non-standard place - in this case /usr/local/foo/lib. The second case would normally be when the library is part of the current project.

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.