#26492 closed defect (duplicate)
php crashes due to incompatible library required by ldap
Reported by: | ingo@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | jyrkiwahlstedt | |
Port: | php5 |
Description
In Eclipse, using the PHP development tools (PDT) one can configure PHP executables for various tasks. When I link to my macports PHP binary Eclipse returns with a crash report. I guess it's trying to validate the executable. The crash results in not being able to use the executable in Eclipse.
The crash report hints at an issue with OS X's LDAP framework. Now I don't need LDAP support, and I guess most other users don't either. Even php.net states that it is not installed by default [1]. How about making LDAP support a variant or additional port instead of hardcoding it in the portfile?
Attachments (2)
Change History (8)
Changed 14 years ago by ingo@…
Attachment: | crash_report.txt added |
---|
comment:2 Changed 14 years ago by mf2k (Frank Schima)
Cc: | jwa@… added; ingo@… removed |
---|---|
Keywords: | php5 ldap removed |
Owner: | changed from macports-tickets@… to ryandesign@… |
comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
As a workaround, I think it should work if you either make sure both cyrus-sasl2 and openldap ports are installed and then rebuild php5, or make sure both openldap and cyrus-sasl2 ports are uninstalled and then rebuild php5. This ticket is basically saying the same thing as #20492.
comment:4 Changed 14 years ago by ingo@…
The workaround indeed did work. I installed openldap and rebuilt php5.
However, I don't see a workaround as a real solution. I also stumbled over #20492 too, which is why I suggested to create php5-ldap like the other ports in #19091. I guess creating such a port wouldn't take too much effort.
Installing software we don't need shouldn't be the solution, that's why we are getting Macs after all...
comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Agree with all you wrote. #20492 remains open until the issue is resolved.
crash report