Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

djberg96 (2603)

  (email not shown publicly)

Journal of djberg96 (2603)

Friday May 02, 2003
11:59 AM

ld is a PITA

[ #11975 ]
Here I am again, swearing at my Solaris box because of yet another obscure ld error. This time it relates to the FOX gui library, FXRuby, FXScintilla and FreeRIDE.

In some ways, however, I'm inclined to blame OSS developers, who are clearly targeting Linux (and thus relying on GNU's ld) and leaving other *nix users to deal with obscure problems (like mine) on their own. Then again, maybe Sun's ld is just crappy.

Another problem, though, is that about 90% of configure scripts seem to utterly ignore the '--with-gnu-ld' option for some reason, and /usr/ccs/bin/ld gets used anyway. Often I have to do this 3 step process:

cd /usr/ccs/bin
mv ld ld.orig
ln -s /usr/local/bin/ld ld

Then I have to remember to put everything back when I'm done.


The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Things like this really make you wish that you could have a filesystem based local(), so that you could run a command and at the end, everything would just be put back as it was...


  • ...than people who chant "you need choice" and then proceed to assume GNU ld / GNU cc / GNU make / GNU configure / GNU tar / GNU cp / FHS / Linux /proc...
    • It's nothing new. When I started out on Linux ('93), all the free software assumed that you were running SunOS 4, pretty much. Before that, it was vaxen. Unfortunately, portability is a difficult thing to do right.


      • Yeah, it is not intentional. It is an accident of circumstance. Most developers -- myself included -- don't have the knowledge, experience, time, etc. to make sure it works on every platform. That is what users and patch are for.