relocaton error

From: Stefan Hinterstoisser (supersteveee_at_gmx.de)
Date: 08/28/03


Date: Thu, 28 Aug 2003 16:50:24 +0200


I have the following problem:
if I want to execute an executable(compiling and building work without any
problems)

<name_of_executable>:relocation error:
/usr/proj/evi/ExternalSoftware/Halcon/halcon/lib/i586-linux2.2/libhalcon.so
undefined symbol: stat

my LD_LIBRARY_PATH is: bla...bla...
/usr/proj/evi/ExternalSoftware/Halcon/halcon/lib/i586-linux2.2...bla

and the LIB path I have in my Makefile is
/usr/proj/evi/ExternalSoftware/Halcon/halcon/lib/i586-linux2.2

my question:
What is wrong???? Does anybody know what I can do to make the executable
executable?

Thanx in advance
Stefan Hinterstoisser



Relevant Pages

  • Re: relocation error: undefined symbol: stat
    ... it's the C library and compiler versions that ... > It couldn't execute. ... Run 'nm -D' on the library and look for stat. ... Printing on GNU/Linux? ...
    (comp.os.linux.development.apps)
  • Re: "stat" like tool for Solaris
    ... It is the file you want to get the stat structure back. ... statand so the truss output misses the desired data. ... because the file must be stat'd in order to execute it. ... What's confusing me, is that I only see one stat of "ls", and that's ...
    (comp.unix.solaris)
  • Re: "stat" like tool for Solaris
    ... It is the file you want to get the stat structure back. ... statand so the truss output misses the desired data. ... dangerous as you are now trying to execute the file you are attempting ...
    (comp.unix.solaris)
  • Re: relocaton error
    ... On 2003-08-28, Stefan Hinterstoisser wrote: ... > if I want to execute an executable(compiling and building work without any ... Looks like the undefined symbol is in the library libhalcon.so. ...
    (comp.os.linux.development.apps)
  • Re: relocation error
    ... > if I want to execute an executable(compiling and building work without any ... > undefined symbol: stat ... Check your executable and each of the dependent shared libraries with ...
    (comp.os.linux.development.system)