Re: [PHP] Undefined symbol "ssl_onceonlyinit"

2009-08-08 Thread Ebbe Hjorth
2009/8/8 Adam Randall 

> I wonder if it's downloading the imap.so as a binary instead of source
> (or php as a binary instead of source). But this is the reason you are
> getting the errors. It has to do with the shared libraries at build
> time not matching the shared libraries at runtime (eg the symbol in
> the shared library I'm expecting is not in the shared library I am
> using).
>
> You know, looking at the error messages that you posted again I now
> realize that the incompatability is not between imap and php, but imap
> and /libexec/ld-elf.so.1. That's where you need to look it seems.
>


Im not that experienced that i know what do to with that!? :-(


>
> Adam.
>
> On Sat, Aug 8, 2009 at 1:34 AM, Ebbe Hjorth wrote:
> > Hi,
> >
> > Sounds like mac ports and freebsd ports i kinda the same.
> >
> > I tried deinstalling the extensions ports, and reinstalling it, meaning
> it
> > all gets build from source once more, and it didnt help.
> >
> >
> > / Ebbe
> >
> > 2009/8/8 Adam Randall 
> >>
> >> While I haven't used FreeBSD, the message you are getting basically
> >> means that when the imap.so was built it was against a different,
> >> incompatible version of PHP. I'm going to assume that the freebsd
> >> ports is related to my Mac Ports, which I think is based off it. If
> >> that's true, then ports is downloading and building PHP from source.
> >> If the imap.so was downloaded as a binary, or not rebuilt when php was
> >> last built, you will get this symbol mismatch. If possible, rebuild
> >> imap from source against your currently installed PHP and that should
> >> resolve it for you.
> >>
> >> Adam.
> >>
> >> On Sat, Aug 8, 2009 at 1:06 AM, Ebbe Hjorth
> wrote:
> >> > Hi,
> >> >
> >> > I just installed FreeBSD 7.2, Apache 2.2, php5-5.2.10 and
> >> > php5-extensions
> >> > 1.3, all from the freebsd ports.
> >> >
> >> > When i try to start apache with the imap.so extension enabled in
> >> > extensions.ini, i get the error
> >> > /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined
> >> > symbol
> >> > "ssl_onceonlyinit"
> >> >
> >> > I tried to google it, but all i get is an old bug from 2002.
> >> >
> >> > Please help ;)
> >> >
> >> > Thanks, Ebbe, Denmark
> >> >
> >>
> >>
> >>
> >> --
> >> Adam Randall
> >> http://www.xaren.net
> >> AIM: blitz574
> >
> >
>
>
>
> --
>  Adam Randall
> http://www.xaren.net
> AIM: blitz574
>


Re: [PHP] Undefined symbol "ssl_onceonlyinit"

2009-08-08 Thread Adam Randall
I wonder if it's downloading the imap.so as a binary instead of source
(or php as a binary instead of source). But this is the reason you are
getting the errors. It has to do with the shared libraries at build
time not matching the shared libraries at runtime (eg the symbol in
the shared library I'm expecting is not in the shared library I am
using).

You know, looking at the error messages that you posted again I now
realize that the incompatability is not between imap and php, but imap
and /libexec/ld-elf.so.1. That's where you need to look it seems.

Adam.

On Sat, Aug 8, 2009 at 1:34 AM, Ebbe Hjorth wrote:
> Hi,
>
> Sounds like mac ports and freebsd ports i kinda the same.
>
> I tried deinstalling the extensions ports, and reinstalling it, meaning it
> all gets build from source once more, and it didnt help.
>
>
> / Ebbe
>
> 2009/8/8 Adam Randall 
>>
>> While I haven't used FreeBSD, the message you are getting basically
>> means that when the imap.so was built it was against a different,
>> incompatible version of PHP. I'm going to assume that the freebsd
>> ports is related to my Mac Ports, which I think is based off it. If
>> that's true, then ports is downloading and building PHP from source.
>> If the imap.so was downloaded as a binary, or not rebuilt when php was
>> last built, you will get this symbol mismatch. If possible, rebuild
>> imap from source against your currently installed PHP and that should
>> resolve it for you.
>>
>> Adam.
>>
>> On Sat, Aug 8, 2009 at 1:06 AM, Ebbe Hjorth wrote:
>> > Hi,
>> >
>> > I just installed FreeBSD 7.2, Apache 2.2, php5-5.2.10 and
>> > php5-extensions
>> > 1.3, all from the freebsd ports.
>> >
>> > When i try to start apache with the imap.so extension enabled in
>> > extensions.ini, i get the error
>> > /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined
>> > symbol
>> > "ssl_onceonlyinit"
>> >
>> > I tried to google it, but all i get is an old bug from 2002.
>> >
>> > Please help ;)
>> >
>> > Thanks, Ebbe, Denmark
>> >
>>
>>
>>
>> --
>> Adam Randall
>> http://www.xaren.net
>> AIM: blitz574
>
>



-- 
Adam Randall
http://www.xaren.net
AIM: blitz574

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Undefined symbol "ssl_onceonlyinit"

2009-08-08 Thread Ebbe Hjorth
Hi,

Sounds like mac ports and freebsd ports i kinda the same.

I tried deinstalling the extensions ports, and reinstalling it, meaning it
all gets build from source once more, and it didnt help.


/ Ebbe

2009/8/8 Adam Randall 

> While I haven't used FreeBSD, the message you are getting basically
> means that when the imap.so was built it was against a different,
> incompatible version of PHP. I'm going to assume that the freebsd
> ports is related to my Mac Ports, which I think is based off it. If
> that's true, then ports is downloading and building PHP from source.
> If the imap.so was downloaded as a binary, or not rebuilt when php was
> last built, you will get this symbol mismatch. If possible, rebuild
> imap from source against your currently installed PHP and that should
> resolve it for you.
>
> Adam.
>
> On Sat, Aug 8, 2009 at 1:06 AM, Ebbe Hjorth wrote:
> > Hi,
> >
> > I just installed FreeBSD 7.2, Apache 2.2, php5-5.2.10 and php5-extensions
> > 1.3, all from the freebsd ports.
> >
> > When i try to start apache with the imap.so extension enabled in
> > extensions.ini, i get the error
> > /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined
> symbol
> > "ssl_onceonlyinit"
> >
> > I tried to google it, but all i get is an old bug from 2002.
> >
> > Please help ;)
> >
> > Thanks, Ebbe, Denmark
> >
>
>
>
> --
> Adam Randall
> http://www.xaren.net
> AIM: blitz574
>


[PHP] Undefined symbol "ssl_onceonlyinit"

2009-08-08 Thread Ebbe Hjorth
Hi,

I just installed FreeBSD 7.2, Apache 2.2, php5-5.2.10 and php5-extensions
1.3, all from the freebsd ports.

When i try to start apache with the imap.so extension enabled in
extensions.ini, i get the error
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol
"ssl_onceonlyinit"

I tried to google it, but all i get is an old bug from 2002.

Please help ;)

Thanks, Ebbe, Denmark