Opened 18 years ago

Closed 18 years ago

Last modified 16 years ago

#11822 closed defect (fixed)

php4 depends upon libtool's

Reported by: blair (Blair Zajac) Owned by: jyrkiwahlstedt
Priority: High Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description

Installing Xcode on a box appears to install /usr/lib/libltdl.3.dylib which php links against:

$ otool -L libphp4.so                
libphp4.so: 
        /opt/local/lib/libaprutil-0.0.dylib (compatibility version 10.0.0, current version 10.13.0) 
        /opt/local/lib/db44/libdb-4.4.dylib (compatibility version 0.0.0, current version 0.0.0) 
        /opt/local/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.0.0) 
        /opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) 
        /opt/local/lib/libapr-0.0.dylib (compatibility version 10.0.0, current version 10.13.0) 
        /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 324.13.0) 
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4) 
        /usr/lib/libiodbc.2.1.6.dylib (compatibility version 4.0.0, current version 4.6.0) 
        /opt/local/lib/mysql/libmysqlclient.14.dylib (compatibility version 15.0.0, current version 15.0.0) 
        /opt/local/lib/libmhash.2.dylib (compatibility version 3.0.0, current version 3.1.0) 
        /opt/local/lib/libmcrypt.4.dylib (compatibility version 9.0.0, current version 9.7.0) 
        /usr/lib/libltdl.3.dylib (compatibility version 5.0.0, current version 5.0.0) 
        /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP (compatibility version 1.0.0, current version 2.1.0) 
        /opt/local/lib/libintl.8.dylib (compatibility version 9.0.0, current version 9.1.0) 
        /opt/local/lib/libfreetype.6.dylib (compatibility version 10.0.0, current version 10.8.0) 
        /opt/local/lib/libpng.3.dylib (compatibility version 20.0.0, current version 20.0.0) 
        /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3) 
        /opt/local/lib/libjpeg.62.dylib (compatibility version 63.0.0, current version 63.0.0) 
        /opt/local/lib/libcurl.4.dylib (compatibility version 5.0.0, current version 5.0.0) 
        /opt/local/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8) 
        /opt/local/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8) 
        /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos (compatibility version 5.0.0, current version 5.0.0) 
        /opt/local/lib/libxml2.2.dylib (compatibility version 9.0.0, current version 9.27.0) 

The problem is if you rsync/tar or copy a MacPorts build from one system to another that doesn't have Xcode installed, then php will not run on the other system.

So this patch adds libtool to depends_lib.

This may be an issue with php5, but I haven't checked.

I can do the commit if you give the ok, and let me know if ph5 also links against libltdl, and I can fix that one also.

Regards, Blair

Attachments (1)

php4-libtool-patch.txt (541 bytes) - added by blair (Blair Zajac) 18 years ago.

Download all attachments as: .zip

Change History (4)

Changed 18 years ago by blair (Blair Zajac)

Attachment: php4-libtool-patch.txt added

comment:1 Changed 18 years ago by pipping@…

Milestone: Port Bugs

comment:2 Changed 18 years ago by jyrkiwahlstedt

Resolution: fixed
Status: newclosed

committed, thanks for finding this!

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.