[SOLVED] At run time get: "Error while loading shared libraries: libgdal.so.1:"
location:
linuxquestions.com - date:
June 14, 2010
I am trying to implement the GDAL I/O libraries as a LINUX Newbie.
When I run the test executable after my compile and link I get the error:
[
[email protected] gdal-1.7.1]$ ./test
./test: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory
I do not know how to trace this problem further, but I am still digging.
I first managed to build gdal and my admin person installed it for me. I am trying to compile and link the code below using the following command as a test case (I am not running as su):
g++ -L/home/firani/USGS/gdal/gdal-1.7.1/.libs -lgdal -o./test test.cpp
#include "gdal_priv.h"
int main()
{
GDALDataset *poDataset;
GDALAllRegister();
poDataset = (GDALDataset *) GDALOpen( "urbgd001.dat", GA_ReadOnly );
if( poDataset == NULL )
{
printf("poDataset is null/n.");
}
}
My link libraries exist locally in m
error while loading shared libraries: libgdal.so.1 in archlinux
location: linuxexchange.com - date: September 27, 2015
I (myself a programm novice) get the following error message when starting a script in archlinux, which has been written by a friend:
/usr/bin/psxy: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory
/usr/bin/psbasemap: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory
/usr/bin/ps2raster: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory
/usr/bin/psxy: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory
At that point in the script it uses the Generic Mapping Tools (GMT). I think the problem is a linker problem and related to gdal. The version installed is:
gdalinfo --version
GDAL 2.0.0, released 2015/06/14
And, indeed, libgdal.so.1 is not installed (or has been renamed to /usr/lib/libgdal.so?):
/sbin/ldconfig -p | grep gdal
libgdal.so.20 (lib
[SOLVED] error while loading shared libraries: libacl.so.1: cannot open shared object file:
location: linuxquestions.com - date: March 21, 2013
Hi,
when i update all my packages from slackware 14 to -current, i got these errors with many packages, any ideas?
sed: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory
regards fl0
[SOLVED] Error while loading shared libraries: libncurses.so.5
location: linuxquestions.com - date: October 23, 2010
Hi!
I'm trying to chroot, but:
/bin/bash: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
libncurses.so.5 exists
Thanks,
SuperGnu
[SOLVED] Slackware 13.37 x86 error while loading shared libraries: libzfXComm.so.1
location: linuxquestions.com - date: March 31, 2012
Hi,
I created a txz package from the rpm package, which came with the MTS Mblaze USB modem I bought, it's a Huwaei ZTE device -
- CrossPlatformUI-V2.1.2-SSTL-i586-openSUSE.rpm
The package was successfully created as seen aftre running rpm2txz command-
Quote:
[SOLVED] error while loading shared libraries: libquadmath.so.0
location: linuxquestions.com - date: November 28, 2014
Dear all;
I run an execute file named "A" gets it's input from a text file "B.inp"
but I face this error:
A < B.inp
: error while loading shared libraries: libquadmath.so.0: cannot open shared object file: No such file or directory
I've downloaded libquadmath and when I want to install it ,the other error said I don't have libgc package!!! but I have libgc!! is it because of existing two different repository that it can't share their information?
my operating system is Centos6;
what shall I do?
Thanks for your attention
[SOLVED] feh: error while loading shared libraries: libImlib2.so.1
location: linuxquestions.com - date: February 20, 2010
hi,
i just ran into a little problem. while configure && make && make install was no problem at all, feh insists to not find libImlib2.so.1. however, it does know where the lib is. the libs are installed in:
Code:
Since patching for Shellshock, now getting “error while loading shared libraries: libiomp4.so” but ONLY when trying to run a file over SSH
location: linuxexchange.com - date: October 7, 2014
EDITED TO ADD:
To try to make it a bit more clear, this is the problem:
I type: ssh "./"
I get: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
In ~/.bashrc, I have a command to set the LD_LIBRARY_PATH to point to the directory that contains libiomp5.so. Now, if I do: ssh "source ~/.bashrc ; ./" -- this works!
Now, if I do: ssh "echo $LD_LIBRARY_PATH ; ./ -- this will give me the same error as the first time, but the LD_LIBRARY_PATH echo will show that it is correctly configured.
I've tried setting the library path via /etc/bashrc, .bash_profile, etc etc etc, all the places it could possibly be set. And the echo in the above command shows that it is set, but it will ONLY work if I set it again in the same command string as where I run the file.
Totally confuzzled. Anyone?
Original text:
This has only been happening since applying a patch for Shellshock. Two machines, both using linux, Fedora.
I have an executable
[SOLVED] digikam4.5.0 error "error while loading shared libraries: libkface.so.2" on 14.1
location: linuxquestions.com - date: November 27, 2014
I'm running 14.1 with Alien's KDE version 4.13.3.
I installed digikam 4.5.0 with the pre-reqs, however it will not start, error message indicates libface.so.2 can not be found.
It looks like I have a lib missing. I don't know what package supplies libface.so.2. A locate command does not find it.
I have liblqr-0.4.1-x86_64-1_SBo installed.
I have lensfun-0.3.0-x86_64-1_SBo installed.
I have libpgf-6.14.12-x86_64-2_SBo installed.
I have opencv-2.4.9-x86_64-1_SBo installed.
I have ffmpeg-2.1.5-x86_64_custom-1_SBo installed.
What package supplies libkface.so.2?
Any help is appreciated.
error while loading shared libraries: libc.so.6
location: ubuntuforums.com - date: May 22, 2012
I'm running a 64-bit Ubuntu Server 11.10 and am attempting to install an old 32-bit tool for work.
The installer is a script that sets some environment variables then attempts to create a director under /tmp. This is where it fails with the following error:
Code:
$ sudo ./setup
mkdir: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
ERROR: Could not make directory in /tmp
This is the problem line from the installer script:
Code:
if [ -d "/tmp/windu" ]
then
/bin/rm -rf /tmp/windu
fi
mkdir -p /tmp/windu
if [ $? -ne 0 ]
then
echo "ERROR: Could not make directory in /tmp"
exit 1;
fi
Code:
$ ldd bin/lin/windu_registryd44
linux-gate.so.1 => (0xf77ac000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7772000)
libcrypt.so.1 => /lib32/libcrypt.so.1 (0xf7741000)
please wait...
Page: 1 2 3 4 5 6 7 8 9 10