Bug 40892 - Link test for checking libexpat intead of shaky reading file test
Summary: Link test for checking libexpat intead of shaky reading file test
Status: RESOLVED DUPLICATE of bug 28205
Alias: None
Product: APR
Classification: Unclassified
Component: APR-util (show other bugs)
Version: HEAD
Hardware: Other other
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache Portable Runtime bugs mailinglist
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-03 22:42 UTC by Henry Jen
Modified: 2020-03-17 09:48 UTC (History)
0 users



Attachments
link test for libexpat from lib or lib64 (1.99 KB, patch)
2006-11-03 22:43 UTC, Henry Jen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Henry Jen 2006-11-03 22:42:28 UTC
Attached patch allows to build apr-util with system provided libexpat on
OpenSolaris.

On the machine, there is a expat.h and libexpat.so.* in /usr/sfw/include and
/usr/sfw/lib. But there is no .a or .la file.

It should not be required to have a .la file, not to mention a .a file. .a is,
afaik, an archive file for static link.

Attached patch use AC_CHECK_LIB to ensure a library can be found, and it uses a
for loop to look into potential folders, currently I put lib and lib64 in there.
Comment 1 Henry Jen 2006-11-03 22:43:52 UTC
Created attachment 19086 [details]
link test for libexpat from lib or lib64

Detect libexpat with link test. Assuming lib should be in lib or lib64. Other
can be added if appropriate
Comment 2 Joe Orton 2006-11-09 02:09:38 UTC

*** This bug has been marked as a duplicate of 28205 ***