[Bug 622429] New: package libapr1-devel houses link to libapr1.so instead of package libapr1
http://bugzilla.novell.com/show_bug.cgi?id=622429 http://bugzilla.novell.com/show_bug.cgi?id=622429#c0 Summary: package libapr1-devel houses link to libapr1.so instead of package libapr1 Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Apache AssignedTo: bnc-team-apache@forge.provo.novell.com ReportedBy: alext@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- The softlink /usr/lib64/libapr-1.so -> /usr/lib64/libapr-1.so.0.3.8 is incorrectly placed into the libapr1-devel package instead of the libapr1 package, forcing installation of the devel package to get the correct link for runtime. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=622429 http://bugzilla.novell.com/show_bug.cgi?id=622429#c1 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |meissner@novell.com InfoProvider| |alext@novell.com --- Comment #1 from Marcus Meissner <meissner@novell.com> 2010-07-15 08:30:19 UTC --- The .so link should be used only for building the package, where the -devel package should be installed. Is there any case where the .so is opened during runtime? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=622429 http://bugzilla.novell.com/show_bug.cgi?id=622429#c2 Alex Tsariounov <alext@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|alext@novell.com | --- Comment #2 from Alex Tsariounov <alext@novell.com> 2010-07-15 15:10:11 UTC --- Tomcat6 (opensuse packages) uses the so link for runtime. If the so link is not installed, then APR is not loaded. This also applies for package libtcnative-1-0 as in bug#622430. Perhaps tomcat6 does not follow the soname convention then... although, there are other libraries that put the unversioned so link in the regular package instead of devel. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=622429 http://bugzilla.novell.com/show_bug.cgi?id=622429#c3 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvyskocil@novell.com AssignedTo|bnc-team-apache@forge.provo |bnc-team-java@forge.provo.n |.novell.com |ovell.com --- Comment #3 from Marcus Meissner <meissner@novell.com> 2010-07-20 06:58:00 UTC --- tomcat6 should probably requires libapr-devel instead of moving. (or the bug that it looks for .so links should be fixed, and the so.majorversion should be used) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=622429 http://bugzilla.novell.com/show_bug.cgi?id=622429#c4 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |draht@novell.com --- Comment #4 from Michal Vyskocil <mvyskocil@novell.com> 2010-08-05 15:10:35 UTC --- (In reply to comment #3)
tomcat6 should probably requires libapr-devel instead of moving.
Tomcat does not Require libapr1. It should recommend it ...
(or the bug that it looks for .so links should be fixed, and the .so.majorversion should be used)
No, that cannot be done. Java call System.loadLibrary($NAME) is translated into $LIBDIR/lib$NAME.so. And because libapr is loaded by tomcat in runtime by System.loadLibrary($NAME), which is the equivalent of dlopen it is more a plugin than shared library from tomcat's POW. We have few solutions: 1.) Add the libapr-1.so to libapr1 package - not useful for nontomcat/no java users 2.) Let tomcat6 Require/Recommend/Suggets libapr-devel - not useful for tomcat users without apache 3.) Add Supplements: packageand(apache:tomcat6) into libapr-devel
From my POW the best opinion here number 3, because libapr-devel will be installed on system with tomcat6 and apache, which seems like most reasonable situation.
* For the forward compatibility (tomcat7 is in beta phase) I'll change our tomcat packages to provide generic tomcat symbol, so this will work in a future too. Roman: you're the bugowner of Apache project - what's your opinion? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com