RE: [PHP] Bizarre problem.
| From: | Ford, Mike [LSS] | Date: | Thu, 21 Feb 2002 12:21:27 +0000 |
| Subject: | RE: [PHP] Bizarre problem. | ||
| Groups: | php.general php.install | ||
| Request: | Send a blank email to php-install+get-6100@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Andres Plaza R. [mailto:apl@mafia.cl]
> Sent: 20 February 2002 20:55
[...]
>
> BUT, the other day I used vi to see the debug.log, and the error
> appears like this:
>
> gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208105
> -DUSE_HSREGEX -DEAPI -Wl,-rpath,/usr/local/ssl/lib
> -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/lib
> -L/usr/local/lib -Wl,-rpath,/usr/local/oracle/8.0.5/lib
> -L/usr/local/oracle/8.0.5/lib conftest.c -lclntsh -lpsa
> -lcore4 -lnlsrtl3 -lm^M -lnsl -lgd -lcurl -ldl -lcrypto -lssl
> -lcurl -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl
> -lresolv -lcrypt 1>&5
> /usr/bin/ld: cannot find -lm^M
> collect2: ld returned 1 exit status
>
> You will notice that there is a ^M after -lm ! And, of
> course, ld
> didn't find -lm^M . :-)
>
> Obviously, I edited the configure file, but there's no ^M.
Well, ^M is a representation of the carriage-return character -- the fact that it's not being
displayed by your editor suggests that, in fact, it *is* a carriage-return which is being suppressed
on the grounds that it's an "invisible" position-control character.
Look for an option in your editor to display "invisible" characters, or a handy utility
that will strip out unwanted characters. (Sorry, I'm not a UNIX guru so can't suggest
anything more concrete!)
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211