[MINC-users] Library not loaded: libminc2.2.dylib
Sandra Sanabria
sanabria.sandra at gene.com
Mon Nov 18 14:16:13 EST 2013
It was empty, I set it to:
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:/opt/minc/lib:/opt/minc/lib/InsightToolkit
(not sure why if I run execute source /opt/minc/minc-toolkit-config.sh)
I can use rawtominc but, although display opens, it dies when opening the file:
display test.mnc
Input test.mnc
Objects input.
display(90923,0x7fff736e1180) malloc: *** mmap(size=18446744065119621120) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Error reallocing -2147482740 elements of size 4.
Source position: /Users/vfonov/src/minc-toolkit/bicpl/Numerical/histogram.c:174
Segmentation fault: 11
(I wish I hadn’t gone Mountain Lion!)
Thanks
On Nov 18, 2013, at 9:09 AM, "Vladimir S. FONOV" <vladimir.fonov at gmail.com> wrote:
> Ok,
>
>
> what about DYLD_LIBRARY_PATH environment variable, what does
>
> echo $DYLD_LIBRARY_PATH shows?
>
>
>
> On 13-11-18 03:10 AM, Sandra Sanabria wrote:
>> Hello,
>>
>> $ which rawtominc
>> /opt/minc/bin/rawtominc
>>
>>
>> $ otool -L /opt/minc/bin/rawtominc
>> /opt/minc/bin/rawtominc:
>> libminc2.2.dylib (compatibility version 2.0.0, current version 2.2.0)
>> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)
>>
>> This is the fool message when trying to use rawtominc:
>> $ rawtominc -input tmpfile.img -ofloat -transverse -float -xstep 1.084170 -ystep 1.084170 -zstep 1.211500 tmpfile.mnc 1 63 128 128 -range 0 3.398243
>> dyld: Library not loaded: libminc2.2.dylib
>> Referenced from: /opt/minc/bin/rawtominc
>> Reason: image not found
>> Trace/BPT trap: 5
>>
>> Thanks,
>> S
>> On Nov 15, 2013, at 3:22 PM, "Vladimir S. FONOV" <vladimir.fonov at gmail.com> wrote:
>>
>>> Hello,
>>>
>>> what's the output of
>>>
>>> which rawtominc
>>> and
>>> otool -L /opt/minc/bin/rawtominc
>>>
>>> ?
>>>
>>>
>>> On 13-11-15 05:36 PM, Sandra Sanabria wrote:
>>>> Yes, I did. Should I set any other env variable or add any other folder to the path?
>>>>
>>>> Thank you
>>>>
>>>> Sandra
>>>>
>>>> Enviado desde mi iPhone
>>>>
>>>>> El Nov 15, 2013, a las 14:19, "Vladimir S. FONOV" <vladimir.fonov at gmail.com> escribió:
>>>>>
>>>>> Hello,
>>>>>
>>>>> did you run execute source /opt/minc/minc-toolkit-config.sh
>>>>> command before trying to run rawtominc ?
>>>>>
>>>>>> On 13-11-15 05:07 PM, Sandra Sanabria wrote:
>>>>>> I’m on MAC OSX 10.8.3 and tried to install the MINC Tool Kit following the directions in http://www.bic.mni.mcgill.ca/ServicesSoftware/ServicesSoftwareMincToolKit. However, when I try to run “rawtominc” I get the following error message: dyld: Library not loaded: libminc2.2.dylib
>>>>>> Any help with this will be very appreciated!
>>>>>
>>>>>
>>>>> --
>>>>> Best regards,
>>>>>
>>>>> Vladimir S. FONOV ~ vladimir.fonov <at> gmail.com
>>>>> _______________________________________________
>>>>> MINC-users at bic.mni.mcgill.ca
>>>>> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>>>> _______________________________________________
>>>> MINC-users at bic.mni.mcgill.ca
>>>> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>>>>
>>>
>>>
>>> --
>>> Best regards,
>>>
>>> Vladimir S. FONOV ~ vladimir.fonov <at> gmail.com
>>> _______________________________________________
>>> MINC-users at bic.mni.mcgill.ca
>>> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>>
>> _______________________________________________
>> MINC-users at bic.mni.mcgill.ca
>> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>>
>
>
> --
> Best regards,
>
> Vladimir S. FONOV ~ vladimir.fonov <at> gmail.com
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
More information about the MINC-users
mailing list