[MINC-users] upet2mnc problem

Paul GRAVEL pgravel at bic.mni.mcgill.ca
Mon Apr 8 18:57:57 EDT 2013


Thanks Andrew!

I ran "dpkg --print-architecture" and I get:

amd64

on both machines.

I had run "lsb_release -a" as well and I obtained:

1) On 'vaux' (the original machine that returned the error:
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 5.0.10 (lenny)
Release:        5.0.10
Codename:       lenny

2) on 'agrippa' (the machine on which the upet2mnc located under 
/usr/local/bic/bin/ works fine):
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 6.0.7 (squeeze)
Release:        6.0.7
Codename:       squeeze


So both machines are 64bits.

Hence my comment about the Linux flavor...

But looking at "ldd /usr/local/bic/bin/upet2mnc"
returns different outputs:

1) On vaux:
         linux-vdso.so.1 =>  (0x00007fffbe0b3000)
         libz.so.1 => /usr/lib/libz.so.1 (0x00007fb6a7339000)
         libm.so.6 => /lib/libm.so.6 (0x00007fb6a70b6000)
         libc.so.6 => /lib/libc.so.6 (0x00007fb6a6d63000)
         /lib64/ld-linux-x86-64.so.2 (0x00007fb6a7550000)

2) on agrippa:
         linux-vdso.so.1 =>  (0x00007fff51dff000)
         librt.so.1 => /lib/librt.so.1 (0x00007f9f23b91000)
         libz.so.1 => /usr/lib/libz.so.1 (0x00007f9f2397a000)
         libm.so.6 => /lib/libm.so.6 (0x00007f9f236f7000)
         libc.so.6 => /lib/libc.so.6 (0x00007f9f23395000)
         libpthread.so.0 => /lib/libpthread.so.0 (0x00007f9f23179000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f9f23db3000)

So, as a workaround I copied /usr/local/bic/bin/upet2mnc from 'agrippa' to 
'vaux' and it does work fine. At some point I may look into recompling 
upet2mnc.c on 'vaux', but for now I am happy with this.

Many thanks!

Paul

On Tue, 9 Apr 2013, Andrew Janke wrote:

> Well then I'd say Vladimir is on the mark.
>
> You can run
>
>   dpkg --print-architecture
>
> on both machines if Debian/Ubuntu to find out which is 32 bit and
> which is 64. "lsb_release -a" might also be informative.
>
>
> a
>
>
> On 9 April 2013 08:27, Paul GRAVEL <pgravel at bic.mni.mcgill.ca> wrote:
>> I ran /usr/local/bic/bin/upet2mnc on 'agrippa' ( Debian GNU/Linux 6.0.7
>> (squeeze) ) and it does work fine; I originally ran the binary on Debian
>> GNU/Linux 5.0.10 (lenny), where it crashed. Is this a Linux 'flavor' related
>> problem...?
> _______________________________________________
> 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