Re: Is there a C library function to open a file found in a path?



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.
.



Relevant Pages

  • Re: Suffix Line
    ... if you want some other feedback, my buddy Dave Willhide is on their ... website if you are interested in his opinions. ... I throw tiny poppers on 10lb and he throws ... Anyone know who makes Suffix and how I can contact them? ...
    (rec.outdoors.fishing.bass)
  • Reasonable to assemble FullName W/ A UDF
    ... Is it reasonable to use a UDF to create the full name as a string if I ... need it, by passing it the First, Last, Middle, & Suffix fields? ... Query and I want to include the person's name in the Select of the ... Any opinions on this? ...
    (comp.databases.ms-sqlserver)
  • Re: Is there a C library function to open a file found in a path?
    ... 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: ...
    (comp.unix.programmer)
  • Re: Is there a C library function to open a file found in a path?
    ... 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: ...
    (comp.unix.programmer)