Can you send your errors or maybe include the interesting parts of an strace?


On 9/2/10 6:20 PM, Chris Abnett wrote:
> I figured out a way to bypass this.. and got php to compile where it showed
> dlopen yes during configure..  but then during runtime on the target I got
> libso errors  trying to run php..  so it may have built but would not then
> run....
>
> Googling last night found that php was never designed for cross-compiling
> out of the box..  my guess is that's why it is in the configure script that
> way..  my guess is there is issues with libdl.
>
> -Christopher
>
>
> -----Original Message-----
> From: Philip Prindeville [mailto:[email protected]]
> Sent: Thursday, September 02, 2010 9:10 PM
> To: [email protected]
> Subject: Re: [Astlinux-users] php Dynamic library support?
>
>    This is breakage in PHP. From configure:
>
>     if test "$found" = "yes"; then
>       ac_libs=$LIBS
>       LIBS="$LIBS -ldl"
>       if test "$cross_compiling" = yes; then
>     found=no
> else
>
>
>
>
> On 9/2/10 9:17 AM, Chris Abnett wrote:
>> It seems my issue is stemming from the fact that dlopen is not available
> in astlinux?
>> / /I even tried running a custom build with gcc on it to see if I could
> custom compile php right on my astlinux system.
>> When I do a configure it still comes up with dlopen as unavailable.. I see
> where astlinux appears to build libdl..
>> Not sure where to go next??
>>
>> -Christopher
>>
>> *From:* Chris Abnett [mailto:[email protected]]
>> *Sent:* Wednesday, September 01, 2010 10:30 AM
>> *To:* 'AstLinux Users Mailing List'
>> *Subject:* [Astlinux-users] php Dynamic library support?
>>
>> How do I enable dynamic library support in the php5 that is used in
> astlinux?
>> Phpinfo shows dynamic library support not available under 'standard'
>>
>> I have tried the usual enable_dl in my php.ini which phpinfo shows turned
> on..
>> I looked at the configure options in my package/php5/Makefile and nothing
> looks out of ordinary..
>> There seems to be little on the subject when googling for hours.. so I
> thought I might ask someone who has done more php
>> Compiling than I have.
>>
>> Im using the port 80 http server of mini_httpd, should I be using
> lighthttpd instead?
>> -Christopher
>>
>>
>


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to