This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]