#44294 [Com]: Undefined symbols with libxml2
| From: | rdohms at gmail dot com | Date: | Sat, 18 Jul 2009 23:20:07 +0000 |
| Subject: | #44294 [Com]: Undefined symbols with libxml2 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-139908@lists.php.net to get a copy of this message | ||
ID: 44294
Comment by: rdohms at gmail dot com
Reported By: danval at gmail dot com
Status: No Feedback
Bug Type: Compile Failure
Operating System: Mac 10.5 Leopard Client
PHP Version: 5.*, 6CVS (2009-07-09)
Assigned To: fb-req-jani
New Comment:
Jani.
Adding /lib was the only way i got it working.. otherwise it skipped
those dirs and kep hamerring /usr/lib which is the next in line, like
here:
cc -bundle -bundle_loader /Applications/Server/Apache2/bin/httpd
-L/usr/lib -L/usr/lib -laprutil-1...
What i have been doing to compile succesfully is altering to this
cc -bundle -bundle_loader /Applications/Server/Apache2/bin/httpd
-L/opt/xml/lib -L/opt/local/lib -L/usr/lib -L/usr/lib -laprutil-1...
This was gwyne's suggestion and it works great.
After I enabled OpenSSL i got evem more of these, hence the
/opt/local/lib i also placed there.
As for versions, i have reproduced these today on:
PHP_5_3, PHP_5_2 and trunk, straight from SVN
I'm rdohms on php.pecl if you want to chat about this
Previous Comments:
------------------------------------------------------------------------
[2009-07-17 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2009-07-09 20:43:44] jani@php.net
And if you change the version, add a note about it. Now there's no way
to know what version you reported this with, what version it works
with..etc.
------------------------------------------------------------------------
[2009-07-09 20:41:49] jani@php.net
Remove the /lib from those paths. "rdohms at gmail dot com": Where did
you get the idea it's okay to pass that anywhere?!
------------------------------------------------------------------------
[2009-06-22 13:49:51] rdohms at gmail dot com
actualy sorry.
I had --with-libxml-dir declared.
Tried running it with --enable-xmlreader-/opt/xml/lib, just like the
above setting and it broke on the same place as before.
------------------------------------------------------------------------
[2009-06-22 13:31:48] rdohms at gmail dot com
@chregu
My ./configure had that and it pointed to /opt/xml/lib .. this only
stopped the error for the CLI compile.. not the libphp5.so command. On
that one i still had to add the -L directive stated above
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/44294
--
Edit this bug report at http://bugs.php.net/?id=44294&edit=1