This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Static library for gcc compiling
- From: "Meng-Hsueh Chiang" <mhchiang at mail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 30 Jul 2003 22:01:39 -0500
- Subject: Static library for gcc compiling
I am getting undefined symbol (_dlclose, _dlopen, _dlsym) errors
from gcc compiling.
If I added -ldl after gcc to resolve the issue, it said
"ld: fatal: library -ldl: not found"
because Sun didn't include a static version of `libdl.a' in /usr/lib.
Does anyone know where I can get the file libdl.a for Solaris?
or is there any workaround solution?
Thanks a lot in advance!