You are not logged in.

#1 2015-12-19 01:17:30

Jack_CM
Member
Registered: 2012-02-10
Posts: 55

ModelSim - Error in startup script

Hello, I'm trying to make ModelSim-Altera Edition working on Arch Linux.
I'm following this  tutorial (owith a slightly different procedure though) and I managed to install ModelSim.
I managed to make it compatible with the kernel 4.x and with ncurses (I used an  PKGBUILD based on this)
When then I try to run visim, I got

$ vsim
Error in startup script: 
Initialization problem, exiting.

Initialization problem, exiting.

    while executing
"InitializeINIFile quietly"
    invoked from within
"ncFyP12 -+"
    (file "/mtitcl/vsim/vsim" line 1)
** Fatal: Read failure in vlm process (0,0)

which leads me to think about freetype2 error. Again, I tried to follow the tutorial by sim-linking

libfreetype.so
libfreetype.so.6
libfreetype.so.6.10.2

in

~/altera/15.1/modelsim_ase/lib

and then adding

export LD_LIBRARY_PATH=~/altera/15.1/modelsim_ase/lib/ 

in the script, but I still get the same error

some maybe usefull info:

uname -a                                                                                                                                                  
Linux arch-box 4.3.3-1-ck #1 SMP PREEMPT Tue Dec 15 04:51:48 EST 2015 x86_64 GNU/Linux
pacman -Qo /usr/lib/libfreetype.so 
/usr/lib/libfreetype.so is owned by freetype2-infinality-ultimate 2.6.2-4

Please let me know if I should provide any additional information

Offline

#2 2015-12-19 18:09:57

Jack_CM
Member
Registered: 2012-02-10
Posts: 55

Re: ModelSim - Error in startup script

As side note, I actually compiled the freetype2 2.5.0.1-1 package, thanks to the PKGBUILD hereby provided

Offline

#3 2017-05-05 13:44:13

Binabik
Member
Registered: 2017-04-20
Posts: 8

Re: ModelSim - Error in startup script

I had the same issue today but actually, the explanation in the Arch Wiki: Altera Design Software worked quite well for me. In my case, ModelSim is installed as 32 bit version so I had to downgrade the multilib/lib32-freetype2 package. For everyone else running into this issue Arch Wiki: Arch Build System explains how to do so.

Offline

#4 2017-05-06 12:35:58

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: ModelSim - Error in startup script

You don't need to bump old topics to let people know that the information is available on the wiki -- checking the wiki should be the first port of call..

https://wiki.archlinux.org/index.php/Co … bumping.22

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB