Opened 13 years ago

Closed 13 years ago

#29491 closed defect (fixed)

iulib: libiulib.dylib has wrong install_name

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: haspatch Cc: jason@…
Port: iulib

Description

$ port provides /opt/local/lib/libiulib.dylib
/opt/local/lib/libiulib.dylib is provided by: iulib
$ otool -L /opt/local/lib/libiulib.dylib
/opt/local/lib/libiulib.dylib:
	libiulib.dylib (compatibility version 0.0.0, current version 0.0.0)
	/opt/local/lib/libpng14.14.dylib (compatibility version 22.0.0, current version 22.0.0)
	/opt/local/lib/libjpeg.8.dylib (compatibility version 12.0.0, current version 12.0.0)
	/opt/local/lib/libtiff.3.dylib (compatibility version 13.0.0, current version 13.4.0)
	/opt/local/lib/libSDL-1.2.0.dylib (compatibility version 12.0.0, current version 12.3.0)
	/opt/local/lib/libSDL_gfx.13.dylib (compatibility version 23.0.0, current version 23.0.0)
	/opt/local/lib/libSDL_image-1.2.0.dylib (compatibility version 9.0.0, current version 9.2.0)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.10)

The library's install_name should be "/opt/local/lib/libiulib.dylib", not just "libiulib.dylib".

Attachments (1)

patch-SConstruct.diff (1.3 KB) - added by jason@… 13 years ago.
updated SConstruct that allows tests to run in the work tree

Download all attachments as: .zip

Change History (5)

comment:1 Changed 13 years ago by jason@…

I fixed this but it requires that the Portfile remove the test suite:

build.args          test=yes

Ihe test programs will now expect that the dylib is located at /opt/local/lib/libiulib.dylib Is there some way to pass options to the test programs so that they use the dylib in the work tree? I searched but couldn't find a solution

Changed 13 years ago by jason@…

Attachment: patch-SConstruct.diff added

updated SConstruct that allows tests to run in the work tree

comment:2 Changed 13 years ago by jason@…

The latest patch-SConstruct.diff allows the test to run when in the work tree so no modification of the Portfile is required

comment:3 in reply to:  2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Replying to jason@…:

The latest patch-SConstruct.diff allows the test to run when in the work tree

Thanks!

so no modification of the Portfile is required

Except increasing its revision, to invite users to upgrade.

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

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.