Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting error while loading share libraries libmpfr.so #205

Open
EdrisBorne opened this issue Feb 8, 2024 · 0 comments
Open

getting error while loading share libraries libmpfr.so #205

EdrisBorne opened this issue Feb 8, 2024 · 0 comments

Comments

@EdrisBorne
Copy link

I am trying to use this repository to generate a bitstream for my FPGA. When I first try to run the command on our sever (so I am not the sudo):

make CONFIG=rocket64b1 BOARD=vc707 bitstream I get java.lang.IllegalArgumentException: requirement failed: Failed to run dtc; is it in your path?

Although it is on my path:

which dtc
/tools/xilinx/Vitis_2023.1/Vitis/2023.1/bin/dtc

Then I tried using the conda environment, i.e. :

conda activate base

and when I run the make bitstream command again I get:

/vivado-risc-v/workspace/gcc/riscv/bin/riscv64-unknown-elf-gcc -march=rv64imac -mabi=lp64 -mcmodel=medany -Os -ffunction-sections -Wall -fno-pic -fno-common -g -I. -DDEVICE_TREE='"system.dtb"' -static -nostartfiles -T bootrom.lds -Wl,--gc-sections -o bootrom.elf head.S kprintf.c bootrom.c ff.c ffunicode.c
/vivado-risc-v/workspace/gcc/riscv/bin/../libexec/gcc/riscv64-unknown-elf/7.2.0/cc1: error while loading shared libraries: libmpfr.so.6: cannot open shared object file: No such file or directory

I search for libmpfr.so on different directories and found some. But I am not sure how to fix the problem. Any comments would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant