[Gdal-dev] error while loading shared libraries: libgdal.so.l
Frank Warmerdam
warmerdam at pobox.com
Wed Jan 4 21:06:33 EST 2006
On 1/4/06, ³Ãô <lumiousy at yahoo.com.cn> wrote:
>
> I installed the gdal in /usr/local.
> I added the /usr/local/lib to the /etc/ld.so.conf file.
> But I can not use it in my programe demogdal.cpp.
> I have to compile it using -L/usr/local/lib -lgdal option.
> When I run the object file, the error came up as follows:
> error while loading shared libraries: libgdal.so.l: can not open shared
> object file:No such file or directory.
> But there is a libgdal.so.l in my /usr/local/lib.
> How can I make it?
Hi,
I'm no guru on use of ld.so.conf, but don't you need
to run ld.config as root or something? I normally
just add /usr/local/lib to my LD_LIBRARY_PATH.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the Gdal-dev
mailing list