← Back to team overview

dolfin team mailing list archive

Re: loading shared libraries

 

On Wed, Nov 01, 2006 at 05:23:38PM +0100, Dag Lindbo wrote:
> Set LD_LOAD_PATH, i.e.
> 
> > locate libdolfin.so
> # /usr/local/lib/libdolfin.so.0
> 
> > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
> 
> this worked form me. For some reason the dolfin.conf file does not work in
> my install.

That is strange. What is the problem? If you look at the file, it
should contain a line that sets LD_LIBRARY_PATH much in the same way
as you do manually.

/Anders


> /Dag
> 
> > In a newly cloned dolfin, I have problems when running the demos. It
> > appears that it may be connected to pkg-config?
> >
> > Any ideas?
> >
> > /Johan
> >
> > [jhoffman@na41 poisson]$ pwd
> > /afs/nada.kth.se/home/m/u1qo8adm/work/computing2/dolfin/src/demo/solvers/poisson
> > [jhoffman@na41 poisson]$ make
> > `pkg-config --variable=compiler dolfin` `pkg-config --cflags dolfin` -c
> > main.cpp
> > `pkg-config --variable=compiler dolfin` -o dolfin-poisson main.o
> > `pkg-config --cflags dolfin` `pkg-config --libs dolfin`
> > [jhoffman@na41 poisson]$ ./dolfin-poisson
> > ./dolfin-poisson: error while loading shared libraries: libdolfin.so.0:
> > cannot open shared object file: No such file or directory
> > [jhoffman@na41 poisson]$
> >
> >
> >
> >
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
> >
> 
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev


Follow ups

References