where to find libexpat

Derek Broughton news at pointerstop.ca
Fri Dec 5 14:30:12 UTC 2008


Chris Mohler wrote:

> On Fri, Dec 5, 2008 at 5:38 PM, Paul Greenberg <pag101 at gmail.com>
> wrote:
>> I'm using a program called Freesurfer to analyze brain volume based
>> on MRI images.
>>
>> After typing "ldd /usr/local/freesurfer/bin/mris_volmask.bin", the
>> error messages from freesurfer are"
>>
>> linux-vdso.so.1 =>  (0x00007fff4e5fe000)
>>>         libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fa045fcf000)
>>>         libXmu.so.6 => /usr/lib64/libXmu.so.6 (0x00007fa045db6000)
>>>         libfreetype.so.6 => /usr/lib64/libfreetype.so.6
>>>         (0x00007fa045b37000) libvtkpng.so.5.2 => not found
>>>         libvtksqlite.so.5.2 => not found
>>>         libvtkzlib.so.5.2 => not found
>>>         libexpat.so.0 => not found
>>Chri

Use pacakges.ubuntu.com to find packages containing specific files.

>> and the list continues, but I truncated it at the libexpat line.
>> The Freesurfer programmers suggested I locate the libexpat.so.0 RPM
>> and install it.
>>
>> Suggestions?
> 
> Ouch - I guess they are shipping just the binaries?

We don't know - if the source is available, "Use the source Luke".
 
> This might be a bad idea, but have you tried making a symlink from
> /usr/lib/libexpat.so.0 to /usr/lib/libexpat.so.1.5.2?

Probably a little better to symlink to /usr/lib/libexpat.so (which 
itself should be a symlink to the current version).

If you really have to have libexpat.so.0, you might try installing the 
package "wink", which just happens to include that file (bad packaging on 
the part of the maintainer, but you can take advantage of it).

You could also try downgrading to libexpat1 from gutsy or feisty (which 
both had this file) but I think that's likely to lead to major headaches 
with other apps needing the later libexpat.so
-- 
derek





More information about the ubuntu-users mailing list