libtool: error: cannot build a shared library See the libtool documentation for more information. Fatal configuration error. #170
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
I compiled libtool myself because Ubuntu has an older or broken version and using
CC=/home/spaceboyross/BlueSkyOS/modules/syscore/./src/rootfs/bin/musl-gcc --prefix=/home/spaceboyross/BlueSkyOS/modules/syscore/./src/rootfs --exec-prefix=/home/spaceboyross/BlueSkyOS/modules/syscore/./src/rootfs/usr --with-system-libdir=/home/spaceboyross/BlueSkyOS/modules/syscore/./src/rootfs/lib:/home/spaceboyross/BlueSkyOS/modules/syscore/./src/rootfs/usr/lib --with-system-includedir=/home/spaceboyross/BlueSkyOS/modules/syscore/./src/rootfs/usr/include --host=x86_64 --target=x86_64 CFLAGS="-shared"
in the configuration causes:I have to add
CFLAGS="-shared"
or else there will be an error saying that it cannot be linked (causesconfigure: error: C compiler cannot create executables
without shared enabled because I use musl for the libc in my distro called BlueSkyOS, Version 0.2.0-beta).you are doing weird things with your toolchain, this isn't the appropriate place for support. maybe try contacting the musl list for help with your toolchain.