Opened 14 years ago

Closed 14 years ago

#23849 closed defect (fixed)

lincity-ng @2.0_2 fails to load/link library physfs @2.0.0_0

Reported by: s9daallw@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: physfs

Description (last modified by mf2k (Frank Schima))

Starting lincity-ng gives this Error
dyld: Library not loaded: libphysfs.1.dylib
  Referenced from: /opt/local/bin/lincity-ng
  Reason: image not found
Trace/BPT trap

Change History (6)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Port: lincity-ng, physfslincity-ng physfs

Try rebuilding lincity-ng.

sudo port uninstall lincity-ng
sudo port install lincity-ng

comment:2 Changed 14 years ago by mf2k (Frank Schima)

Port: physfs removed

I just tried and it did not work. I see the same error. It looks like we may need to create a physfs1 port until lincity-ng get updated for physfs 2.

comment:3 Changed 14 years ago by s9daallw@…

I beliebe this is a pure linking problem. I linked static to libphysfs.a and the game started and i was able to play. Also, i run otool -L and it looks like the game has forgotten were to find libphysfs.1.dylib.

...
/opt/local/lib/libSDL_gfx.13.dylib (compatibility version 19.0.0, current version 19.2.0)
libphysfs.1.dylib (compatibility version 1.0.0, current version 2.0.0)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
...

comment:4 Changed 14 years ago by tobypeterson

Port: physfs added; lincity-ng removed

Obviously not a bug in lincity-ng, physfs just has a bad install_name

comment:5 Changed 14 years ago by s9daallw@…

Putting a link /opt/local/bin/libphysfs.1.dylib -> /opt/local/lib/libphysfs.1.dylib is another not proper fix.

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Should be fixed by r64576 and r64577.

Note: See TracTickets for help on using tickets.