executable fatal error message

Chris_Whitlock@dom.com Chris_Whitlock@dom.com
Mon Apr 1 13:11:00 GMT 2002


We receive the following result when running a test program called xx that
was compiled with gcc version 2.95 on a Sun Solaris 7 Server:

     # ./xx
     ld.so.1: ./xx: fatal: libovw.so.2: open failed: No such file or
directory
     Killed

The executable was created with the following gcc statement (this statement
executes without error).  Note the libovw.so.2 file is in the $OV_LIB
directory and the ovw.h file is in the $OV_HEADER/OV directory:

     #gcc -I$OV_HEADER -o xx xx.c -L$OV_LIB -lovw

Below is the code for our program:

     # more xx.c
     #include <OV/ovw.h>
     void *userData;
     OVwEventType type;
     OVwBoolean normalEnd;
     main()
     {
       int ret;
       if (OVwInit() < 0) {
         printf("application couldnt initialize with OVW\n");
         exit(1);
       }
       printf("OVW is terminating, so are we\n");
       OVwDone();
       exit(0);
     }

Any thoughts or ideas, good or bad would be appreciated.  We are stumped.

Thank you,
Chris.



More information about the Gcc-bugs mailing list