#1643 closed defect (invalid)
Error in glob.h Resulting in Build Error of Libxml2
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | |
Component: | BOOK | Version: | 6.1 |
Severity: | major | Keywords: | |
Cc: |
Description ¶
I tried to build libxml2 one my lfs-system in a chroot. I kept getiing errors building runtest.c: rk_glob and rk_globfree were undefined. After editing: #define glob rk_glob #define globfree rk_globfree To: #define rk_glob glob #define rk_globfree globfree Things work as they are supposed to. So I had an error in glob.h. Maybe the error is in a package installed with LFS, since very little people seem to experience it. I installed LFS 6.1.
Change History (2)
comment:1 by , 19 years ago
dependson: | 1235 |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Apparently, your glob.h file initially installed by the Glibc package has been overwritten by some other package. This is a known issue if you install the Heimdal Kerberos package, however, the Heimdal instructions now have a workaround for this.
You need to figure out which package you installed overwrote your glob.h file.
The proper fix for you is to unpack the Glibc tarball you used when you built LFS, find the glob.h file in the tree, and hand copy that back to your system. Then libxml2 will build just fine without any hacks.
Closing this bug as invalid as there is nothing that can be done to fix your particular problem. If you can figure out which package it was that overwrote your glob.h file, and it turns out to be a BLFS package, we'll open a new bug for that package..