[GRASS-dev] testing d.thematic.area - problem

Moritz,

I just tried out d.thematic.area from develbranch_6 (updated from svn last night).

It compiled without error, but failed on running with the following message:

dyld: lazy symbol binding failed: Symbol not found: _G_gisinit
Referenced from: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
Expected in: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib

dyld: Symbol not found: _G_gisinit
Referenced from: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
Expected in: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib

I’m on a Mac Intel with OS X 10.5.4

Michael


C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

On 12/08/08 18:58, Michael Barton wrote:

Moritz,

I just tried out d.thematic.area from develbranch_6 (updated from svn last night).

I did not commit my last changes to develbranch_6, but to trunk...
Don't have the time right now to find out how to do this (actually wasn't sure I should without any prior testing from others).

You can get a tarball of the source here:
http://geog-pc40.ulb.ac.be/grass/thematic/thematic.tgz

Just untar from the toplevel grass src dir.

It compiled without error, but failed on running with the following message:

dyld: lazy symbol binding failed: Symbol not found: _G_gisinit
  Referenced from: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
  Expected in: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib

dyld: Symbol not found: _G_gisinit
  Referenced from: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
  Expected in: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib

I'm on a Mac Intel with OS X 10.5.4

No idea where that came from...

Moritz

Moritz,

I just installed your tarball, did a make clean, make, and make install.

I got the same error when I tried to run d.thematic.area

GRASS 6.4.svn (Spearfish60_test):~ > d.thematic.area
dyld: lazy symbol binding failed: Symbol not found: _G_gisinit
   Referenced from: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
   Expected in: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib

dyld: Symbol not found: _G_gisinit
   Referenced from: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
   Expected in: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib

Trace/BPT trap

____________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

On Aug 12, 2008, at 10:14 AM, Moritz Lennert wrote:

On 12/08/08 18:58, Michael Barton wrote:

Moritz,
I just tried out d.thematic.area from develbranch_6 (updated from svn last night).

I did not commit my last changes to develbranch_6, but to trunk...
Don't have the time right now to find out how to do this (actually wasn't sure I should without any prior testing from others).

You can get a tarball of the source here:
http://geog-pc40.ulb.ac.be/grass/thematic/thematic.tgz

Just untar from the toplevel grass src dir.

It compiled without error, but failed on running with the following message:
dyld: lazy symbol binding failed: Symbol not found: _G_gisinit
Referenced from: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
Expected in: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib
dyld: Symbol not found: _G_gisinit
Referenced from: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
Expected in: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib
I'm on a Mac Intel with OS X 10.5.4

No idea where that came from...

Moritz

On Aug 12, 2008, at 12:40 PM, Michael Barton wrote:

Moritz,

I just installed your tarball, did a make clean, make, and make install.

I got the same error when I tried to run d.thematic.area

GRASS 6.4.svn (Spearfish60_test):~ > d.thematic.area
dyld: lazy symbol binding failed: Symbol not found: _G_gisinit
Referenced from: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
Expected in: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib

dyld: Symbol not found: _G_gisinit
Referenced from: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
Expected in: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib

Trace/BPT trap

Maybe something is wrong with your libgrass_gis? What does this say:

nm -mjg /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib | grep _G_gisinit

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

[Trillian] What are you supposed to do WITH a maniacally depressed robot?

[Marvin] You think you have problems? What are you supposed to do if you ARE a maniacally depressed robot? No, don't try and answer, I'm 50,000 times more intelligent than you and even I don't know the answer...

- HitchHiker's Guide to the Galaxy

Michael,

On Tue, Aug 12, 2008 at 6:58 PM, Michael Barton <michael.barton@asu.edu> wrote:

Moritz,
I just tried out d.thematic.area from develbranch_6 (updated from svn last
night).
It compiled without error, but failed on running with the following message:
dyld: lazy symbol binding failed: Symbol not found: _G_gisinit
  Referenced from:
/Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
  Expected in:
/Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib
dyld: Symbol not found: _G_gisinit
  Referenced from:
/Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
  Expected in:
/Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib

the G_gisinit symbol thing was introduced the other day (backport, to
ensure that compatible GIS libraries are used).

Perhaps you have an old libgis hanging around somewhere?
"make distclean" is needed, too.

Markus

On Aug 12, 2008, at 11:01 AM, William Kyngesburye wrote:

On Aug 12, 2008, at 12:40 PM, Michael Barton wrote:

Moritz,

I just installed your tarball, did a make clean, make, and make install.

I got the same error when I tried to run d.thematic.area

GRASS 6.4.svn (Spearfish60_test):~ > d.thematic.area
dyld: lazy symbol binding failed: Symbol not found: _G_gisinit
Referenced from: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
Expected in: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib

dyld: Symbol not found: _G_gisinit
Referenced from: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
Expected in: /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib

Trace/BPT trap

Maybe something is wrong with your libgrass_gis? What does this say:

nm -mjg /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib | grep _G_gisinit

Nothing (i.e., nothing is returned)

Everything else seems to launch fine. The d.thematic.area GUI won't even launch--in wxpython or in tcltk.

Michael

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

[Trillian] What are you supposed to do WITH a maniacally depressed robot?

[Marvin] You think you have problems? What are you supposed to do if you ARE a maniacally depressed robot? No, don't try and answer, I'm 50,000 times more intelligent than you and even I don't know the answer...

- HitchHiker's Guide to the Galaxy

I updated from the svn last night and did a make distclean.

When was it backported?

Michael
____________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

On Aug 12, 2008, at 11:03 AM, Markus Neteler wrote:

Michael,

On Tue, Aug 12, 2008 at 6:58 PM, Michael Barton <michael.barton@asu.edu> wrote:

Moritz,
I just tried out d.thematic.area from develbranch_6 (updated from svn last
night).
It compiled without error, but failed on running with the following message:
dyld: lazy symbol binding failed: Symbol not found: _G_gisinit
Referenced from:
/Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
Expected in:
/Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib
dyld: Symbol not found: _G_gisinit
Referenced from:
/Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
Expected in:
/Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib

the G_gisinit symbol thing was introduced the other day (backport, to
ensure that compatible GIS libraries are used).

Perhaps you have an old libgis hanging around somewhere?
"make distclean" is needed, too.

Markus

On Tue, Aug 12, 2008 at 8:06 PM, Michael Barton <michael.barton@asu.edu> wrote:

On Aug 12, 2008, at 11:01 AM, William Kyngesburye wrote:

...

Maybe something is wrong with your libgrass_gis? What does this say:

nm -mjg /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib | grep _G_gisinit

Nothing (i.e., nothing is returned)

AFAIK this indicates that you are using an outdated libgis.
It should not be older than 24h.

Markus

I'll reupdate and recompile

Michael
____________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

On Aug 12, 2008, at 11:10 AM, Markus Neteler wrote:

On Tue, Aug 12, 2008 at 8:06 PM, Michael Barton <michael.barton@asu.edu> wrote:

On Aug 12, 2008, at 11:01 AM, William Kyngesburye wrote:

...

Maybe something is wrong with your libgrass_gis? What does this say:

nm -mjg /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib | grep _G_gisinit

Nothing (i.e., nothing is returned)

AFAIK this indicates that you are using an outdated libgis.
It should not be older than 24h.

Markus

On Aug 12, 2008, at 11:03 AM, Markus Neteler wrote:

Michael,

On Tue, Aug 12, 2008 at 6:58 PM, Michael Barton <michael.barton@asu.edu> wrote:

Moritz,
I just tried out d.thematic.area from develbranch_6 (updated from svn last
night).
It compiled without error, but failed on running with the following message:
dyld: lazy symbol binding failed: Symbol not found: _G_gisinit
Referenced from:
/Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
Expected in:
/Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib
dyld: Symbol not found: _G_gisinit
Referenced from:
/Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
Expected in:
/Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib

the G_gisinit symbol thing was introduced the other day (backport, to
ensure that compatible GIS libraries are used).

