AnsweredAssumed Answered

How to use ModelSim on ArchLinux

Question asked by 2012029030026 on Apr 11, 2014
Latest reply on Jun 6, 2014 by ken_foster

I have installed ModelSim-Altera on my ArchLinux, x86_64 platform, and I started it with vsim. But it showed me that:

 

Error in startup script:

Initialization problem, exiting.

Initialization problem, exiting.

Initialization problem, exiting.

    while executing

"EnvHistory::Reset"

    (procedure "PropertiesInit" line 3)

    invoked from within

"PropertiesInit"

    invoked from within

"ncFyP12 -+"

    (file "/home/rodrigo/altera/13.1/modelsim_ase/linux/../tcl/vsim/vsim" line 1)

** Fatal: Read failure in vlm process (0,0)

 

I find it that the libfreetype may not be correct here: https://communities.mentor.com/message/48524 .

So, I downloaded the old version of both lib32-freetype2(32-bit) and freetype2(64-bit). I started vsim with the command 'LD_PRELOAD="usr/lib32/libfreetype.so" vsim' (using 32-bit libfreetype) and 'LD_PRELOAD="usr/lib/libfreetype.so vsim'(using 64-bit libfreetype), but it showed "ERROR: ld.so: object '/tmp/usr/lib32/libfreetype.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored." in the former one and "ERROR: ld.so: object 'usr/lib/libfreetype.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored." in the latter one.

So which is the correct libarary (32-bit or 64-bit) should I use to start ModelSim?

Outcomes