Re: Is there a C library function to open a file found in a path?
- From: Casper H.S. Dik <Casper.Dik@xxxxxxx>
- Date: 01 Mar 2010 21:53:15 GMT
Barry Margolin <barmar@xxxxxxxxxxxx> writes:
In article <4b8b9387$0$16642$426a74cc@xxxxxxxxxxxx>,
Nicolas George <nicolas$george@xxxxxxxxxxx> wrote:
Barry Margolin wrote in message
<barmar-DA609D.22344928022010@xxxxxxxxxxxxxxxxxxxxxxxxxx>:
LD_LIBRARY_PATH allows for a variety of suffixes because of version
numbers.
Actually, LD_LIBRARY_PATH lookup does not care about the suffix at all, it
just searches for the required file as described in the NEEDED field:
Maybe it depends on the OS. In my Solaris days, shared objects had a
major version number in the suffix.
But it wasn't as such; the "HNAME" tells the runtime linker what name
it should open; only SunOS 4.x interpreted the suffix.
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
.
- References:
- Re: Is there a C library function to open a file found in a path?
- From: Nicolas George
- Re: Is there a C library function to open a file found in a path?
- From: Barry Margolin
- Re: Is there a C library function to open a file found in a path?
- Prev by Date: Re: Is there a C library function to open a file found in a path?
- Next by Date: Re: stdin problem.
- Previous by thread: Re: Is there a C library function to open a file found in a path?
- Next by thread: Re: Is there a C library function to open a file found in a path?
- Index(es):
Relevant Pages
|