tenox7 / micropolis

Micropolis Legacy for vintage Unix using SimCity assets
25 stars 1 forks source link

32-lib libraries required by SimCIty #3

Closed gbudny closed 1 month ago

gbudny commented 1 month ago

Hi

Does it require 32-libraires on HP-UX 11i-v3 (ia64)?

It informs me about the missing libXpm.so in a directory: /usr/lib/hpux32/dld.so. It doesn't detect the 64-bit version of this library (Depothelper).

Can you help me?

HP Integrity rx4640 HP-UX 11i-v3 (1905)

tenox7 commented 1 month ago

interesting, let me check

I'm thinking that perhaps I should integrate libXpm in to the codebase much like tcl/tk/etc

tenox7 commented 1 month ago

I see the problem, +DD64 compiler flag is needed...

tenox7 commented 1 month ago
# ldd sim

sim:
        libm.so.1 =>    /usr/lib/hpux64/libm.so.1
        libX11.so.1 =>  /usr/lib/hpux64/libX11.so.1
        libXext.so.1 => /usr/lib/hpux64/libXext.so.1
        libc.so.1 =>    /usr/lib/hpux64/libc.so.1
        libdl.so.1 =>   /usr/lib/hpux64/libdl.so.1
tenox7 commented 1 month ago

ok try this

https://github.com/tenox7/micropolis/releases/download/1.0.0/sim-hpux11iv3-ia64-64

it crashes on my system btw

tenox7 commented 1 month ago

I also updated the -32 version to use statically linked 32bit Xpm.a let me know if this works

https://github.com/tenox7/micropolis/releases/download/1.0.0/sim-hpux11iv3-ia64-32

gbudny commented 1 month ago

Hi

Thank you for the answer.

The previous 32-bit version of SimCity also requires 32 libraries:

tenox7 commented 1 month ago

ok I have built a fully 64bit version with libXpm and dependencies statically linked in, it should work now

https://github.com/tenox7/micropolis/releases/download/1.0.0/sim-hpux11iv3-ia64

tenox7 commented 1 month ago

closing as I was able to verify feel free to reopen if you still have issue running this