note 36724 added to ref.xslt
| From: | maximo at rn2 dot php dot net | Date: | Mon, 20 Oct 2003 12:14:19 +0000 |
| Subject: | note 36724 added to ref.xslt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-58938@lists.php.net to get a copy of this message | ||
If you are getting undefined references errors with regards to Sablotron while compiling PHP, make
sure you export LDFLAGS in your environment to contain -lstdc++
As someone suggested earlier, this must be done, however, for me, it did not work declaring it
before the configure statement, or editing the Makefile after configuring and inserting it there.
The only way it worked for me was exporting the variable to the environment.
If you use the Bash shell, then you do this as follows:
export LDFLAGS=-lstdc++
If you use the Csh shell, then you do this as follows:
setenv LDFLAGS=-lstdc++
you can then verify if it went through using the env command.
What this does is tell the configure script to specify the Makefile not to use libtool as the
linker, but use lstdc++ as a substitute. Apparently libtool is in a not-so-great version at the
moment, and until they come up with version 1.5, we will have to compile PHP with Sablotron this way
(on some systems)
----
Manual Page -- http://www.php.net/manual/en/ref.xslt.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36724
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36724&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36724&report=yes
Search -- http://master.php.net/manage/user-notes.php