Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#15894 closed defect (invalid)

php5 5.2.6_1 Run Error - Library not loaded

Reported by: martin@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: php5 libpng Cc:
Port:

Description

Installed: php5 5.2.6_1 libpng 1.2.29_0

When attempting to run php from command line I get the following error:

dyld: Library not loaded: /opt/local/lib/libpng12.0.dylib
  Referenced from: /opt/local/bin/php
  Reason: Incompatible library version: php requires version 30.0.0 or later, but libpng12.0.dylib provides version 19.0.0
Trace/BPT trap

I have uninstalled and reinstalled libpng but it does not solve the problem.

Change History (5)

comment:1 Changed 16 years ago by raimue (Rainer Müller)

Owner: changed from macports-tickets@… to ryandesign@…

Assigning to maintainer.

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Do you have another libpng in /usr/local/lib or maybe /sw/lib? If so, remove it and rebuild php5. If that's not it, please attach your config.log.

comment:3 Changed 16 years ago by martin@…

This turns out to be a problem with the library path on my system. I have MAMP installed and those libraries are used instead. I need to fix my paths.

Feel free to close this ticket since this is not an issue with libpng installed by MacPorts.

Thank you.

comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.