compile problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joxtoby
    New Member
    • Dec 2006
    • 4

    compile problem

    hi, I have a C++ source code (multiple source files) that compiles just fine on my Linux server at work, however when I try to run the .exe on a different server I get an error that it can't find a shared object file. Unfortunately I don't have root priveleges on the new server and therefore can't put the missing file on the new server. My question is: is it possible to compile the source code on the original server and then copy the missing shared object file into a local directory on the new server and have the .exe file access it from that directory, and if this is possible, how do I do this? I'm using gcc to compile the program, and apparently it's two different versions from one server to the next, hence the missing shared object file. I have tried compiling the source code on the new server however for some reason it is not working, it's the same makefile as I used on the original server but for some reason the object files are not being created on the new server.
    I hope I have explained this sufficiently, and that someone might have a solution.

    many thanks
    Jon
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    If the objects are not being produced then there should be some sort of error output. If we could see this output and the code that would help.

    Comment

    • joxtoby
      New Member
      • Dec 2006
      • 4

      #3
      Thanks, got it figured out, apparently there's an issue with the new server and gcc was not properly installed/configured. The compile is working fine now.

      thanks,
      Jon

      Comment

      Working...