Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Perry Smith <pedzsan@...>
Subject: Re: AIX linking adventure
Date: Sun, 13 Feb 2011 09:07:22 -0600
On Feb 10, 2011, at 11:26 AM, Michael Haubenwallner wrote:

>>>>> Although runpath search is affected by LIBPATH, I'm just fine with that.
>>>>> This is the outcome of using "-L" and "-l" linker flags together.
>>>> I thought this was one of your objectives based on the fact that java sets LIBPATH
>>>> to something weird and it breaks everything.
>>> Nope. The problem with LIBPATH set by java was that there is nothing
>>> like "soname". Iff my binary had searched for the /file/ "libiconv.so.2"
>>> (either archive or not) instead of "libiconv.a(libiconv.so.2)", even with
>>> LIBPATH set to "/usr/lib" it would not have found "/usr/lib/libiconv.a"
>>> (without "libiconv.so.2" member), but continued along LIBPATH + runpath
>>> until it found the "libiconv.so.2" file in its usual place.
>> Hmmm... ok.  I had forgotten that detail.
> 
> Yes, a detail - but a really important one for package managers.

It occurred to me that this was true in your particular situation but
if Java (or a user) removes key paths from LIBPATH, the runtime
search will fail.  Having 100% hardcoded paths solves that issue.

So, the system you have developed solves the particular issue
with Java but not the bigger issue of setting LIBPATH to some
whacko thing.

Perry



Replies:
Re: AIX linking adventure
-- Michael Haubenwallner
References:
AIX linking adventure
-- Perry Smith
Re: AIX linking adventure
-- Michael Haubenwallner
Re: AIX linking adventure
-- Perry Smith
Re: AIX linking adventure
-- Michael Haubenwallner
Re: AIX linking adventure
-- Perry Smith
Re: AIX linking adventure
-- Michael Haubenwallner
Re: AIX linking adventure
-- Perry Smith
Re: AIX linking adventure
-- Michael Haubenwallner
Re: AIX linking adventure
-- Perry Smith
Re: AIX linking adventure
-- Michael Haubenwallner
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: AIX linking adventure
Next by thread:
Re: AIX linking adventure
Previous by date:
Re: Breaking news: Need to start over on AIX
Next by date:
Re: Re: please don't use html


Updated Jun 18, 2012

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.