Skip to content

Unable to link against installed GRASS libraries #2463

Answered by marisn
iwishiwasaneagle asked this question in Q&A
Discussion options

You must be logged in to vote

GRASS modules are functional within a GRASS work session. When you launch GRASS, it is setting up environment variables including adding GRASS .so files to LD search path. GRASS code base has certain assumptions on the environment when it runs thus if you are trying to bypass startup mechanism, its on to you to ensure sanity of the environment.

TL;DR: start your python interpreter from a GRASS session.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@iwishiwasaneagle
Comment options

@wenzeslaus
Comment options

Answer selected by iwishiwasaneagle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants