← Back to team overview

dolfin team mailing list archive

Re: Loading shared libraries

 

If I add "libtool --mode=link" by hand in the Makefile where executables
are made,

$(DEST): $(OBJECTS)
         libtool --mode=link $(CXX) -o $@ $(OBJECTS) $(CFLAGS) $(LIBS)

it works. Is there a simpler way? Should the script dolfin-config
--compiler by able to return 

libtool --mode=link g++ ?

Garth

On Thu, 2006-02-09 at 09:47 +0100, Garth N. Wells wrote:
> I'm having trouble executing programs with the modified build system.
> The shared library libdolfin.so.0 cannot be found. Can I use libtool to
> sort this out, and how?
> 
> Garth
> 
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
-- 
Dr. Garth N. Wells
Faculty of Civil Engineering and Geosciences
Delft University of Technology
Stevinweg 1
2628 CN Delft
The Netherlands

tel.     +31 15 278 7922
fax.     +31 15 278 6383
e-mail   g.n.wells@xxxxxxxxxx
url      http://www.mechanics.citg.tudelft.nl/~garth




Follow ups

References