Bug 76402 - Can't find __ctype_b with glibc-2.3.1
Summary: Can't find __ctype_b with glibc-2.3.1
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-10-21 12:50 UTC by Jeff Johnson
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-01-09 14:18:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Jeff Johnson 2002-10-21 12:50:26 UTC
> ---test.c
>
> char rpmReadConfigFiles();
>
> int main() {
>       rpmReadConfigFiles();
>       return 0;
> }
>
> ---------
>
> When I try to compile it I obtain the next errors:
>
> seamus@sidhome:~/debian/rpm2html-1.7$ gcc -o test -g -O2 test.c -lrpm
> -lrpmio -lrpmdb -lz -lbz2 -ldb -lpopt
> /usr/lib/librpmio.a(base64.o)(.text+0x277): In function `b64dec':
> : reference to `__ctype_b' undefinied
> /usr/lib/librpmio.a(base64.o)(.text+0x373): In function `b64dec':
> : referencia to `__ctype_b' undefinied
> collect2: ld returned 1 exit status
>
> The same problem happens with other important functions.

Comment 1 Jeff Johnson 2003-01-09 14:18:53 UTC
Not a problem in rpm-4.2-0.54, compiling as
    cc -o test test.c -lrpm




Note You need to log in before you can comment on or make changes to this bug.