ImportError: undefined symbol: GDALDatasetTestCapability when installing gdal2tiles on Linux Centos 7.5
up vote
0
down vote
favorite
How can I resolve this error?
ImportError: /home/a/b.com/live-charts/live-chart-example/lib/python3.6/site-packages/osgeo/_gdal.cpython-36m-x86_64-linux-gnu.so: undefined symbol: GDALDatasetTestCapability
linux python centos-7
add a comment |
up vote
0
down vote
favorite
How can I resolve this error?
ImportError: /home/a/b.com/live-charts/live-chart-example/lib/python3.6/site-packages/osgeo/_gdal.cpython-36m-x86_64-linux-gnu.so: undefined symbol: GDALDatasetTestCapability
linux python centos-7
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
How can I resolve this error?
ImportError: /home/a/b.com/live-charts/live-chart-example/lib/python3.6/site-packages/osgeo/_gdal.cpython-36m-x86_64-linux-gnu.so: undefined symbol: GDALDatasetTestCapability
linux python centos-7
How can I resolve this error?
ImportError: /home/a/b.com/live-charts/live-chart-example/lib/python3.6/site-packages/osgeo/_gdal.cpython-36m-x86_64-linux-gnu.so: undefined symbol: GDALDatasetTestCapability
linux python centos-7
linux python centos-7
edited Sep 12 at 9:43
Ahmed Ashour
994610
994610
asked Sep 12 at 6:54
C.Uyar
11
11
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
-1
down vote
Gerrit's answer to a related question solved the undefined symbol: GDALDatasetTestCapability error for me:
If a gdal version is already installed, this problem will occur even if you have linked against the version installed in ~/.local. A solution is given at a Planet MYSQL post here:
In this case, we can tell the linker to preload our newer 1.11.0 library in our shell this way:
export LD_PRELOAD=/usr/local/lib/libgdal.so.1
Or, in my case,
export LD_PRELOAD="$HOME/.local/lib/libgdal.so.1"
Python gdal undefined symbol GDALRasterBandGetVirtualMem
You may also need to run,export LD_LIBRARY_PATH="/usr/local/lib/:$LD_LIBRARY_PATH"andldconfigin order for the bindings to work.
– JessieinAg
Nov 28 at 22:56
It would be helpful to have a comment on the down vote. This answer and information helped me resolve this exact error.
– JessieinAg
Nov 28 at 23:00
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
-1
down vote
Gerrit's answer to a related question solved the undefined symbol: GDALDatasetTestCapability error for me:
If a gdal version is already installed, this problem will occur even if you have linked against the version installed in ~/.local. A solution is given at a Planet MYSQL post here:
In this case, we can tell the linker to preload our newer 1.11.0 library in our shell this way:
export LD_PRELOAD=/usr/local/lib/libgdal.so.1
Or, in my case,
export LD_PRELOAD="$HOME/.local/lib/libgdal.so.1"
Python gdal undefined symbol GDALRasterBandGetVirtualMem
You may also need to run,export LD_LIBRARY_PATH="/usr/local/lib/:$LD_LIBRARY_PATH"andldconfigin order for the bindings to work.
– JessieinAg
Nov 28 at 22:56
It would be helpful to have a comment on the down vote. This answer and information helped me resolve this exact error.
– JessieinAg
Nov 28 at 23:00
add a comment |
up vote
-1
down vote
Gerrit's answer to a related question solved the undefined symbol: GDALDatasetTestCapability error for me:
If a gdal version is already installed, this problem will occur even if you have linked against the version installed in ~/.local. A solution is given at a Planet MYSQL post here:
In this case, we can tell the linker to preload our newer 1.11.0 library in our shell this way:
export LD_PRELOAD=/usr/local/lib/libgdal.so.1
Or, in my case,
export LD_PRELOAD="$HOME/.local/lib/libgdal.so.1"
Python gdal undefined symbol GDALRasterBandGetVirtualMem
You may also need to run,export LD_LIBRARY_PATH="/usr/local/lib/:$LD_LIBRARY_PATH"andldconfigin order for the bindings to work.
– JessieinAg
Nov 28 at 22:56
It would be helpful to have a comment on the down vote. This answer and information helped me resolve this exact error.
– JessieinAg
Nov 28 at 23:00
add a comment |
up vote
-1
down vote
up vote
-1
down vote
Gerrit's answer to a related question solved the undefined symbol: GDALDatasetTestCapability error for me:
If a gdal version is already installed, this problem will occur even if you have linked against the version installed in ~/.local. A solution is given at a Planet MYSQL post here:
In this case, we can tell the linker to preload our newer 1.11.0 library in our shell this way:
export LD_PRELOAD=/usr/local/lib/libgdal.so.1
Or, in my case,
export LD_PRELOAD="$HOME/.local/lib/libgdal.so.1"
Python gdal undefined symbol GDALRasterBandGetVirtualMem
Gerrit's answer to a related question solved the undefined symbol: GDALDatasetTestCapability error for me:
If a gdal version is already installed, this problem will occur even if you have linked against the version installed in ~/.local. A solution is given at a Planet MYSQL post here:
In this case, we can tell the linker to preload our newer 1.11.0 library in our shell this way:
export LD_PRELOAD=/usr/local/lib/libgdal.so.1
Or, in my case,
export LD_PRELOAD="$HOME/.local/lib/libgdal.so.1"
Python gdal undefined symbol GDALRasterBandGetVirtualMem
edited Nov 27 at 19:03
Ramhound
19.5k156084
19.5k156084
answered Nov 27 at 18:48
JessieinAg
1
1
You may also need to run,export LD_LIBRARY_PATH="/usr/local/lib/:$LD_LIBRARY_PATH"andldconfigin order for the bindings to work.
– JessieinAg
Nov 28 at 22:56
It would be helpful to have a comment on the down vote. This answer and information helped me resolve this exact error.
– JessieinAg
Nov 28 at 23:00
add a comment |
You may also need to run,export LD_LIBRARY_PATH="/usr/local/lib/:$LD_LIBRARY_PATH"andldconfigin order for the bindings to work.
– JessieinAg
Nov 28 at 22:56
It would be helpful to have a comment on the down vote. This answer and information helped me resolve this exact error.
– JessieinAg
Nov 28 at 23:00
You may also need to run,
export LD_LIBRARY_PATH="/usr/local/lib/:$LD_LIBRARY_PATH" and ldconfig in order for the bindings to work.– JessieinAg
Nov 28 at 22:56
You may also need to run,
export LD_LIBRARY_PATH="/usr/local/lib/:$LD_LIBRARY_PATH" and ldconfig in order for the bindings to work.– JessieinAg
Nov 28 at 22:56
It would be helpful to have a comment on the down vote. This answer and information helped me resolve this exact error.
– JessieinAg
Nov 28 at 23:00
It would be helpful to have a comment on the down vote. This answer and information helped me resolve this exact error.
– JessieinAg
Nov 28 at 23:00
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1357456%2fimporterror-undefined-symbol-gdaldatasettestcapability-when-installing-gdal2ti%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown