[mesa-users] Installing MESA on MacBook Pro

Samuel Dupree sdupree at speakeasy.net
Sat Jul 5 23:38:17 EDT 2014


Rich Townsend,

Followed your advice, but the error I get now is the one I started off 
with and that is:


dyld: lazy symbol binding failed: Symbol not found: _GOMP_parallel
   Referenced from: /Users/user/mesa-r6596/mtx/test/./tester
   Expected in: /Applications/Absoft14.0/shlib64/libgomp.1.dylib

dyld: Symbol not found: _GOMP_parallel
   Referenced from: /Users/user/mesa-r6596/mtx/test/./tester
   Expected in: /Applications/Absoft14.0/shlib64/libgomp.1.dylib


Program received signal SIGTRAP: Trace/breakpoint trap.

Backtrace for this error:
#0  0x109b7f6f2
#1  0x109b7feae
#2  0x7fff977b65a9
./rn: line 1: 96311 Trace/BPT trap: 5       ./tester


Somehow /Applications/Absoft14.0/shlib64 is still getting into the act. 
Is there another wrapper script other than the ones for gcc and gfortran 
I found in /Applications/mesasdk/bin that need to have DYLD_LIBRARY_PATH?


Sam Dupree.



On 07/05/2014, 22:48:48, Richard Townsend wrote:
> Hi folks --
>
> It’s generally considered best practice not to use 
> LD_LIBRARY_PATH/DYLD_LIBRARY_PATH, as it leads to the sort of 
> situations seen here. That’s why the SDK in fact doesn’t use 
> DYLD_LIBRARY_PATH on OS X — instead, the path to the necessary 
> libraries is baked into the executable.
>
> But unfortunately, things still break when other vendors (shame on 
> you, Absoft!) decide to mess around with paths. As a work around, try 
> editing the wrapper scripts (gcc, gfortran, g++, etc) in 
> /Applications/mesasdk/bin to *unset* DYLD_LIBRARY_PATH before the 
> actual executable (e.g., gcc.exec) is called by the script. (As an 
> aside, the SDK uses these scripts to allow just this sort of flexibility).
>
> cheers,
>
> Rich
>
> On Jul 5, 2014, at 9:14 PM, Aaron Dotter <aaron.dotter at gmail.com 
> <mailto:aaron.dotter at gmail.com>> wrote:
>
>> Hi Sam,
>>
>> Thanks for providing that output.  I don't have a Mac so I won't be 
>> able to troubleshoot this with you very effectively.
>>
>> However, it is pretty clear that the problem is conflicting libraries 
>> for various programs in the DYLD_LIBRARY_PATH.  I guess you've been 
>> using fink to install some things?
>>
>> This is not a typical Mac problem: I have not seen a MESA-related 
>> error regarding DYLD_LIBRARY_PATH for years (!).  Perhaps someone 
>> else will have a brilliant idea; otherwise I suggest googling for 
>> your error messages.
>>
>> Sorry,
>> Aaron
>>
>>
>>
>>
>> On Sun, Jul 6, 2014 at 11:43 AM, Samuel Dupree <sdupree at speakeasy.net 
>> <mailto:sdupree at speakeasy.net>> wrote:
>>
>>     Aaron,
>>
>>     printenv LD_LIBRARY_PATH is set to a null string.
>>
>>     printenv DYLD_LIBRARY_PATH is set to
>>     /Users/user/dislin:/Applications/Absoft14.0/shlib64:/Applications/Absoft14.0/shlib::/Users/user/ODTBX_6.5/GMAT/bin:/Users/user/s2plot-3.2.1/darwin-gnu-x86_64
>>
>>     As an experiment I went ahead and added /Applications/mesasdk/lib
>>     as the first entry in DYLD_LIBRARY_PATH and LD_LIBRARY_PATH
>>     environmental variables. The error message I now get is:
>>
>>     dyld: Library not loaded: /sw/lib/gmp5/libgmp.10.dylib
>>       Referenced from: /sw/bin/gawk
>>       Reason: Incompatible library version: gawk requires version
>>     13.0.0 or later, but libgmp.10.dylib provides version 12.0.0
>>     ./config.status: line 957:  3733 Done                    eval sed
>>     \"\$ac_sed_extra\" "$ac_file_inputs"
>>           3734 Trace/BPT trap: 5       | $AWK -f "$tmp/subs.awk" >
>>     $tmp/out
>>     config.status: error: could not create Makefile
>>     make: *** No targets specified and no makefile found.  Stop.
>>
>>     /Users/user/mesa-r6596/crlibm/crlibm
>>     ./build_and_test FAILED
>>
>>
>>     /Users/user/mesa-r6596/crlibm
>>     ./build_and_test FAILED
>>
>>
>>     Any suggestions?
>>
>>     Sam Dupree.
>>
>>
>>
>>
>>     On 07/05/2014, 03:34:39, Aaron Dotter wrote:
>>>     Hi Sam,
>>>
>>>     What do you get from
>>>
>>>     printenv LD_LIBRARY_PATH
>>>
>>>     and
>>>
>>>     printenv DYLD_LIBRARY_PATH
>>>
>>>     ?
>>>
>>>     It looks like there is some confusion about where the linker
>>>     should be looking for the libraries.  It should be looking for
>>>     libgomp in the mesasdk but it is looking instead at Absoft.
>>>
>>>
>>>     Aaron
>>>
>>>
>>>
>>>
>>>
>>>     On Sat, Jul 5, 2014 at 5:26 PM, Samuel Dupree
>>>     <sdupree at speakeasy.net <mailto:sdupree at speakeasy.net>> wrote:
>>>
>>>         I'm attempting to install MESA on my MacBook Pro that runs
>>>         Mac OS X ver. 10.9.4. I'm using the MESASDK released on
>>>         Mar-13-2014 to install the latest release, mesa-r6596. The
>>>         following commands output:
>>>
>>>           * uname
>>>             Darwin users-MacBook-Pro.local 13.3.0 Darwin Kernel
>>>             Version 13.3.0: Tue Jun  3 21:27:35 PDT 2014;
>>>             root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
>>>
>>>           * gfortran -v
>>>             Using built-in specs.
>>>             COLLECT_GCC=/Applications/mesasdk/bin/gfortran.exec
>>>             COLLECT_LTO_WRAPPER=/Applications/mesasdk/libexec/gcc/x86_64-apple-darwin11.4.2/4.9.0/lto-wrapper
>>>             Target: x86_64-apple-darwin11.4.2
>>>             Configured with: ./configure CC='gcc
>>>             -D_FORTIFY_SOURCE=0' --build=x86_64-apple-darwin11.4.2
>>>             --prefix=/Applications/mesasdk
>>>             --with-gmp=/Applications/mesasdk
>>>             --with-mpfr=/Applications/mesasdk
>>>             --with-mpc=/Applications/mesasdk
>>>             --enable-languages=c,c++,fortran --disable-multilib
>>>             --disable-nls --disable-libsanitizer
>>>             Thread model: posix
>>>             gcc version 4.9.0 20140201 (experimental) (GCC)
>>>
>>>           * echo $MESASDK_ROOT
>>>             /Applications/mesasdk
>>>
>>>           * echo $PATH
>>>             /Library/Frameworks/Python.framework/Versions/3.4/bin:/Users/user/perl5/perlbrew/bin:/Users/user/perl5/perlbrew/perls/perl-5.16.0/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/Users/user/Library/Enthought/Canopy_64bit/User/bin:/Applications/mesasdk/bin:/sw/bin:/sw/sbin:/sw/lib:/sw/include:/usr/local/bin:/usr/local/texlive/2013/bin:/usr/include:/usr/local/include:/Applications/Absoft14.0/bin:/Applications/Absoft14.0/bin:/sw/bin:/sw/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/lib:/opt/local/include:~/perl5/perlbrew/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/texbin:/Users/user/g95-install/bin:/usr/X11R6/bin:/Users/user/s2plot-3.2.1/darwin-gnu-x86_64:/Users/user/s2plot-3.2.1/scripts:/Applications/AquaTerm.app:/Users/user/pgplot531_af90:/Users/user/dislin/bin:/Users/user/OORBROOT:/Users/user/OORBROOT/main/
>>>
>>>
>>>         The output from the install is captured in the attached
>>>         file, mesa_install_log.txt. The contents from file
>>>         ~/mesa-r6596/mtx/test/tmp.txt contained:
>>>
>>>         dyld: lazy symbol binding failed: Symbol not found:
>>>         _GOMP_parallel
>>>           Referenced from: /Users/user/mesa-r6596/mtx/test/./tester
>>>           Expected in: /Applications/Absoft14.0/shlib64/libgomp.1.dylib
>>>
>>>         dyld: Symbol not found: _GOMP_parallel
>>>           Referenced from: /Users/user/mesa-r6596/mtx/test/./tester
>>>           Expected in: /Applications/Absoft14.0/shlib64/libgomp.1.dylib
>>>
>>>
>>>         Program received signal SIGTRAP: Trace/breakpoint trap.
>>>
>>>         Backtrace for this error:
>>>         #0  0x1040816f2
>>>         #1  0x104081eae
>>>         #2  0x7fff98bf45a9
>>>         ./rn: line 1:  1766 Trace/BPT trap: 5       ./tester
>>>
>>>
>>>         Any advice on how to fix this?
>>>
>>>         Sam Dupree.
>>>
>>>
>>>
>>>         ------------------------------------------------------------------------------
>>>         Open source business process management suite built on Java
>>>         and Eclipse
>>>         Turn processes into business applications with Bonita BPM
>>>         Community Edition
>>>         Quickly connect people, data, and systems into organized
>>>         workflows
>>>         Winner of BOSSIE, CODIE, OW2 and Gartner awards
>>>         http://p.sf.net/sfu/Bonitasoft
>>>         _______________________________________________
>>>         mesa-users mailing list
>>>         mesa-users at lists.sourceforge.net
>>>         <mailto:mesa-users at lists.sourceforge.net>
>>>         https://lists.sourceforge.net/lists/listinfo/mesa-users
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Open source business process management suite built on Java and Eclipse
>> Turn processes into business applications with Bonita BPM Community 
>> Edition
>> Quickly connect people, data, and systems into organized workflows
>> Winner of BOSSIE, CODIE, OW2 and Gartner awards
>> http://p.sf.net/sfu/Bonitasoft_______________________________________________
>> mesa-users mailing list
>> mesa-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mesa-users
>

-- 
mail-signature
------------------------------------------------------------------------

<IYA-2009.jpg>
<mmb_emblem-2.gif>   Samuel H. Dupree, Jr.sdupree at speakeasy.net
    10501 Rising Ridge Road
    Apartment 201 http://users.speakeasy.net/~sdupree/
    Fredericksburg, VA 22407, USA

     HOME: 540-693-1240            WORK: 540-653-6509     FAX: 866-514-9629

/          "The Greatest Show on Earth" is not on Earth. It's in Space!/

------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20140705/57969f01/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IYA-2009.jpg
Type: image/jpeg
Size: 10005 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20140705/57969f01/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmb_emblem-2.gif
Type: image/gif
Size: 3793 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20140705/57969f01/attachment.gif>


More information about the Mesa-users mailing list