[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#578023: openoffice.org on GNU/kFreeBSD



Hi,

On Fri, Apr 16, 2010 at 02:22:35PM +0200, Petr Salinger wrote:
> The problem is in our ld.so,
> resp. the generic implementation in eglibc uses only environment variable 
> LD_ORIGIN_PATH, while linux's one have also
>
> diff -ub elf/dl-origin.c sysdeps/unix/sysv/linux/dl-origin.c:
>
> +/* On Linux >= 2.1 systems which have the dcache implementation we can get
> +   the path of the application from the /proc/self/exe symlink.  Try this
> +   first and fall back on the generic method if necessary.  */
>
> +  len = INTERNAL_SYSCALL (readlink, err, 3, "/proc/self/exe", linkval,
> +                         sizeof (linkval));
>
>
> Our /proc also have the same symlink, so we could just use
> similar implementation. I will take care about this part.

OK: Can you (if you've done) that maybe contribute a configure check and/or
just tell me which eglibc version in Debian fixes it?

OOo heavily uses RPATHS using $ORIGIN, so...

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: D03E3E70
   `-   Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70



Reply to: