loader error message, misdirection in cdrecord device missing error

[email protected] (Rob Ristroph) 19 Oct 2003 17:59:01 -0500
Newsgroups gmane.linux.usability.annoyances
Message-ID <[email protected]>
Hi,

        If you compile and link a dynamic executable on one linux
        distribution and copy it to another, sometimes you get a
        message where running the executable on the new machine gives
        "file not found."  The file it isn't finding may be
        /lib/ld-linux.so, or another part of the dynamic library
        loader.  I think it would be very helpful in this case to say
        which file isn't found -- otherwise people might go on a wild
        goose chase looking for a missing config file, trying to get
        gdb or strace installed on the new machine, etc.

        The cost of this would be a few bytes added near the beggining
        of every dynamicly linked executable on the system.

        If you are attempting to install cdrecord and burn CDs on a
        very minimal system, you may get an error about not being able
        to find /dev/pg0 or /dev/pg or something like that.  What is
        happening here (at least in my case) is that it is failing to
        find the device files for the scsi or scsi emulated cd burner,
        and then it is looking for the old device files that used to
        be used for scsi, and complaining about not finding them.  It
        should complain about not finding /dev/scd0 or something in
        addition to complaining about /dev/pg, so as not to send you
        on a wild goose chase.

--Rob