Bug#715044: uno-libs3: adequate reports library-not-found and undefined-symbol
Hi,
On Fri, Jul 05, 2013 at 08:44:34PM +0200, Rene Engelhard wrote:
> This is NOT a problem as anything using this needs the full URE to work
> ianyway. And LO (only user!) uses that full URE and anything using it
> and uses a proper RPATH:
>
> (sid)root@frodo:/usr/lib/libreoffice/program# objdump -p *.so | grep RP | sort | uniq
> RPATH $ORIGIN:$ORIGIN/../ure-link/lib
> RPATH $ORIGIN:$ORIGIN/../ure-link/lib:/usr/lib/lp_solve
>
> ORIGIN is where we are (/usr/lib/libreoffice/program) and thus:
>
> (sid)root@frodo:/usr/lib/libreoffice# ls -l ure-link
> lrwxrwxrwx 1 root root 6 Mai 20 19:32 ure-link -> ../ure
>
> Oh, /usr/lib/ure. Surprise.
>
> This is a non-bug except the shortcoming that those private libs are
> in uno-libs3.
What I forgot to mention here:
URE (or LO) does NOT look in /usr/lib. It has the RPATH for a reason.
The stuff "is" just in /usr/lib for Debian policy reasons. In fact:
(sid)root@frodo:~# ls -l /usr/lib/libuno_*
lrwxrwxrwx 1 root root 34 Jun 20 04:04 /usr/lib/libuno_cppuhelpergcc3.so.3 -> ure/lib/libuno_cppuhelpergcc3.so.3
lrwxrwxrwx 1 root root 24 Jun 20 04:04 /usr/lib/libuno_cppu.so.3 -> ure/lib/libuno_cppu.so.3
lrwxrwxrwx 1 root root 37 Jun 20 04:04 /usr/lib/libuno_purpenvhelpergcc3.so.3 -> ure/lib/libuno_purpenvhelpergcc3.so.3
lrwxrwxrwx 1 root root 33 Jun 20 04:04 /usr/lib/libuno_salhelpergcc3.so.3 -> ure/lib/libuno_salhelpergcc3.so.3
lrwxrwxrwx 1 root root 23 Jun 20 04:04 /usr/lib/libuno_sal.so.3 -> ure/lib/libuno_sal.so.3
Regards,
Rene
Reply to: