shkhln / libc6-shim

Cheap glibc knockoff
MIT License
29 stars 5 forks source link

got error during the process make #2

Closed shuryanc closed 4 years ago

shuryanc commented 4 years ago

Hi Alex,

Do I miss something? I searched google but cannot find a resolution to fix the error. Installed Ruby and nvidia-driver 440.82.

mkdir -p build/lib32 cc -m32 -shared -fPIC -Wl,-soname,bsd-librt.so.1 -o build/lib32/dummy-librt.so ld: error: unable to find library -lgcc ld: error: unable to find library -lgcc cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1

Thanks.

shkhln commented 4 years ago

Do you have /usr/lib32/libgcc.a?

shuryanc commented 4 years ago

I don't have it. GCC8 to GCC10 are installed, but they don't provide it. Or should I install other package?

shkhln commented 4 years ago

It comes with the base system. Well, at least it's supposed to.

shuryanc commented 4 years ago

Ok, nevermind. Let me investigate more.

shkhln commented 4 years ago

Ahem, let's ping @ericbsd here. That's obviously a GhostBSD issue.

shuryanc commented 4 years ago

I confirmed GhostBSD doesn't ship with it to /usr/lib32 by default. I then use use "gcc10 --print-libgcc-file" to find the location of libgcc.a, then copy/link to /usr/lib32/ to fix the issue.

Thanks.