2.3.4 ./configure failure: error: cannot run C++ compiled programs

Holger Joukl Holger.Joukl at LBBW.de
Tue Jun 1 05:11:59 EDT 2004


>However, configure
>fails on all machines with the following message
>
>=============
>configure: error: cannot run C++ compiled programs.
>If you meant to cross compile, use `--host'.
>See `config.log' for more details.
>=============
Hi,
Is your LD_LIBRARY_PATH set so that libstdc++.so can be found
(during the configure run)?
Try compiling a small c++ program and then run it. If this fails too with
s.th. like this:
$ ./a.out
ld.so.1: ./a.out: fatal: libstdc++.so.2.10.0: open failed: No such file or
directory
Killed
you should set LD_LIBRARY_PATH while you run configure.
(Note: Maybe there is some other solution like giving a command-line
parameter for the necessary paths to configure, but I do not know that....)
G
  H.

Der Inhalt dieser E-Mail ist vertraulich. Falls Sie nicht der angegebene
Empfänger sind oder falls diese E-Mail irrtümlich an Sie adressiert wurde,
verständigen Sie bitte den Absender sofort und löschen Sie die E-Mail
sodann. Das unerlaubte Kopieren sowie die unbefugte Übermittlung sind nicht
gestattet. Die Sicherheit von Übermittlungen per E-Mail kann nicht
garantiert werden. Falls Sie eine Bestätigung wünschen, fordern Sie bitte
den Inhalt der E-Mail als Hardcopy an.

The contents of this  e-mail are confidential. If you are not the named
addressee or if this transmission has been addressed to you in error,
please notify the sender immediately and then delete this e-mail.  Any
unauthorized copying and transmission is forbidden. E-Mail transmission
cannot be guaranteed to be secure. If verification is required, please
request a hard copy version.





More information about the Python-list mailing list