Opened 9 years ago
Closed 9 years ago
#530 closed defect (invalid)
http_xslt_module always looks for libxml2/libxslt in OS locations ignoring the custom location if provided
|Reported by:||Anshul Agrawal||Owned by:|
|Keywords:||xslt libxml libxslt||Cc:|
|uname -a:||Linux precise64 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux|
It seems the first location where the xml libs are searched is hardcoded in auto/lib/libxslt/conf:15 and hence it ignores the compile time flags.
Should the hardcoded path be removed? To note, no other module has such default hardcoded.
Change History (3)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
I tried the patch but then got the same error. Then, I specified explicit include for the libxml2 directory and it worked this time.
Earlier (not working with or without patch):
--with-cc-opt='-fPIC -L/opt/nginx/embedded/lib -I/opt/nginx/embedded/include'
Now (works fine with or without patch):
--with-cc-opt='-fPIC -L/opt/nginx/embedded/lib -I/opt/nginx/embedded/include -I/opt/nginx/embedded/include/libxml2'
Sorry to bother. I think the bug can be marked as invalid and closed.
comment:3 by , 9 years ago
|Status:||new → closed|
-I's specified in --with-cc-opt come before -I's from auto/lib/libxslt/conf, so no patch is necessary.
Can you try this patch?