symbol dGeomTriMeshGetLastTransform missing in libode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ode (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
$ nm /usr/lib/libode.a | grep LastTransform
nm: libode_
0000000000000010 T dGeomTriMeshSet
Which indicates that dGeomTriMeshGet
-------
import derelict.ode.ode;
import std.stdio;
// build test.d -I~/downloads/
void main()
{
try
{
DerelictODE.
writefln("Loaded ODE libary.");
}
catch (Exception e)
{
writefln("Could not load a shared library:\n" ~ e.toString());
}
}
-------
I am on AMD64 (64bit) Gutsy. ODE is:
$ ls -l /usr/lib/libode*
-rw-r--r-- 1 root root 734792 2007-07-20 20:33 /usr/lib/libode.a
lrwxrwxrwx 1 root root 22 2007-08-01 22:36 /usr/lib/libode.so -> libode.
lrwxrwxrwx 1 root root 22 2007-08-01 22:36 /usr/lib/
lrwxrwxrwx 1 root root 22 2007-08-01 22:36 /usr/lib/
$ nm /usr/lib/
nm: /usr/lib/
DerelictODE is trunk-r270.
Mind that I am new to D/Derelict/linkage and ODE.
description: | updated |
description: | updated |
description: | updated |
I've build libode by compiling the latest sourceforge version.
With
$ nm /usr/local/ lib/libode. so | grep LastTransform
I now get
00000000000c8880 r _ZZ28dGeomTriMe shGetLastTransf ormE12_ _FUNCTION_ _ shSetLastTransf ormE12_ _FUNCTION_ _ LastTransform LastTransform
00000000000c88a0 r _ZZ28dGeomTriMe
000000000006bc80 T dGeomTriMeshGet
000000000006bcd0 T dGeomTriMeshSet
also with
$ nm /usr/local/ lib/libode. a | grep LastTransform
I correctly get
00000000000002a0 r _ZZ28dGeomTriMe shGetLastTransf ormE12_ _FUNCTION_ _ shSetLastTransf ormE12_ _FUNCTION_ _ LastTransform LastTransform
00000000000002c0 r _ZZ28dGeomTriMe
0000000000000720 T dGeomTriMeshGet
0000000000000770 T dGeomTriMeshSet
And now the example D program runs fine. So the error definitely lies on the side
of the libode packaged for Debian/Ubuntu.