<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000099" bgcolor="#cccccc">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Hi,<br>
<br>
I'm having a problem trying to compile some code on my system.<br>
<br>
I'm currently running RH9 with kernel 2.6.0 and glibc 2.3.2--11.9 and
I'm trying to compile Perl DBI and PHP modules to interface with an
Informix database but these bomb during compilation with messages:<br>
<br>
/home/informix/lib/esql/libifgls.so: undefined reference to `__ctype_b'<br>
/home/informix/lib/esql/libifgls.so: undefined reference to
`__ctype_toupper'<br>
/home/informix/lib/esql/libifgls.so: undefined reference to
`__ctype_tolower'<br>
collect2: ld returned 1 exit status<br>
Failed to link test program esqltest<br>
<br>
I've found references to the __ctype_.... objects using nm in the
libc.so.6 shared library, but they're either terminated with the
message "@GLIBC2.0", or with "_loc", and nothing matches these
references exactly (which is why they're undefined I guess) e.g.<br>
<br>
<a href="mailto:libc.so.6:__ctype_b@GLIBC_2.0"
class="moz-txt-link-abbreviated">libc.so.6:__ctype_b@GLIBC_2.0</a>
|00131718| D |
OBJECT|00000004| |.data<br>
libc.so.6:__ctype_b_loc |000223a0| T |
FUNC|00000071| |.text<br>
libc.so.6:__ctype_get_mb_cur_max|00020af0| W |
FUNC|0000003d| |.text<br>
<a href="mailto:libc.so.6:__ctype_tolower@GLIBC_2.0"
class="moz-txt-link-abbreviated">libc.so.6:__ctype_tolower@GLIBC_2.0</a>|00131720|
D |
OBJECT|00000004| |.data<br>
libc.so.6:__ctype_tolower_loc |000224a0| T |
FUNC|00000071| |.text<br>
<a href="mailto:libc.so.6:__ctype_toupper@GLIBC_2.0"
class="moz-txt-link-abbreviated">libc.so.6:__ctype_toupper@GLIBC_2.0</a>|00131724|
D |
OBJECT|00000004| |.data<br>
libc.so.6:__ctype_toupper_loc |00022420| T |
FUNC|00000071| |.text<br>
<br>
I'm not a programmer, so this may be a stupid question, but is there a
way in which I can get this esqltest program to resolve the references
by downloading the older version of the glibc 2.0 libraries and
installing them in /usr/local/glibc2.0, for example, and then somehow
linking these libraries instead? (if so, how? - modify the Makefile and
add /usr/local/glibc2.0 as a "-L" option...?) Are there any other
options I could try to get this code to compile. (I don't have source
for the libifgls library).<br>
<br>
Thanks in advance<br>
<br>
Rob<br>
<br>
<br>
<br>
<BR>
________________________________________________________________________<BR>
This email has been scanned for all viruses by the MessageLabs Email<BR>
Security System. For more information on a proactive email security<BR>
service working around the clock, around the globe, visit<BR>
<A
href=http://www.messagelabs.com>
http://www.messagelabs.com</A><BR>
________________________________________________________________________<BR>
</body>
</html>