Fwd: Problems linking static glib2.0

2014-10-07 Thread Jameson Merkow
Hello, I've been using macports for a while. I've been using apple-gcc42 compiler, but I recently switched to mp-gcc46, to use mpich-gcc46. Now that I've switched, Im running into link errors (attached) with the installed glib2.0. I am linking against the archive, not the dylib (this was working

Re: Problems linking static glib2.0

2014-10-07 Thread Brandon Allbery
On Tue, Oct 7, 2014 at 1:23 PM, Jameson Merkow jmer...@gmail.com wrote: I've been using macports for a while. I've been using apple-gcc42 compiler, but I recently switched to mp-gcc46, to use mpich-gcc46. Now that I've switched, Im running into link errors (attached) with the installed

Re: Problems linking static glib2.0

2014-10-07 Thread Jameson Merkow
So the solution would be to put the macports lib directory at the beginning of my path when building? Is there a different or better way? -Jameson On Tue, Oct 7, 2014 at 10:28 AM, Brandon Allbery allber...@gmail.com wrote: On Tue, Oct 7, 2014 at 1:23 PM, Jameson Merkow jmer...@gmail.com

Re: Problems linking static glib2.0

2014-10-07 Thread Brandon Allbery
On Tue, Oct 7, 2014 at 1:34 PM, Jameson Merkow jmer...@gmail.com wrote: So the solution would be to put the macports lib directory at the beginning of my path when building? Is there a different or better way? $PATH is not used for library searches, and setting the DYLD path variables is very