[ODE] Impossible static linking of libode

Bram Stolk b.stolk at gmail.com
Tue Oct 23 14:49:29 MST 2007

Just put the libode.a on the linker cmd line.
That is what I do.

But I agree with you that:

g++ -o foo foo.o `ode-config --libs`

should work


On 10/23/07, Ivan M <iminpla at gmail.com> wrote:
> Hi,
> I have been trying to compile/linking statically the libode several
> days and I don't guess it.
> I compile/installed ode in my Ubuntu with the --enable-static option,
> and I have 2 libode - libode.a and libode.so. It seems that the "gcc
> doesn't see" the libode.a and then link with libode.so dynamically.
> It is possible to link libode statically with my application? And how?
> Thanks,
> Ivan.
> _______________________________________________
> ODE mailing list
> ODE at ode.org
> http://ode.org/mailman/listinfo/ode

Zapp: Captain's log, stardate...er..
Kif: Ohhh. April 13th.
Zapp: April 13th. Point 2.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ode.org/pipermail/ode/attachments/20071023/a43af941/attachment.htm

More information about the ODE mailing list