From: John Gabriele Date: 2006-09-17T11:43:25+09:00 Subject: Re: building extension modules, and linking On 9/14/06, Vincent Fourmond wrote: > > Hi ! > > Ok. Hm. Well then. Maybe that's the point of that "-R" link-editor arg > > (mentioned in that other post I just made a few minutes ago before > > seeing this one). The ld docs on -R/-rpath don't specifically say what > > you so clearly express above, but they might *imply* that if read > > under the right intensity lights, wearing those cheap bi-colored > > 3D-movie glasses, while howling under a full-moon... :) > > Did you try turning your screen upside down ? Turns out (as was pointed out to me elsewhere), for gcc, the default seems to be to allow unresolved symbols for shared libraries, and that the -Rdir_name option to ld may actually not even be relevant here, since the symbols don't get resolved to that static lib anyway (I'll have to do more experimentation there). My guess that the ld docs on -rpath might've been less than clear seems to have been incorrect. Thanks, ---John