Re: error loading shared libraries



none <none@all> writes:

> i added the path to LD_LIBRARY_PATH.

Please do not top-post.

> ./dem3dmap: error while loading shared libraries: libglut.so.3: cannot
> open shared object file: No such file or directory
....
> please help i am pulling out my hair!

Post output from the following commands:

env | grep LD_LIBRARY_PATH
uname -a # I suspect you are on Linux, but you have not stated this

# if you are on Linux:
strace -e trace=open ./dem3dmap

# if on Solaris
truss -t open ./dem3dmap

ls -l /absolute/path/to/libglut.so.3
wc -c /absolute/path/to/libglut.so.3

>From the output above we ought to be able to tell you exactly what
you are doing wrong.

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
.



Relevant Pages

  • error while installing wxGTK rpm
    ... linux on fc6. ... cannot open shared object file: ...
    (RedHat)
  • Re: linux-quake4 (short and sweet, again)
    ... FreeBSD 7.0-RELEASE i386 GENERIC ... libSDL-1.2.id.so.0: cannot open shared object file: No such file or directory ... finds which is a linux one. ...
    (freebsd-questions)
  • Re: Error while executing compiled code on linux
    ... alone executable and when I am trying to run these on linux ... cannot open shared object file: ... There are a bunch of shared libraries you need to point ...
    (comp.soft-sys.matlab)
  • [SLE] Problems after update
    ... "Update all package versions on your suse linux 10.0 machine" found on the Novell site. ... xauth: error while loading shared libraries: libXext.so.6: cannot open shared object file: No such file or directory ...
    (SuSE)
  • Re: cannot install Maple95 on FC5
    ... Extracting the installation resources from the installer archive... ... dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory ...
    (Fedora)