Perhaps you have an old libgis hanging around somewhere?
"make distclean" is needed, too.

I've updated from the svn develbranch_6,
installed the new d.thematic.area files by doing a tar -xvf thematic.tar
did a make distclean, and make.

None of d.thematic.area compiled.
I checked and none of the pieces were in the Make files any more, so I added them back in.
They still won't compile.

Michael

On 12/08/08 22:14, Michael Barton wrote:

On Aug 12, 2008, at 11:03 AM, Markus Neteler wrote:

Michael,

On Tue, Aug 12, 2008 at 6:58 PM, Michael Barton <michael.barton@asu.edu> wrote:

Moritz,
I just tried out d.thematic.area from develbranch_6 (updated from svn last
night).
It compiled without error, but failed on running with the following message:
dyld: lazy symbol binding failed: Symbol not found: _G_gisinit
Referenced from:
/Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
Expected in:
/Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib
dyld: Symbol not found: _G_gisinit
Referenced from:
/Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
Expected in:
/Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib

the G_gisinit symbol thing was introduced the other day (backport, to
ensure that compatible GIS libraries are used).

Perhaps you have an old libgis hanging around somewhere?
"make distclean" is needed, too.

I've updated from the svn develbranch_6,
installed the new d.thematic.area files by doing a tar -xvf thematic.tar
did a make distclean, and make.

None of d.thematic.area compiled.
I checked and none of the pieces were in the Make files any more, so I added them back in.
They still won't compile.

You need to compile lib/arraystats before you can compile display/d.thematic.area.

Moritz

Markus Neteler wrote:

> I just tried out d.thematic.area from develbranch_6 (updated from svn last
> night).
> It compiled without error, but failed on running with the following message:
> dyld: lazy symbol binding failed: Symbol not found: _G_gisinit
> Referenced from:
> /Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
> Expected in:
> /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib
> dyld: Symbol not found: _G_gisinit
> Referenced from:
> /Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
> Expected in:
> /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib

the G_gisinit symbol thing was introduced the other day (backport, to
ensure that compatible GIS libraries are used).

Perhaps you have an old libgis hanging around somewhere?

It's the other way around. It's trying to use an old gis.h with a new
libgis.

The new libgis doesn't have G_gisinit(), only G__gisinit() (with two
underscores, and an extra argument). The new gis.h has a G_gisinit()
macro:

  #define G_gisinit(pgm) G__gisinit(GIS_H_VERSION, (pgm))

If a binary has a reference to G_gisinit() (as d.thematic.area does
above), it was compiled with the old version of gis.h.

--
Glynn Clements <glynn@gclements.plus.com>

Moritz:

I did not commit my last changes to develbranch_6, but to trunk...
Don't have the time right now to find out how to do this

http://trac.osgeo.org/grass/wiki/HowToSVN#Mergebetweenbranchesbackporting

(actually wasn't sure I should without any prior testing from others).

use your best judgment.

Hamish

On 12/08/08 19:14, Moritz Lennert wrote:

On 12/08/08 18:58, Michael Barton wrote:

Moritz,

I just tried out d.thematic.area from develbranch_6 (updated from svn last night).

I did not commit my last changes to develbranch_6, but to trunk...
Don't have the time right now to find out how to do this (actually wasn't sure I should without any prior testing from others).

Just comitted to develbranch_6. I had to sort through some of Glynn's architecture changes, but I think the backported stuff is all from me.

Moritz

On Aug 13, 2008, at 2:33 AM, Moritz Lennert wrote:

On 12/08/08 19:14, Moritz Lennert wrote:

On 12/08/08 18:58, Michael Barton wrote:

Moritz,

I just tried out d.thematic.area from develbranch_6 (updated from svn last night).

I did not commit my last changes to develbranch_6, but to trunk...
Don't have the time right now to find out how to do this (actually wasn't sure I should without any prior testing from others).

Just comitted to develbranch_6. I had to sort through some of Glynn's architecture changes, but I think the backported stuff is all from me.

Moritz

I'll try later today or this evening.

Michael