New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #26492 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

php crashes due to incompatible library required by ldap

Reported by: ingo@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: jwa@…
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?

[1] http://www.php.net/manual/en/ldap.installation.php

Attachments

crash_report.txt (2.2 KB) - added by ingo@… 3 years ago.
crash report
ports_installed.txt (5.1 KB) - added by ingo@… 3 years ago.
installed ports

Change History

Changed 3 years ago by ingo@…

crash report

Changed 3 years ago by ingo@…

installed ports

comment:1 Changed 3 years ago by ingo@…

  • Cc ingo@… added

Cc Me!

comment:2 Changed 3 years ago by macsforever2000@…

  • Owner changed from macports-tickets@… to ryandesign@…
  • Cc jwa@… added; ingo@… removed
  • Keywords php5, ldap removed

comment:3 Changed 3 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to duplicate

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 3 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 3 years ago by ryandesign@…

Agree with all you wrote. #20492 remains open until the issue is resolved.

comment:6 Changed 3 years ago by ingo@…

ok, thanks for your time and support!

best Ingo

Note: See TracTickets for help on using tickets.