OpenCSW Bug Tracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004749 [ap2_modperl] packaging minor always 2011-04-08 15:08 2012-07-25 09:22
Reporter LFMM View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0004749: ap2_modperl from "current" requires BDB 4.7 and 4.8, fails to link to 4.7
Description Hello, world.

I cannot use ap2_modperl directly because it fails to link to libdb-4.7 (but it IS installed!!). See ldd output in "additional information".

A symlink to /opt/csw/bdb47/lib/ under /opt/csw/lib solves the issue, but I'm not happy about the linking status afterwards (it uses both BDB 4.7 and 4.8).

For my own education, where does the "misterious" dependency on 4.8 come from? It's not listed in the "dump" output. Also, the RPATH doesn't make much sense to me (refers to BDB 4.4, but NEEDS specifies 4.7). Finally, "current" pkgutil introduces BDB 4.8, can mod_perl be rebuilt against it and get rid of 4.7?

Additional Information # ldd /opt/csw/apache2/libexec/ => /opt/csw/lib/sparcv8/ => /lib/ => /lib/ => (file not found) => /lib/ => /lib/ => /lib/ => /lib/ => /opt/csw/bdb48/lib/ => /lib/ => /lib/ => /lib/ => /lib/ => /lib/ => /lib/ => /lib/ => /lib/ => /lib/ => /lib/

# gfind /opt/csw/ -name

# dump -Lv /opt/csw/apache2/libexec/ |grep PATH
[11] RUNPATH /opt/csw/lib/$ISALIST:/opt/csw/lib:/opt/csw/bdb44/lib:/opt/csw/lib
[12] RPATH /opt/csw/lib/$ISALIST:/opt/csw/lib:/opt/csw/bdb44/lib:/opt/csw/lib

# dump -Lv /opt/csw/apache2/libexec/ |grep NEEDED
Tags No tags attached.
Attached Files

- Relationships

-  Notes
LFMM (reporter)
2011-04-13 10:47

Rebuilding the package from the GAR HEAD but in a cleaner environment solves all problems.
gadavis (reporter)
2012-07-17 19:06

If you install CSWbdb, this problem goes away. I think the current package has the wrong dependency.
dam (administrator)
2012-07-17 22:48

I updated the modules and the 2.0.7 module does not link to bdb directly any more. The module is available at [^]
The previous maintainer is gone, so the bug was left for some time, but it would be great if you could give it a go!

Best regards -- Dago
gadavis (reporter)
2012-07-18 01:52

Thanks Dago, seems to work as advertised. I removed the CSWbdb stub package which provided the symlinks, and installed the experimental version of ap2_modperl. My web server fired up and the perl CGIs all seem to work fine.
dam (administrator)
2012-07-25 09:22

Version 2.0.7,REV=2012.07.17 has been pushed to unstable/.

Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker