bug-ncurses
[Top][All Lists]
Advanced

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

Re: unresolved symbols with ncurses-5.6 on Alpha OSF1 5.1A


From: Thomas Dickey
Subject: Re: unresolved symbols with ncurses-5.6 on Alpha OSF1 5.1A
Date: Thu, 26 Apr 2007 16:40:25 -0400 (EDT)

On Thu, 26 Apr 2007, Tim Mooney wrote:

I'm reading a Tru64 manpage now, and it sounds as if the answer is no.
That makes it search first for shared objects in all directories, and
then for static objects in all directories.  (It's a little puzzling
since that is also described for the default behavior).

Incorrect.   The -oldstyle_liblookup makes the linker use the pre-4.0
behavior, so it *doesn't* search for shared libraries first, and only
then search for static libraries.

The manpage is not very clear, since it states (without defining whether
"shared object" means what other platforms do):

  When linking a shared object, ld searches all library directories for the
  shared object library (libx.so). If it cannot find the shared object
  library, it again searches all library directories for the archive library
  (libx.a).


At 4.0 and later, the default behavior is to prefer shared libraries.
The -oldstyle_liblookup argument reverts that, to behave more like the
linker on most other platforms.

yes, I got that from google (thanks)

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]