Re: Libtool, rpath, and libGL.so

2011-12-07 Thread Adam Mercer
On Wed, Dec 7, 2011 at 23:26, Peter O'Gorman wrote: > Does anyone want to try again? > > http://lists.gnu.org/archive/html/libtool-patches/2010-11/msg00027.html > > I only have red hat like distros, so if someone could update the patch and > look at other distros that'd be great. I can have a pl

Re: Libtool, rpath, and libGL.so

2011-12-07 Thread Peter O'Gorman
On 11/29/2011 11:48 PM, Adam Mercer wrote: On Mon, Nov 28, 2011 at 23:30, Andy Spencer wrote: This seems to be caused by libtool adding a -rpath flag which forces the application to use the /usr/lib64 version provided by mesa even though ld.so.conf has been properly configured to use the nvidi

Re: Libtool error reporting.

2011-12-07 Thread Peter O'Gorman
On 12/05/2011 11:48 AM, Shamis, Pavel wrote: Hi, As have been mentioned on the list, libtool error reporting - "file not found" is not perfect. People suggested to fix it (http://www.mail-archive.com/libtool@gnu.org/msg12156.html) but it seems, that the changes have never been incorporated int

Re: Local function in shared object?

2011-12-07 Thread Peter O'Gorman
On 12/07/2011 11:45 AM, Mark R Bannister wrote: Hi, I wonder if someone could point out my error. I've defined a function, nothing special, takes a couple of args and returns a pointer to a structure. The function is not declared with any special keywords. It is not static. Yet, when compiled

Local function in shared object?

2011-12-07 Thread Mark R Bannister
Hi, I wonder if someone could point out my error. I've defined a function, nothing special, takes a couple of args and returns a pointer to a structure. The function is not declared with any special keywords. It is not static. Yet, when compiled with gcc on Solaris and a .so target is built w