-rwxr-xr-x 1 root root 444104 2006-06-08 04:09 ld
You would think that would allow me to execute it as a normal user. The only thing I shouldn't be able to do as non-root, non-root-group member is write it, but...
I was going to copy and paste the output to prove that it didn't do it, but when I tested it this time, it did work. I swear that the error said it couldn't find /usr/bin/ld. I just did ls, saw it there, with the root ownership, and then ran sudo fpc sockser.pas, and the error went away.
Micha Nelissen wrote 21 lines
Rick Seiden wrote:
> I emailed yesterday about an error when compiling in Linux. The error I
> received was "Error while linking."
>
> I figured out that the permissions on /usr/bin/ld is set to root, and
> I'm logged in as a different user. When I sudo fp to start Free Pascal,
> I am able to compile without a problem.
>
What are the permissions exactly ? You should be able to execute ld as
normal user at least.
Micha
_______________________________________________
fpc-pascal maillist -
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
If you never have the courage to lose sight of the shore,
You'll never know the utter terror of being forever lost at sea