← Back to team overview

dolfin team mailing list archive

Re: error running demos

 

i had the same problem. i think in our case libdolfin.so.0 is installed in a typically nonstandard location.

try editing your /etc/ld.so.conf file so that it includes your path to libdolfin.so.0. in my case, that path was /usr/local/lib and it looks like that's yours too.

then run sudo ldconfig so refresh your lib path and try again.

hope this helps,
robert


Message: 10
Date: Wed, 06 Dec 2006 11:35:44 -0600
From: Andy R Terrel <aterrel@xxxxxxxxxxxx>
Subject: [DOLFIN-dev] error running demos
To: dolfin-dev@xxxxxxxxxx
Message-ID: <4576FF70.8040400@xxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello,

So I wanted to get some of my older dolfin code working and I have been running into a good many errors. But now it appears that I cannot get some of the demos to run for me. For both the stokes/taylorhood and stokes/stabilized, they compile fine but I get the following runtime error:

./dolfin-stokes: error while loading shared libraries: libdolfin.so.0: cannot open shared object file: No such file or directory

But when I look for the library I find it:

aterrel@aterrel-laptop:~/FenicsSoftware/dolfin/src/demo/pde/stokes/stabilized$ ls -l /usr/local/lib/libdolfin.so* lrwxrwxrwx 1 root root 18 2006-12-06 11:26 /usr/local/lib/libdolfin.so -> libdolfin.so.0.0.0 lrwxrwxrwx 1 root root 18 2006-12-06 11:26 /usr/local/lib/libdolfin.so.0 -> libdolfin.so.0.0.0 -rwxr-xr-x 1 root root 15222084 2006-12-06 11:26 /usr/local/lib/libdolfin.so.0.0.0


Any help would be appreciated.

--Andy